[OpenJDK 2D-Dev] [9] RFR: JDK-8148127, , IllegalArgumentException thrown by JCK test api/java_awt/Component/FlipBufferStrategy/indexTGF_General in opengl pipeline

Ambarish Rapte ambarish.rapte at oracle.com
Wed Jan 27 08:41:08 UTC 2016


Hi Prasanta,
	This fix looks fine to me.

Thanks,
Ambarish

-----Original Message-----
From: Jim Graham 
Sent: Tuesday, January 26, 2016 2:47 AM
To: prasanta sadhukhan; Sergey Bylokhov; 2d-dev at openjdk.java.net
Subject: Re: [OpenJDK 2D-Dev] [9] RFR: JDK-8148127, , IllegalArgumentException thrown by JCK test api/java_awt/Component/FlipBufferStrategy/indexTGF_General in opengl pipeline

Looks just as good as the other fixes.  Thanks for the additional testing and investigation!

			...jim

On 1/24/2016 10:37 PM, prasanta sadhukhan wrote:
> Hi All,
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8148127
> webrev: http://cr.openjdk.java.net/~psadhukhan/8148127/webrev.00/
>
> This is in continuation with JDK-8147077 
> <https://bugs.openjdk.java.net/browse/JDK-8147077> issue which 
> regresses the JCK test in xrender pipeline in linux
>
> The same issue is seen on *opengl *pipeline in *windows* whereby 
> api/java_awt/Component/FlipBufferStrategy JCK test was causing 
> WGLGraphicsConfig.createBackBuffer to create (0,0) volatileimage 
> resulting in IAE in opengl pipeline.
> The fix is to ensure createBackBuffer does not create 0 sized 
> VolatileImage rather it resize to (1,1) if it finds a 0 sized 
> VolatileImage is requested.
>
> Issue is not seen in mac opengl pipeline.
>
> Regards
> Prasanta



More information about the 2d-dev mailing list