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

Prasanta Sadhukhan prasanta.sadhukhan at oracle.com
Mon Mar 23 05:23:55 UTC 2020


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
> *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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/swing-dev/attachments/20200323/e0825a5a/attachment.htm>


More information about the swing-dev mailing list