regression: 1234786 - Invalid LHS of argument throws NullPointer

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • 1.1
    • Affects Version/s: 1.1
    • Component/s: tools
    • 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.

            Assignee:
            John Rose
            Reporter:
            Benjamin Hagen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: