<Swing Dev> [9] Review Request: JDK-8079428 [TEST_BUG] Test javax/swing/plaf/windows/6921687/bug6921687.java fails

Alexey Ivanov alexey.ivanov at oracle.com
Wed May 6 13:45:57 UTC 2015


Hello,

I faced this problem too, and only with JDK 9. If there's no @run tag in 
the java file, the main method of the test is not run. However in my 
case, the test reported success where I expected failure.

Regards,
Alexey

On 06.05.2015 15:29, Sergey Bylokhov wrote:
> Hello,
> It seems that this is a bug in the jtreg because according its 
> specification:
>
> "If no |@run| tags are present in a defining file, a default is 
> assumed depending upon the file's filename extension"
>
> File type 	Default 	Notes
> .java 	|@run main <name>| 	<name> is the name of the file without the 
> ".java" suffix
> .sh 	|@run shell <file>| 	
> .html 	|@run applet <file>| 	
>
>
> Jonathan do you know something about this issue?
>
> On 06.05.15 9:18, pooja chopra wrote:
>> Hello,
>> Please review a fix for issue:
>> 8079428 [TEST_BUG] Test javax/swing/plaf/windows/6921687/bug6921687.java
>> Test bug fix.
>> https://bugs.openjdk.java.net/browse/JDK-8079428
>> The webrev is : http://cr.openjdk.java.net/~pchopra/8079428/webrev.00/
>>
>> Thanks,
>> Pooja
>
>
> -- 
> Best regards, Sergey.




More information about the swing-dev mailing list