<AWT Dev> [10] Review Request: JDK-8081311 : [TEST_BUG] java/awt/ComponentOrientation/WindowTest.java

Semyon Sadetsky semyon.sadetsky at oracle.com
Thu Sep 14 14:58:19 UTC 2017


+1

--Semyon

On 9/14/2017 3:25 AM, Pankaj Bansal wrote:
>
> Hi All,
>
> Please review the fix for test program 
> test/java/awt/ComponentOrientation/WindowTest.java for JDK 10.
>
> Bug:
>
> https://bugs.openjdk.java.net/browse/JDK-8081311
>
> Webrev:
>
> http://cr.openjdk.java.net/~aghaisas/pankaj/8081311/webrev.0/ 
> <http://cr.openjdk.java.net/%7Eaghaisas/pankaj/8081311/webrev.0/>
>
> Issue:
>
> The test java/awt/ComponentOrientation/WindowTest.java uses 
> depreciated function  applyResourceBundle. So the test should be 
> updated to use applyComponentOrientation function.
>
> Fix:
>
> Made changes in java/awt/ComponentOrientation/WindowTest.java to use 
> applyComponentOrientation function and did corresponding changes. 
> Along with that, the test is also using java.applet.Applet which is 
> also deprecated, so changed the test to use Frame instead.
>
> Regards,
>
> Pankaj Bansal
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20170914/afdc2d63/attachment.html>


More information about the awt-dev mailing list