[OpenJDK 2D-Dev] [9] Review Request: 4958064 JPGWriter does not throw UnsupportedException when canWriteSequence retuns false

2015-02-09 Thread Sergey Bylokhov
Hello. Please review a small fix for jdk 9. The API Doc for ImageWriter.PrepareWriteSequence() claims that this method will throw UnsupportedOperationException when canWriteSequence() returns false. But this does not seem to be happening for JPEG ImageWriter. JPG writer has failed to override th

Re: [OpenJDK 2D-Dev] Review Request for bug (JDK-8039345) Strange behaviour of per-pixel translucency on linux

2015-02-09 Thread Phil Race
I tried this on Ubuntu (13.04) with the test case in the bug (BTW there should be a regression test along with this fix) and I get a nasty exception (as below) and the checkbox and button don't get painted. Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at sun.java2d.