Fix for cr6887286 done in JDK8 makes a user visible change to the behaivor of the Java SE API and is therefor not ideal for a backport to JDK 7 and earlier.
This CR is to do an additional fix that will go into 6,7 AND 8. (The fix will make the code for WatchedImage more robust against possible memory leaks so it will be desierable to include in JDK8 even though JDK8 already includes the fix for cr6887286.) In other words, the problem "description" for this bug is exactly the same as that of cr6887286, but we will do a more backport-friendly fix that will compliemnt the fix already in JDK8 for cr6887286 and solve the issue by itself in earlier releases of JDK.
For a test case, please see the Java test case attached to cr6887286.
Note, if the fix for cr6887286 is already integrated, the testcase for cr6887286 will not help us reproduce this issue. I am looking into if it is possible to write a new different test case for this bug.