-
Bug
-
Resolution: Fixed
-
P2
-
1.1
-
1.1
-
sparc
-
solaris_2.5
-
Not verified
The JCK test file:/home/hagen/JCK-102a/tests/java_spec/src/ARR/arr031/arr031.html
fails with
java.lang.NullPointerException
at sun.tools.tree.AssignExpression.code(AssignExpression.java:64)
at sun.tools.tree.ExpressionStatement.code(ExpressionStatement.java:77)
at sun.tools.tree.CompoundStatement.code(CompoundStatement.java:137)
at sun.tools.javac.SourceField.code(SourceField.java:510)
at sun.tools.javac.SourceField.code(SourceField.java:472)
at sun.tools.javac.SourceClass.compileClass(SourceClass.java:913)
at sun.tools.javac.SourceClass.compile(SourceClass.java:865)
at sun.tools.javac.Main.compile(Main.java:267)
at sun.tools.javac.Main.main(Main.java:375)
error: An exception has occurred in the compiler; please file a bug report (###@###.###).
In fact this is regression of #1234786. The test from #1234786 fails like this as well.
fails with
java.lang.NullPointerException
at sun.tools.tree.AssignExpression.code(AssignExpression.java:64)
at sun.tools.tree.ExpressionStatement.code(ExpressionStatement.java:77)
at sun.tools.tree.CompoundStatement.code(CompoundStatement.java:137)
at sun.tools.javac.SourceField.code(SourceField.java:510)
at sun.tools.javac.SourceField.code(SourceField.java:472)
at sun.tools.javac.SourceClass.compileClass(SourceClass.java:913)
at sun.tools.javac.SourceClass.compile(SourceClass.java:865)
at sun.tools.javac.Main.compile(Main.java:267)
at sun.tools.javac.Main.main(Main.java:375)
error: An exception has occurred in the compiler; please file a bug report (###@###.###).
In fact this is regression of #1234786. The test from #1234786 fails like this as well.
- duplicates
-
JDK-4009245 JCK-102a: java_spec/ARR test (arr031) -- NullPointerException thrown
- Closed
-
JDK-4009295 JCK-102a: java_spec/NAME test (name057) -- NullPointerException thrown
- Closed
- relates to
-
JDK-1234786 fp.bugs 3193: Compiler crashes in inlineLHS on assignment to Array.length
- Closed