Re: [OpenJDK 2D-Dev] [10] RFR: JDK-8188083- NPE in java.awt.image.FilteredImageSource.startProduction

2017-10-26 Thread Sergey Bylokhov
One more note: I guess it is possible to create a stable test like below which can reproduce the bug: import java.awt.image.ColorModel; import java.awt.image.FilteredImageSource; import java.awt.image.ImageConsumer; import java.awt.image.ImageFilter; import java.awt.image.ImageProducer; import

Re: [OpenJDK 2D-Dev] RFC: Fix for JDK-8188030

2017-10-26 Thread Sergey Bylokhov
Looks fine. On 26/10/2017 07:28, Mario Torre wrote: 2017-09-27 15:52 GMT+02:00 Mario Torre : Hi all, I would like to propose a fix for https://bugs.openjdk.java.net/browse/JDK-8188030. The issue is basically that CFF fonts are considered better match than Type 1, but are

Re: [OpenJDK 2D-Dev] [10] RFR: JDK-8188083- NPE in java.awt.image.FilteredImageSource.startProduction

2017-10-26 Thread Philip Race
The screenshot shows you directly calling this method in your test which the documentation says you are not supposed to do. So I am not able to be 100% sure that the test you have re-creates what the submitter saw .. in his stack trace you have below it seems to be valid. But to have a NPE at

Re: [OpenJDK 2D-Dev] RFC: Fix for JDK-8188030

2017-10-26 Thread Mario Torre
2017-09-27 15:52 GMT+02:00 Mario Torre : > Hi all, > > I would like to propose a fix for > https://bugs.openjdk.java.net/browse/JDK-8188030. > > The issue is basically that CFF fonts are considered better match than > Type 1, but are discarded, leaving the font array with no

Re: [OpenJDK 2D-Dev] [10] RFR: JDK-8188083- NPE in java.awt.image.FilteredImageSource.startProduction

2017-10-26 Thread Prahalad Kumar Narayanan
Hello Sergey Thank you for the suggestion. I 've updated JBS with below information. 1 . Stack trace information as provided by submitter- java.lang.NullPointerException at java.awt.image.FilteredImageSource.startProduction(FilteredImageSource.java:181) at

Re: [OpenJDK 2D-Dev] [10] RFR: JDK-8188083- NPE in java.awt.image.FilteredImageSource.startProduction

2017-10-26 Thread Sergey Bylokhov
Hi, Prahalad. Can you please add a stack trace which include a line numbers to the bug report? Currently it is unclear in what line an exception is occurred. On 25/10/2017 21:07, Prahalad Kumar Narayanan wrote: Hello Everyone Good day to you. Kindly review a fix for the bug Bug ID:

Re: [OpenJDK 2D-Dev] [10] RFR: JDK-8188083- NPE in java.awt.image.FilteredImageSource.startProduction

2017-10-26 Thread Jayathirth D V
Hi Prahalad, Changes are fine. Thanks, Jay -Original Message- From: Prahalad Kumar Narayanan Sent: Thursday, October 26, 2017 9:37 AM To: 2d-dev Subject: [OpenJDK 2D-Dev] [10] RFR: JDK-8188083- NPE in java.awt.image.FilteredImageSource.startProduction Hello Everyone Good day to you.