[OpenJDK 2D-Dev] RFR: 8054991 : sun.font.GlyphList uses broken double-checked locking

2016-05-25 Thread Phil Race
bug : https://bugs.openjdk.java.net/browse/JDK-8054991 There is a comment in there about a proposed patch but I can't find it. However I think this will be sufficient :- diff --git a/src/java.desktop/share/classes/sun/font/GlyphList.java b/src/java.desktop/share/classes/sun/font/GlyphList.java

Re: [OpenJDK 2D-Dev] JDK-8153732 would it be possible to extend the PrintServiceLookup with a refresh method?

2016-05-25 Thread Patrick Reinhart
Hi Phil, > Am 25.05.2016 um 22:28 schrieb Phil Race : > > Possible, but should we ? I think yes, but it should be clearly documented, that a call to this method can be expensive. > That is the method that does the refresh once we've received the notification. > We

Re: [OpenJDK 2D-Dev] RFR: 8154860 ImageIO.getImageReadersByFormatName() fails when jai_imageio is in the classpath

2016-05-25 Thread Brian Burkhalter
I think this is satisfactory. +1 Brian On May 20, 2016, at 2:03 PM, Phil Race wrote: > The jai_imageio code parses the version string before > it does anything with the result. And the only thing > it intends to do is tweak the registruy ordering or > remove itself if

Re: [OpenJDK 2D-Dev] JDK-8153732 would it be possible to extend the PrintServiceLookup with a refresh method?

2016-05-25 Thread Phil Race
Possible, but should we ? That is the method that does the refresh once we've received the notification. We wanted to avoid applications having to continually call this method every time the applications asks for the list because it may be a lengthy operation. If it were not we probably would

[OpenJDK 2D-Dev] JDK-8153732 would it be possible to extend the PrintServiceLookup with a refresh method?

2016-05-25 Thread Patrick Reinhart
Hi everyone, I know you that this issue does not have the highest priority. Even though I would like to work on a possible solution without having to relay exclusively on a OS specific solution. I have looked into the different actual implementations of the PrintServiceLookup and found out that

Re: [OpenJDK 2D-Dev] [9] RFR JDK-6842011: StackOverflowError printing landscape with scale and transform

2016-05-25 Thread Philip Race
I am OK with committing the clarifying javadoc as part of this fix and filing a new RFE for the new method - to be fixed at some later date. However before this fix can be committed you need to make sure we have consistent behaviour across platforms and we do not have that yet -phil. On

Re: [OpenJDK 2D-Dev] [9] RFR JDK-6601097:Margins are not reset to hardware margins when width/height is 0 or -ve alongwith x, y

2016-05-25 Thread Philip Race
It seems to me that you are using the wrong units. You have not divided by DPI to get inches. Also I am not sure that the *entire* width/height of the paper is what you want here but that is secondary to the first issue -phil On 5/19/16, 2:59 AM, prasanta sadhukhan wrote: Hi All, Please

[OpenJDK 2D-Dev] Fix for JDK-8139192 : Custom ImageFilters return blank images in Java 8(.45) while working in 7

2016-05-25 Thread Ajit Ghaisas
Hi Bug : https://bugs.openjdk.java.net/browse/JDK-8139192 Custom ImageFilters return blank images in Java 8(.45) while working in 7 Root cause : private method produce() in OffScreenImageSource.java consumes a NullPointerException that originates from a custom ImageConsumer (a 3rd