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

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Wed May 6 15:34:38 UTC 2015


After discussion we confirm that the problem in the tests.
This fix looks fine.

On 06.05.15 17:11, Alexander Scherbatiy wrote:
>
> This is the known issue in jtreg: CODETOOLS-7901378 Test result error 
> when @build used without @run main
>    https://bugs.openjdk.java.net/browse/CODETOOLS-7901378
>
>  It is closed as not an issue but I would argue against it. It 
> definitely worked in jtreg 4.1 fcs b05.
>  Why tests which pass with jtreg 4.1 b05 started to fail in b11?
>
>  Thanks,
>  Alexandr.
>
>
> On 5/6/2015 3:29 PM, 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.
>


-- 
Best regards, Sergey.




More information about the swing-dev mailing list