<AWT Dev> <Awt Dev> [9] Review Request for 8134732: [TEST_BUG] Test java/awt/applet/Applet/AppletFlipBuffer.java fails on Windows with AWTException

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Fri Sep 4 11:40:31 UTC 2015


Hi, Semyon.
Is it really necessary to catch ClassCastException? Can you try to test 
this functionality via -Dswing.bufferPerWindow. When this option is 
passed the backbuffer should be created automatically if supported.

On 04.09.15 14:03, Semyon Sadetsky wrote:
> Hello,
>
> Please review fix for JDK9:
>
> bug: https://bugs.openjdk.java.net/browse/JDK-8134732
> webrev: http://cr.openjdk.java.net/~ssadetsky/8134732/webrev.00/
>
> It's a test bug: when the flip buffer is not available on the platform
> its creation attempt causes exception.
> Solution: ignore the exception.
>
> --Semyon


-- 
Best regards, Sergey.


More information about the awt-dev mailing list