Community
Participate
Working Groups
I'm using the latest code from CVS. The testcase below has two cases that ought to be generated the same way. However, in the second case the code for the temporary string variable is inserted in the middle of c2's declaration, causing a Java syntax error. package x; program StaticET function main() try c1 Class?; c1 = Class.forName("my.test"); /* Class c1 = null; java.lang.String eze$Temp1 = Constants.EMPTY_STRING; eze$Temp1 = "my.test"; c1 = Class.forName(eze$Temp1); */ c2 Class? = Class.forName("my.test"); /* Class java.lang.String eze$Temp2 = Constants.EMPTY_STRING; eze$Temp2 = "my.test"; c2 = Class.forName(eze$Temp2); */ end end end externalType Class type JavaObject{packageName = "java.lang"} static function forName(name string in) returns(Class); end
*** Bug 357676 has been marked as a duplicate of this bug. ***
fixed
Verified.