> On Mar 21, 2016, at 22:07, Alexandr Scherbatiy > <alexandr.scherba...@oracle.com> wrote: > > On 3/18/2016 6:09 AM, Hendrik Schreiber wrote: >> On Mar 16, 2016, at 06:25, Alexandr Scherbatiy < >> <mailto:alexandr.scherba...@oracle.com>alexandr.scherba...@oracle.com >> <mailto:alexandr.scherba...@oracle.com>> wrote: >>> >>> >>> The JDK fixes should be pushed to the JDK 9 first and then be back-ported >>> to JDK 8. >>> >>> Could you prepare the fix for JDK 9? >> >> Hi Alexandr, >> >> I've created a patch for JDK9. You can find it at >> <http://cr.openjdk.java.net/%7Ehschreiber/8151385/webrev.00/>http://cr.openjdk.java.net/~hschreiber/8151385/webrev.00/ >> <http://cr.openjdk.java.net/~hschreiber/8151385/webrev.00/> (I hope, I >> created the webrev the right way). It contains a suitable test. >> >> This patch also contains the changes I suggested in >> <https://bugs.openjdk.java.net/browse/JDK-8149453>https://bugs.openjdk.java.net/browse/JDK-8149453 >> <https://bugs.openjdk.java.net/browse/JDK-8149453> (because the fixes >> overlap to a degree). I made sure they compile, but didn’t do any further >> testing (lack of time). Perhaps, since you are already working on this, you >> can try it out and, if you deem it appropriate, add a test for the >> upFolder/newFolder etc. buttons. > For some reasons the native getIconBits() method returns size 16 for both > small and large icons which leads to the AOBE in the BufferedImage.setRGB() > methods. > I will try to investigate it deeper.
Thanks. -hendrik