javac throws NullPointerException when using javac with Symantec JIT compiler

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 1.2.0
    • Component/s: vm-legacy



      Name: rm29839 Date: 04/07/98


      javac in JDK1.2 Beta3 throws NullPointerException
      when compiling TextureTest example in Java3d 1.1
      early access implementation.

      Steps to reproduce the problem:

      - include jdk1.2beta3\bin in the path
      - download java3d 1.1 early access implemntation
      - unpack j3dexamples.jar
      - cd <java3d-dir>\examples\TextureTest
      - javac *.java

      Here's the trace information:
      -----------------------------
      C:\Java3D\examples\TextureTest>javac *.java
      Symantec Java! JustInTime Compiler Version 3.00.023(x) for JDK 1.2
      Copyright (C) 1996-98 Symantec Corporation

      java.lang.NullPointerException
              at sun.tools.tree.Vset.removeAdditionalVars(Compiled Code)
              at sun.tools.tree.CompoundStatement.check(Compiled Code)
              at sun.tools.tree.IfStatement.check(Compiled Code)
              at sun.tools.tree.Statement.checkBlockStatement(Compiled Code)
              at sun.tools.tree.CompoundStatement.check(Compiled Code)
              at sun.tools.tree.Statement.checkMethod(Compiled Code)
              at sun.tools.javac.SourceMember.check(Compiled Code)
              at sun.tools.javac.SourceClass.checkMembers(Compiled Code)
              at sun.tools.javac.SourceClass.checkInternal(Compiled Code)
              at sun.tools.javac.SourceClass.check(Compiled Code)
              at sun.tools.javac.Main.compile(Compiled Code)
              at sun.tools.javac.Main.main(Main.java:571)
      error: An exception has occurred in the compiler; please file a bug report (http
      ://java.sun.com/cgi-bin/bugreport.cgi).
      1 error
      ---------------------------------

      I am using javac with Symantec JIT compiler
      turned on. However this error doesn't happen
      when jit compiler turned off or when compiled
      with JDK1.1.5.

      ---
      Venkat Tipparam
      (Review ID: 27186)
      ======================================================================

            Assignee:
            Deepa Viswanathan (Inactive)
            Reporter:
            Ronan Mandel (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: