[BLUEJ-367] Unusual (but valid) class name causes __SHELL compilation problem
If you create a class called java, with a static method taking a String parameter, invocation of the method will fail with {{Error: cannot find symbol \- class lang}}
This is because the {{java.lang.String +bluej_param}} declaration in the generated {{+SHELL}} class is being parsed by javac as accessing the non-existent class member java.lang, not as a reference to the package java.lang
Here's a class for example: {noformat} public class java { public static void method(String arg) { System.out.println(arg); } } {noformat}
Issue metadata
- Issue type: Bug
- Priority: Low
- Fix versions: 3.1.6