On 6 February 2013 01:49, Jesse Glick <typr...@gmail.com> wrote: > 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. Astonishing decision. I hope people complain until they relent. Seems very unwise to allow that behaviour - it undermines trust in the JVM. > 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). I trust there aren't more such shortcuts in the JVM.