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