Skip to content

Commit e3eb957

Browse files
committed
Use fully qualified Java class names
1 parent caf9f31 commit e3eb957

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cobc/codegen.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7132,6 +7132,9 @@ output_java_call (struct cb_call *p)
71327132
*last_dot = '\0';
71337133
method_name = last_dot + 1;
71347134
class_name = class_and_method_name;
7135+
for (c = class_name; *c; c++) {
7136+
if (*c == '.') *c = '/';
7137+
}
71357138

71367139
output_line ("if (call_java_%s == NULL)", mangled);
71377140
output_block_open ();

0 commit comments

Comments
 (0)