<AWT Dev> <Swing Dev> [12] RFR JDK-8213138: Update ProblemList.txt for mac

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Wed Oct 31 20:36:51 UTC 2018

On 30/10/2018 22:30, Prasanta Sadhukhan wrote:
> What is the syntax of this? I tried
> -nativepath:<MainKeyWindowTest test dir>
> but it gave "unexpected exit from test code"
> Can we put this option in the test itself in @run option? since we do not run with nativepath option neither in PIT not in test sprint, it will always fail.

Before run this test, you need to compile the native part of the tests by this command:
   make test-image
and then
   make run-test TEST="java/awt/Window/MainKeyWindowTest/TestMainKeyWindow.java"

Samples are here:

Or you can pass this option to jtreg directly:
   jtreg/bin/jtreg -nativepath:./build/macosx-x64/images/test/jdk/jtreg/native/ -jdk:./build/macosx-x64/images/jdk  open/test/jdk/java/awt/Window/MainKeyWindowTest/TestMainKeyWindow.java

The native test-image is also produced by our RE, so you can use pre-build test-image if you wish.

> Regards
> Prasanta
> On 31-Oct-18 4:27 AM, Sergey Bylokhov wrote:
>> Hi, Prasanta.
>> On 30/10/2018 02:58, Prasanta Sadhukhan wrote:
>>> java/awt/Window/MainKeyWindowTest/TestMainKeyWindow.java: JDK-8213126 <https://bugs.openjdk.java.net/browse/JDK-8213126>
>> The failure of the TestMainKeyWindow.java is not a bug, you need to provide -nativepath to the jtreg, because this test has a native code.
>>> javax/swing/JTree/6263446/bug6263446.java: JDK-8213125 <https://bugs.openjdk.java.net/browse/JDK-8213125>
>>> javax/swing/JEditorPane/6917744/bug6917744.java JDK-8213124 <https://bugs.openjdk.java.net/browse/JDK-8213124>
>>> javax/swing/JButton/4368790/bug4368790.java JDK-8213123 <https://bugs.openjdk.java.net/browse/JDK-8213123>
>>> javax/swing/GraphicsConfigNotifier/StalePreferredSize.java JDK-8213121 <https://bugs.openjdk.java.net/browse/JDK-8213121>
>>> java/awt/TextArea/AutoScrollOnSelectAndAppend/AutoScrollOnSelectAndAppend.java JDK-8213120 <https://bugs.openjdk.java.net/browse/JDK-8213120>
>>> java/awt/GraphicsDevice/CheckDisplayModes.java JDK-8213119 <https://bugs.openjdk.java.net/browse/JDK-8213119>
>>> Bug: https://bugs.openjdk.java.net/browse/JDK-8213138
>>> webrev: http://cr.openjdk.java.net/~psadhukhan/8213138/webrev/
>>> Regards
>>> Prasanta

Best regards, Sergey.

More information about the awt-dev mailing list