Re: [OpenJDK 2D-Dev] [12] RFR JDK-8213138: Update ProblemList.txt for mac

2018-10-31 Thread Sergey Bylokhov

On 30/10/2018 22:30, Prasanta Sadhukhan wrote:

What is the syntax of this? I tried

-nativepath:

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:
http://hg.openjdk.java.net/jdk/jdk/raw-file/e38473506688/doc/testing.html

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 



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 

javax/swing/JEditorPane/6917744/bug6917744.java JDK-8213124 

javax/swing/JButton/4368790/bug4368790.java JDK-8213123 

javax/swing/GraphicsConfigNotifier/StalePreferredSize.java JDK-8213121 

java/awt/TextArea/AutoScrollOnSelectAndAppend/AutoScrollOnSelectAndAppend.java 
JDK-8213120 
java/awt/GraphicsDevice/CheckDisplayModes.java 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.


Re: [OpenJDK 2D-Dev] [12] RFR JDK-8213138: Update ProblemList.txt for mac

2018-10-30 Thread Prasanta Sadhukhan

Hi Sergey,

What is the syntax of this? I tried

-nativepath:

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.


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 



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 

javax/swing/JEditorPane/6917744/bug6917744.java JDK-8213124 

javax/swing/JButton/4368790/bug4368790.java JDK-8213123 

javax/swing/GraphicsConfigNotifier/StalePreferredSize.java 
JDK-8213121 
java/awt/TextArea/AutoScrollOnSelectAndAppend/AutoScrollOnSelectAndAppend.java 
JDK-8213120 
java/awt/GraphicsDevice/CheckDisplayModes.java JDK-8213119 



Bug: https://bugs.openjdk.java.net/browse/JDK-8213138
webrev: http://cr.openjdk.java.net/~psadhukhan/8213138/webrev/

Regards
Prasanta







Re: [OpenJDK 2D-Dev] [12] RFR JDK-8213138: Update ProblemList.txt for mac

2018-10-30 Thread Sergey Bylokhov

Hi, Prasanta.
On 30/10/2018 02:58, Prasanta Sadhukhan wrote:

java/awt/Window/MainKeyWindowTest/TestMainKeyWindow.java: 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 

javax/swing/JEditorPane/6917744/bug6917744.java JDK-8213124 

javax/swing/JButton/4368790/bug4368790.java JDK-8213123 

javax/swing/GraphicsConfigNotifier/StalePreferredSize.java JDK-8213121 

java/awt/TextArea/AutoScrollOnSelectAndAppend/AutoScrollOnSelectAndAppend.java 
JDK-8213120 
java/awt/GraphicsDevice/CheckDisplayModes.java 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.


[OpenJDK 2D-Dev] [12] RFR JDK-8213138: Update ProblemList.txt for mac

2018-10-30 Thread Prasanta Sadhukhan

Hi All,

Please review an updation of ProblemList for mac jtreg run.

Following tests were added in ProblemList. With this addition, mac10.13 
jtreg run shows no failures/errors.


java/awt/Window/MainKeyWindowTest/TestMainKeyWindow.java: JDK-8213126 

javax/swing/JTree/6263446/bug6263446.java: JDK-8213125 

javax/swing/JEditorPane/6917744/bug6917744.java JDK-8213124 

javax/swing/JButton/4368790/bug4368790.java JDK-8213123 

javax/swing/GraphicsConfigNotifier/StalePreferredSize.java JDK-8213121 

java/awt/TextArea/AutoScrollOnSelectAndAppend/AutoScrollOnSelectAndAppend.java 
JDK-8213120 
java/awt/GraphicsDevice/CheckDisplayModes.java JDK-8213119 



Bug: https://bugs.openjdk.java.net/browse/JDK-8213138
webrev: http://cr.openjdk.java.net/~psadhukhan/8213138/webrev/

Regards
Prasanta