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

Windows JIT causes NullPointerException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P3 P3
    • None
    • 1.1.7
    • vm-legacy



      Name: dm26566 Date: 10/21/98

      [dalem: Note and apology: I did not have time to reproduce this bug. It seemed
      complete and genuine, so I have opted to submit it and let the development
      team evaluate it.]
      A simple sequence of actions in the
      Zelix Klassmaster (ZKM) application has no problem when
      the -nojit option is used with the Windows JDK1.1.7
      but has a NullPointerException when the JIT is
      used. There is no problem when the JDK1.2beta4 or
      JDK1.1.6 JITs are used. The JIT in question is
      3.00.072b.

      The application can be downloaded from
      http://www.zelix.com/klassmaster/download/ZKMEval.zip
      (note: this is an attachment to this bug)

      The sequence of steps is:
      1) In the "Select Package Directories" dialog,
         select the directory into which ZKM has been
         expanded by pressing the ">" button. The directory
         should be the highlighted directory and
         contains the file ZKM.class. Press OK.
         Close the "Class Warnings Window" that then
         appears.
      2) On the main Work Bench select the
         "Tools Obfuscate" menu option.
      3) Select the "Don't change main class name" check
         box on the "Exclude Options" window. The class
         ZKM should be in the list box to the right.
         Press the Next button.
      4) Press OK on the "Obfuscate Options" window.
      5) If you where running JDK 1.1.7 with the -nojit
         flag then there will have been no problem. If
         the JIT was being used you will have a
         NullPointerException in compiled code.
      (Review ID: 40924)
      ======================================================================

            dviswanasunw Deepa Viswanathan (Inactive)
            dmcduffisunw Dale Mcduffie (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: