On 02/05/2013 07:30 PM, sebb wrote:
a pure Java application should not be able to cause a JVM crash
Depends entirely on what you mean by “pure Java application”. When you have filesystem and Process access, you can do whatever the user shell account can do, which certainly includes triggering native errors.
At any rate I personally agree that using java.util.zip in this way should not cause JVM crashes—but it does, and the JDK team has explicitly decided that this is “not a bug” and closed discussion. The workaround, or depending on your perspective the fix, is to ensure that you do not clobber an open ZIP file (which would also prevent a lock error on Windows).