JVM shutdown hook not working in custom JVM within Editor 5.3
I'm off the standard JVM when running Editor 5.3. We use either:
# Java VM Version 11.2-b01 -- Sun Microsystems Inc. set javavmpath= 'C:\Program Files\Java\jdk1.6.0_12\jre\bin\client\jvm.dll';
# Java VM Version 14.1-b02 -- Sun Microsystems Inc. set javavmpath= 'C:\Program Files\Java\jre6\bin\client\jvm.dll';
My results are the same for either version of the JVM.
If anyone is interested in this esoteric problem, then I invite them to test on their platform (with the stock JVM shipped with their version) and report their results.
I've been trying to take advantage of the Java method "File.createTempFile(...)" where the temporary file thus created can be flagged for automatic destruction upon the termination of the JVM by calling the "deleteOnExit()" method.
Unfortunately, it appears this may not work in Windows due to two bugs. A work-around has been proposed at: