Skip to content

Commit

Permalink
Use fully qualified Java class names
Browse files Browse the repository at this point in the history
  • Loading branch information
nberth committed Nov 12, 2024
1 parent caf9f31 commit e3eb957
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cobc/codegen.c
Original file line number Diff line number Diff line change
Expand Up @@ -7132,6 +7132,9 @@ output_java_call (struct cb_call *p)
*last_dot = '\0';
method_name = last_dot + 1;
class_name = class_and_method_name;
for (c = class_name; *c; c++) {
if (*c == '.') *c = '/';
}

output_line ("if (call_java_%s == NULL)", mangled);
output_block_open ();
Expand Down

0 comments on commit e3eb957

Please sign in to comment.