<Swing Dev> RFR JDK-8239312 [macos] javax/swing/JFrame/NSTexturedJFrame/NSTexturedJFrame.java

Prasanta Sadhukhan prasanta.sadhukhan at oracle.com
Mon Mar 23 09:52:57 UTC 2020


On 23-Mar-20 2:52 PM, Sergey Bylokhov wrote:
> On 3/22/20 11:51 pm, Ajit Ghaisas wrote:
>> Instead of ignoring it on all versions of osx, can we configure it 
>> NOT to run on osx 10.14 onwards?
>
> I think that the problem is not directly related to the OS where
> we run the test, but to the SDK which we use to build jdk.
>
> Does the current test works fine on 10.13?
>
Yes, it was already mentioned in the JBS.
>>
>> *From:*Pankaj Bansal
>> *Sent:* Monday, March 23, 2020 10:55 AM
>> *To:* Prasanta Sadhukhan <prasanta.sadhukhan at oracle.com>; 
>> swing-dev at openjdk.java.net
>> *Subject:* Re: <Swing Dev> RFR JDK-8239312 [macos] 
>> javax/swing/JFrame/NSTexturedJFrame/NSTexturedJFrame.java
>>
>> Ok, looks good to me.
>>
>> -Pankaj
>>
>> *From:*Prasanta Sadhukhan
>> *Sent:* Monday, March 23, 2020 10:54 AM
>> *To:* Pankaj Bansal <pankaj.b.bansal at oracle.com 
>> <mailto:pankaj.b.bansal at oracle.com>>; swing-dev at openjdk.java.net 
>> <mailto:swing-dev at openjdk.java.net>
>> *Subject:* Re: <Swing Dev> RFR JDK-8239312 [macos] 
>> javax/swing/JFrame/NSTexturedJFrame/NSTexturedJFrame.java
>>
>> I prefer it not to be deleted as we can still use it as standalone 
>> mode for version lesser than 10.14 in case we need to test something 
>> on those versions for textured JFrame.
>>
>> Regards
>> Prasanta
>>
>> On 23-Mar-20 10:43 AM, Pankaj Bansal wrote:
>>
>>     Hello Prasanta,
>>
>>     If I am not wrong, now this test will be ignored on all versions 
>> of osx and since it is only meant for Mac, basically this will never 
>> be run after this change. Can’t we just delete the test?
>>
>>     Regards,
>>
>>     Pankaj
>>
>>     *From:*Prasanta Sadhukhan
>>     *Sent:* Sunday, March 22, 2020 12:20 PM
>>     *To:* swing-dev at openjdk.java.net <mailto:swing-dev at openjdk.java.net>
>>     *Subject:* <Swing Dev> RFR JDK-8239312 [macos] 
>> javax/swing/JFrame/NSTexturedJFrame/NSTexturedJFrame.java
>>
>>     Hi All,
>>
>>     Since Textured JFrame property is not supported anymore by Apple, 
>> the test which is failing from osx10.14 onwards should be ignored 
>> from now onwards
>>
>>     diff -r 20374b37dd01 
>> test/jdk/javax/swing/JFrame/NSTexturedJFrame/NSTexturedJFrame.java
>>
>>     --- 
>> a/test/jdk/javax/swing/JFrame/NSTexturedJFrame/NSTexturedJFrame.javaThu 
>> Mar 19 22:22:39 2020 -0700
>>
>>     +++ 
>> b/test/jdk/javax/swing/JFrame/NSTexturedJFrame/NSTexturedJFrame.javaSun 
>> Mar 22 12:17:37 2020 +0530
>>
>>     @@ -31,7 +31,7 @@
>>
>>       import jdk.test.lib.Platform;
>>
>>       /**
>>
>>     - * @test
>>
>>     + * @ignore
>>
>>        * @key headful
>>
>>        * @bug 7124513
>>
>>        * @requires (os.family == "mac”)
>>
>>
>>
>>     Regards
>>
>>     Prasanta
>>
>
>


More information about the swing-dev mailing list