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

executing "rmid" command on win32 fails immediately with "Illegal Instruction"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2
    • 1.2.0
    • 1.2.0
    • core-libs
    • 1.2beta3
    • sparc
    • solaris_2.5
    • Verified

    Description

      Since the JDK1.2Beta3-A promoted build, executing the "rmid" command on win32
      immediately crashes with an "Illegal Instruction" failure.

      The cause is simply that the C code in the source file src/win32/bin/rmid.c that
      starts up the Java VM for the "rmid" command was not updated along with the C
      code for starting up the rest of the Java tools on win32 to use the new
      "java_launcher" function instead of directly using the "java_main" function as
      previously done. This intermediate launcher code appears to handle loading the
      appropriate VM from a set of options, such as "-classic" and "-hotspot".

      For some reason, the startup C code for all of the relevant tools, like javac
      and rmic, were updated with this change except for rmid. It should be similarly
      updated; see the "Suggested Fix".

      Attachments

        Activity

          People

            peterjones Peter Jones
            peterjones Peter Jones
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: