Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4008246

regression: 1234786 - Invalid LHS of argument throws NullPointer

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 1.1
    • Fix Version/s: 1.1
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      1.1
    • CPU:
      sparc
    • OS:
      solaris_2.5
    • Verification:
      Not verified

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: