Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: X10 SVN HEAD
-
Fix Version/s: X10 2.3.2
-
Component/s: X10 Compiler: Front-end, X10 Compiler: Front-end Desugaring
-
Labels:None
-
Testcase included:yes
-
Number of attachments :
Description
public class InnerClassBug { public static def main (args : Array[String]) { val nonNull = "definitely not null"; val face = new Object() { val definitelyNonNull = nonNull.toString(); public def toString () = definitelyNonNull; }; Console.OUT.println(face); } }
On managed backend, yields a NPE at nonNull.toString(), on native backend, prints "null"
bulk defer of 2.3.0 open issues to 2.3.1.