<AWT Dev>  Review Request: JDK-8081311 : [TEST_BUG] java/awt/ComponentOrientation/WindowTest.java
pankaj.b.bansal at oracle.com
Fri Sep 15 06:15:15 UTC 2017
This test is not failing with JDK 9_181 and JDK10 as methods are deprecated not removed. It is giving lot of warning for using deprecated things, so I made these changes. I think the bug description should be changed to notify that.
From: Sergey Bylokhov
Sent: Thursday, September 14, 2017 11:30 PM
To: Pankaj Bansal; awt-dev at openjdk.java.net
Subject: Re: <AWT Dev>  Review Request: JDK-8081311 : [TEST_BUG] java/awt/ComponentOrientation/WindowTest.java
Can you please clarify why this test fails on jdk9? This method is deprecated but it was not removed, so it should work.
Probably at some point of jdk9 development it was broken?
On 9/14/17 03:25, Pankaj Bansal wrote:
> Hi All,
> Please review the fix for test program
> test/java/awt/ComponentOrientation/WindowTest.java for JDK 10.
> The test java/awt/ComponentOrientation/WindowTest.java uses
> depreciated function applyResourceBundle. So the test should be
> updated to use applyComponentOrientation function.
> 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.
> Pankaj Bansal
Best regards, Sergey.
More information about the awt-dev