Re: [OpenJDK 2D-Dev] [9]: RFR JDK-8023213 [macosx] closed/java/awt/FontClass/NaNTransform.java fails on MacOS X 10.9

2016-01-12 Thread Philip Race
I don't think it is impossible to fix in Java and it might even be preferable except that we perhaps need the low-level check anyway to be safe (definitely the case for the crash) and I was not sure we figured out the best place to put in Java code to minimise performance issues on normal cases

Re: [OpenJDK 2D-Dev] RFR: 8145776: [TEST] add a test checking multipage tiff creation

2016-01-12 Thread Alexander Stepanov
the unused import was removed (please see http://cr.openjdk.java.net/~avstepan/8145776/webrev.02/test/javax/imageio/plugins/tiff/MultiPageTest/MultiPageTest.java.html) > canWriteRasters should be checked also. it returns false in the test. canInsertImage(index) should be checked before writeIns

Re: [OpenJDK 2D-Dev] RFR: 8145776: [TEST] add a test checking multipage tiff creation

2016-01-12 Thread Alexander Stepanov
In such a case (canWriteSequence() && canWriteRasters()), I guess, we return to the sole TIFF :) On 1/12/2016 6:14 PM, Sergey Bylokhov wrote: On 12/01/16 18:08, Alexander Stepanov wrote: > applicable to all image types which canWriteSequence=true? I'm not sure. E.g., for "gif" canWriteSequenc

Re: [OpenJDK 2D-Dev] RFR: 8145776: [TEST] add a test checking multipage tiff creation

2016-01-12 Thread Alexander Stepanov
> applicable to all image types which canWriteSequence=true? I'm not sure. E.g., for "gif" canWriteSequence() returns "true", but UnsupportedOperationException is thrown when calling writeInsert() (I have to double-check). (moreover, not sure if the gif created in such a way could be called "

Re: [OpenJDK 2D-Dev] RFR: 8145776: [TEST] add a test checking multipage tiff creation

2016-01-12 Thread Sergey Bylokhov
On 12/01/16 18:08, Alexander Stepanov wrote: > applicable to all image types which canWriteSequence=true? I'm not sure. E.g., for "gif" canWriteSequence() returns "true", but UnsupportedOperationException is thrown when calling writeInsert() (I have to double-check). canWriteRasters should be

Re: [OpenJDK 2D-Dev] RFR: 8146881: [TEST] update some imageio plugins tests to affect TIFF format

2016-01-12 Thread Sergey Bylokhov
Hi, Alexander. BitDepth.java the @summary should be updated. Why this test do not cover the gif/bmp as well? It is unclear why biRGBATypes are unused in the test. On 12/01/16 17:40, Alexander Stepanov wrote: Please ignore mistaken changes in ImageWriterCompressionTest (re-uploading the webrev.

Re: [OpenJDK 2D-Dev] RFR: 8146881: [TEST] update some imageio plugins tests to affect TIFF format

2016-01-12 Thread Alexander Stepanov
Please ignore mistaken changes in ImageWriterCompressionTest (re-uploading the webrev...) Thanks, Alexander On 1/12/2016 5:28 PM, Alexander Stepanov wrote: Hello, Some imageio plugins reg. tests should probably be updated to reflect the fact that TIFF format is supported now. Could you ple

Re: [OpenJDK 2D-Dev] RFR: 8145776: [TEST] add a test checking multipage tiff creation

2016-01-12 Thread Sergey Bylokhov
Since "import javax.imageio.plugins.tiff.*" is unnecessary in the test, i guess it is applicable to all image types which canWriteSequence=true? On 11/01/16 14:49, Alexander Stepanov wrote: Hello Semyon, Thank you, that eliminates the question with the internal package. Probably Brian meant th

[OpenJDK 2D-Dev] RFR: 8146881: [TEST] update some imageio plugins tests to affect TIFF format

2016-01-12 Thread Alexander Stepanov
Hello, Some imageio plugins reg. tests should probably be updated to reflect the fact that TIFF format is supported now. Could you please let me know if the following changes are appropriate? http://cr.openjdk.java.net/~avstepan/8146881/webrev.00/index.html (bug: https://bugs.openjdk.java.net/