On Fri, 2013-07-05 at 15:17 +0200, Mario Torre wrote: > 2013/7/2 Adam Domurad <[email protected]>: > > Hi all, please see the attached Test8007918Regression.java. > > > > There seems to be a regression caused by this patch: > > http://hg.openjdk.java.net/jdk7u/jdk7u-dev/jdk/rev/90c9f1577a0b > > > > As the small testcase demonstrates, creating a JPEGImageWriter and calling > > setOutput causes it to live permanently. This is due to JNI global > > (non-weak) reference in sun/awt/image/jpeg/imageioJPEG.c. > > > > Is it acceptable to simply make this reference weak ? This should bring > > object lifetimes back to how they were before this patch. Attached is a > > patch that, from my tests, fixes the issue. > > > > Thanks & happy hacking, > > -Adam > > Hi all, > > Any news on that one?
Hi all, Can somebody please comment on this bug? Thanks, Mario
