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

JCK-102a: java_spec/ARR test (arr031) -- NullPointerException thrown

XMLWordPrintable

    • sparc
    • solaris_2.5

      The following test (JCK) was compiled and run using JDK1.1i --

         file:/home/hagen/JCK-102a/tests/java_spec/src/ARR/arr031/arr031.html


      #Test Results
      #Fri Oct 04 10:16:07 PDT 1996
      status=Failed. Output file and reference file were different
      work=file:/home/hagen/RESULTS/sol/b2/java_spec/src/ARR/arr031/
      execStatus=Completed--check results. Compilation failed as expected; check output [exit code 1]
      description=file:/home/hagen/JCK-102a/tests/java_spec/src/ARR/arr031/arr031.html
      sections=compile.java
      harnessVersion=JT1.0_beta1
      end=Fri Oct 04 10:16:07 PDT 1996
      start=Fri Oct 04 10:16:03 PDT 1996
      environment=jdk1.1

      test: file:/home/hagen/JCK-102a/tests/java_spec/src/ARR/arr031/arr031.html
      running script javasoft.sqe.harness.CompTestScript -expectFail -checkErrors
      exec: /usr/local/java/jdk1.1/solaris/bin/javac -d /home/hagen/RESULTS/sol/b2/classes JCK-102a/tests/java_spec/src/ARR/arr031/arr031.java CLASSPATH=/home/hagen/JCK-102a/classes:/home/hagen/RESULTS/sol/b2/classes:
      command exited, exit=1
      command result: status not set
      ----------ref:compile.java(0/0)----------
      ----------log:compile.java(13/699)----------
      err = 1!
      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 (###@###.###).
      1 error
      test result: Completed--check results. Compilation failed as expected; check output [exit code 1]


      NOTE: This bug was also noted by Leonid and corresponds to their test --

          ...tests/lang/ARR/arr023/arr02302/arr02302.html

            jrose John Rose
            lminersunw Linda Miner (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: