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

1.4.0_03-b03 javac throws null pointer exception, 1.4.0_00-b05 does not

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.4.0_03
    • Fix Version/s: None
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • CPU:
      generic
    • OS:
      solaris_9

      Description

      This was found during an attempt to switch the admin/install CBE to use
      the 1.4.0_03-b03 JDK. Prior to this the version of java shipped in
      S9FCS was being used, which was 1.4.0_00-b05.

      The source below can be found at:
        /ws/admininstall-S9-patch/src/common/lib/xml/com/sun/xml/tree

      Output from make

       $ make -e -dd install

      This produced the following exception error:

      An exception has occurred in the compiler (1.4.0_03). Please file a bug at the
      Java Developer Connection (http://java.sun.com/cgi-bin/bugreport.cgi) after
      checking the Bug Parade for duplicates. Include your program and the following
      diagnostic in your report. Thank you.
      java.lang.NullPointerException
              at com.sun.tools.javac.v8.comp.Attr._case(Attr.java:439)
              at com.sun.tools.javac.v8.tree.Tree$VarDef.visit(Tree.java:503)
              at com.sun.tools.javac.v8.comp.Attr.attribTree(Attr.java:259)
              at com.sun.tools.javac.v8.comp.Attr.attribStat(Attr.java:296)
              at com.sun.tools.javac.v8.comp.Attr.attribStats(Attr.java:314)
              at com.sun.tools.javac.v8.comp.Attr._case(Attr.java:462)
              at com.sun.tools.javac.v8.tree.Tree$Block.visit(Tree.java:539)
              at com.sun.tools.javac.v8.comp.Attr.attribTree(Attr.java:259)
              at com.sun.tools.javac.v8.comp.Attr.attribStat(Attr.java:296)
              at com.sun.tools.javac.v8.comp.Attr.attribClass(Attr.java:1489)
              at com.sun.tools.javac.v8.comp.Attr.attribClass(Attr.java:1456)
              at com.sun.tools.javac.v8.JavaCompiler.compile(JavaCompiler.java:396)
              at com.sun.tools.javac.v8.Main.compile(Main.java:526)
              at com.sun.tools.javac.Main.compile(Main.java:32)
              at com.sun.tools.javac.Main.main(Main.java:23)



        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gafter Neal Gafter
                Reporter:
                duke J. Duke (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: