Re: [OpenJDK 2D-Dev] [9] RFR: JDK-8140530, , Creating a VolatileImage with size 0, 0 results in no longer working g2d.drawStri

2015-12-03 Thread Jim Graham
+1 ...jim On 12/3/15 10:17 PM, prasanta sadhukhan wrote: ok. Thanks Jim . Please review the modified webrev http://cr.openjdk.java.net/~psadhukhan/8140530/webrev.02/ Regards Prasanta On 12/4/2015 6:45 AM, Jim Graham wrote: I think it makes sense to catch it at a higher level,

Re: [OpenJDK 2D-Dev] JDK 9 RFR of JDK-8144627: Problem list WriteAfterAbort.java

2015-12-03 Thread Sergey Bylokhov
Looks fine. ps: I am glad that my test is written in a style that allowed to find a bug in a new plug-in. On 04.12.15 2:43, joe darcy wrote: The other failing test is closed and I will send a separate (internal) review for that one :-) Thanks, -Joe On 12/3/2015 1:10 PM, Phil Race wrote:

[OpenJDK 2D-Dev] Review request for JDK-6967419 : IndexOutOfBoundsException when drawing PNGs

2015-12-03 Thread Jayathirth D V
Hi Sergey, Thanks for your suggestion. I verified all other image writers with present code(For WBMP after changing BufferedImageType to TYPE_BYTE_BINARY) there are no problems in them. Cache is closed properly and we don't see IndexOutOfBoundsException. Thanks, Jay -Original Message-

Re: [OpenJDK 2D-Dev] [rfc]Stream doesn't reset mark in finally

2015-12-03 Thread Jiri Vanek
On 12/02/2015 10:26 PM, Andrew Hughes wrote: - Original Message - On 11/25/2015 06:53 PM, Andrew Hughes wrote: - Original Message - On 11/18/2015 06:17 PM, Jiri Vanek wrote: On 11/12/2015 02:24 PM, Sergey Bylokhov wrote: Hi, Jiri. This is a valid point, did you file a new CR

Re: [OpenJDK 2D-Dev] [9] RFR: JDK-8140530, , Creating a VolatileImage with size 0, 0 results in no longer working g2d.drawStri

2015-12-03 Thread prasanta sadhukhan
ok. Thanks Jim . Please review the modified webrev http://cr.openjdk.java.net/~psadhukhan/8140530/webrev.02/ Regards Prasanta On 12/4/2015 6:45 AM, Jim Graham wrote: I think it makes sense to catch it at a higher level, but also to throw some type of exception from the X11 code as you do now

[OpenJDK 2D-Dev] RFR: 8144616: Problem building OpenJDK/harfbuzz on jprt

2015-12-03 Thread Phil Race
Some of our internal build servers only have access to an old (2.3.5) version of freetype whereas harfbuzz requires 2.4.2 - maybe even later, but at least that. The dependency comes from compiling in hb-ft.cc even though we do not currently use that code since we now go via a custom JDK font

Re: [OpenJDK 2D-Dev] RFR 8144446: Automate the Marlin crash test

2015-12-03 Thread Phil Race
Laurent, If you were to run this on a jigsaw EA build it would fail due to accessing sun.java2d.pipe.RenderingEngine. I know this is "pre-existing" but jigsaw is coming ... So why not update it to set call System.getProperty("sun.java2d.renderer.verbose"); and it'll print out the renderer

[OpenJDK 2D-Dev] RFR 8144654: Improve Marlin logging

2015-12-03 Thread Laurent Bourgès
https://bugs.openjdk.java.net/browse/JDK-8144654 Please review this webrev that fixes logging issues in Marlin: http://cr.openjdk.java.net/~lbourges/marlin/marlin-8144654.0/ Changes: - Byte/Float/Int/ArrayCache: use logInfo instead of System.out - MarlinConst: enableLogs uses

Re: [OpenJDK 2D-Dev] RFR: 8144616: Problem building OpenJDK/harfbuzz on jprt

2015-12-03 Thread Sergey Bylokhov
Looks fine. On 04.12.15 0:35, Phil Race wrote: Some of our internal build servers only have access to an old (2.3.5) version of freetype whereas harfbuzz requires 2.4.2 - maybe even later, but at least that. The dependency comes from compiling in hb-ft.cc even though we do not currently use

Re: [OpenJDK 2D-Dev] JDK 9 RFR of JDK-8144627: Problem list WriteAfterAbort.java

2015-12-03 Thread Phil Race
I thought it was two tests ? -phil. On 12/03/2015 01:09 PM, joe darcy wrote: Hello, The test javax/imageio/plugins/shared/WriteAfterAbort.java is failing and should be problem listed until the underlying problem is fixed (JDK-8144554). Please review the patch below which does this.

Re: [OpenJDK 2D-Dev] RFR 8144446: Automate the Marlin crash test

2015-12-03 Thread Laurent Bourgès
Phil, If you were to run this on a jigsaw EA build it would fail due to accessing > sun.java2d.pipe.RenderingEngine. I know this is "pre-existing" but jigsaw > is coming ... > You're right, sorry ! Here is a new webrev: http://cr.openjdk.java.net/~lbourges/marlin/marlin-816.1/ Changes: -

[OpenJDK 2D-Dev] RFR 8144630: Use PrivilegedAction to create Thread in Marlin RendererStats

2015-12-03 Thread Laurent Bourgès
https://bugs.openjdk.java.net/browse/JDK-8144630 Please review this simple webrev that fixes the Thread creation in RendererStats: http://cr.openjdk.java.net/~lbourges/marlin/marlin-8144630.0/ Regards, Laurent Bourgès

Re: [OpenJDK 2D-Dev] [9] RFR: JDK-8140530, , Creating a VolatileImage with size 0, 0 results in no longer working g2d.drawStri

2015-12-03 Thread Jim Graham
I think it makes sense to catch it at a higher level, but also to throw some type of exception from the X11 code as you do now because regardless of our higher level policy, the X11 implementation function can never succeed there... So, my preference would be to keep the existing pieces of