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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • 1.2.0
    • Affects Version/s: 1.2.0
    • Component/s: core-libs
    • 1.2beta3
    • sparc
    • solaris_2.5
    • Verified

      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".

            Assignee:
            Peter Jones (Inactive)
            Reporter:
            Peter Jones (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: