[OpenJDK 2D-Dev] RFR: 8148477: Native memory leak in font layout subsystem

2016-07-27 Thread Phil Race
https://bugs.openjdk.java.net/browse/JDK-8158477 http://cr.openjdk.java.net/~prr/8158477/ Missing a call to ReleaseCharArrayElements() With this fix the test in the bug runs happily for many minutes without any increase at all in virtual memory. About 1.5 million invocations of the layout code s

[OpenJDK 2D-Dev] RFR: 8056210: Move libawt file to windows directory

2016-07-27 Thread Phil Race
https://bugs.openjdk.java.net/browse/JDK-8056210 http://cr.openjdk.java.net/~prr/8056210/ Simple clean-up of moving code used only on windows into a windows source directory JPRT is happy .. -phil.

Re: [OpenJDK 2D-Dev] [9] RFR JDK-5080098: Page Range must be disabled on the common print dlg for Non serv-formatted flvrs

2016-07-27 Thread Phil Race
prAll is final and initalised. So why are you testing !=null ? -phil. On 07/05/2016 02:08 AM, Prasanta Sadhukhan wrote: Hi All, Please review a fix for an issue where it is seen "Page range (From/To) " field is not disabled for flavors such as postscript, image flavors. PageRanges attribute

Re: [OpenJDK 2D-Dev] RFR: JDK-8160664 JVM crashed with font manager on Solaris 12

2016-07-27 Thread Alexey Ivanov
Hi Martin, Phil, I have pushed the fix. Changeset: http://hg.openjdk.java.net/jdk9/client/jdk/rev/25e32d8c26c8 Regards, Alexey On 26.07.2016 8:35, Alexey Ivanov wrote: Hi Martin, The fix looks fine. On 25.07.2016 20:30, Phil Race wrote: On 07/25/2016 07:14 AM, Martin Walsh wrote: On 07/22

Re: [OpenJDK 2D-Dev] [9] RFR JDK-6575247: Banner checkbox in PrinterJob print dialog doesn't work

2016-07-27 Thread Prasanta Sadhukhan
On 7/27/2016 7:20 PM, Philip Race wrote: 883 } else { 884 Class[] supportedCats = getPrintService(). 885 getSupportedAttributeCategories(); 886 for (int i=0;ihttps://docs.oracle.com/javase/8/docs/api/javax/print/PrintService.html#isAttributeCategorySupported-java.lang

Re: [OpenJDK 2D-Dev] [9] RFR JDK-6575247: Banner checkbox in PrinterJob print dialog doesn't work

2016-07-27 Thread Philip Race
883 } else { 884 Class[] supportedCats = getPrintService(). 885 getSupportedAttributeCategories(); 886 for (int i=0;ihttps://docs.oracle.com/javase/8/docs/api/javax/print/PrintService.html#isAttributeCategorySupport

Re: [OpenJDK 2D-Dev] [9] RFR JDK-6575247: Banner checkbox in PrinterJob print dialog doesn't work

2016-07-27 Thread Prasanta Sadhukhan
Modified webrev to take care of a problem in webrev.01 whereby banner page was getting printed by default. Now, banner page will get printed only if the checkbox is checked in printer dialog. http://cr.openjdk.java.net/~psadhukhan/6575247/webrev.02/ Regards Prasanta On 7/22/2016 4:26 PM, Prasa