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

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Thu Sep 24 19:55:51 UTC 2015


Hello.
Please review the fix for jdk9.

The test for JDK-8130390 (which fixed an unspecified ClassCastException) 
doesn't take into account that the createBufferStrategy() method can 
throw the specified exception(AWTException) for the tested input.

The test is updated to filter out the situations when the specified 
buffer strategy is not supported.

Bug: https://bugs.openjdk.java.net/browse/JDK-8134732
Webrev can be found at: http://cr.openjdk.java.net/~serb/8134732/webrev.00

-- 
Best regards, Sergey.


More information about the awt-dev mailing list