<Swing Dev> [12] RFR JDK-8198334: java/awt/FileDialog/8003399/bug8003399.java fails in headless mode

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Wed Nov 7 18:52:24 UTC 2018


Hi, Prasanta.
In the log of Test8173145 the ClassCastException exists as well:

https://bugs.openjdk.java.net/browse/JDK-8198334?focusedCommentId=14157839&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-14157839

On 07/11/2018 01:29, Prasanta Sadhukhan wrote:
> Hi Sergey,
> 
> Actually, I was more concerned about the swing test failure com/sun/java/swing/plaf/windows/Test8173145 which I guess is failing with HeadlessException. I can create a separate bug for this test alone and handle this tag addition in the test case w.r.t that bug.
> Will that be fine?
> 
> For the 1st 2 awt tests, it seems to throw ClassCastEzxception which I will leave alone. I was handling it only because it was mixed with this swing test.
> 
> Regards
> Prasanta
> ----- Original Message -----
> From: Sergey.Bylokhov at oracle.com
> To: prasanta.sadhukhan at oracle.com, swing-dev at openjdk.java.net, awt-dev at openjdk.java.net
> Sent: Wednesday, November 7, 2018 3:08:00 AM GMT +05:30 Chennai, Kolkata, Mumbai, New Delhi
> Subject: Re: <Swing Dev> [12] RFR JDK-8198334: java/awt/FileDialog/8003399/bug8003399.java fails in headless mode
> 
> Hi, Prasanta.
> 
> An exception which was occurred in these tests are not HeadlessException but ClassCastException
> which is think is a product bug.
> 
> On 05/11/2018 02:16, Prasanta Sadhukhan wrote:
>> Hi All,
>>
>> Please review a fix for an issue where some tests are found to be failing with HeadlessException in mach5 systems.
>> Proposed fix is to mark those tests as headful.
>>
>> Bug: https://bugs.openjdk.java.net/browse/JDK-8198334
>> webrev: http://cr.openjdk.java.net/~psadhukhan/8198334/webrev.0/
>>
>> Regards
>> Prasanta
> 
> 


-- 
Best regards, Sergey.


More information about the swing-dev mailing list