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

The jit causes initialization problem for static variables with JDK1.1.6

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • None
    • 1.1.6
    • vm-legacy

      The following error is generated while running the JavaTest2.0 against JDK1.1.6J with the jit compiler on:

      Exception occurred during event dispatching:
      java.lang.NullPointerException
              at javasoft.sqe.javatest.tool.FileDialog.addFileType(FileDialog.java:113
      )
              at javasoft.sqe.javatest.tool.ToolPanel.getFileFromDialog(ToolPanel.java
      :309)
              at javasoft.sqe.javatest.tool.ParamPanel.openFile(ParamPanel.java:178)
              at javasoft.sqe.javatest.tool.ParamPanel.actionPerformed(ParamPanel.java
      :142)
              at javasoft.sqe.javatest.tool.FilePanel$2.actionPerformed(FilePanel.java
      :92)
              at javasoft.sqe.javatest.gui.lite.Button.processActionEvent(Compiled Cod
      e)
              at javasoft.sqe.javatest.gui.lite.Button.processMouseEvent(Compiled Code
      )
              at java.awt.Component.processEvent(Compiled Code)
              at javasoft.sqe.javatest.gui.lite.Button.processEvent(Compiled Code)
              at java.awt.Component.dispatchEventImpl(Compiled Code)
              at java.awt.Container.dispatchEventImpl(Compiled Code)
              at javasoft.sqe.javatest.tool.FilePanel$1.retargetMouseEvent(Compiled Co
      de)
              at javasoft.sqe.javatest.tool.FilePanel$1.mouseReleased(FilePanel.java:6
      0)
              at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:2
      36)
              at java.awt.Component.processMouseEvent(Compiled Code)
              at java.awt.Component.processEvent(Compiled Code)
              at java.awt.Component.dispatchEventImpl(Compiled Code)
              at java.awt.LightweightDispatcher.retargetMouseEvent(Compiled Code)
              at java.awt.LightweightDispatcher.processMouseEvent(Compiled Code)
              at java.awt.LightweightDispatcher.dispatchEvent(Compiled Code)
              at java.awt.Container.dispatchEventImpl(Compiled Code)
              at java.awt.EventDispatchThread.run(Compiled Code)

      to reproduce this error, please follow the procedure below:

      1) Start Javatest2.0:
      jdk1.1.6\bin\java -Djava.compiler=symcjit -ms10m javasoft.sqe.javatest.tool.Main

      2) After the JavaTest2.0 has been started, click at the icon at the upper left corner (the icon that stands by itself), which says "Open a parameter file".

      3) The error above will be generated.

      4) Click at the icon again, this time you will be able to select the parameter
         file.

      Note that this error is only generated when the jit compiler is turned on.

            dviswanasunw Deepa Viswanathan (Inactive)
            fdoansunw Francis Doan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: