<Swing Dev> RFR JDK-8239312 [macos] javax/swing/JFrame/NSTexturedJFrame/NSTexturedJFrame.java
Prasanta Sadhukhan
prasanta.sadhukhan at oracle.com
Mon Mar 23 10:26:46 UTC 2020
> On 23-Mar-2020, at 3:33 PM, Sergey Bylokhov <Sergey.Bylokhov at oracle.com> wrote:
>
> On 3/23/20 2:52 am, Prasanta Sadhukhan wrote:
>> 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.
>
> Then it would be useful to run it on macOS 10.13.
>
OK. Updated diff
diff -r 20374b37dd01 test/jdk/javax/swing/JFrame/NSTexturedJFrame/NSTexturedJFrame.java
--- a/test/jdk/javax/swing/JFrame/NSTexturedJFrame/NSTexturedJFrame.java Thu Mar 19 22:22:39 2020 -0700
+++ b/test/jdk/javax/swing/JFrame/NSTexturedJFrame/NSTexturedJFrame.java Mon Mar 23 15:55:22 2020 +0530
@@ -57,6 +57,12 @@
System.out.println("This test is for OSX, considered passed.");
return;
}
+ String[] osv = System.getProperty("os.version").split("\\.");
+ int minor = Integer.valueOf(osv[1]);
+ if (minor >= 14) {
+ System.out.println("Test should be ignored from osx 10.14 onwards");
+ return;
+ }
> BTW probably we should file the bug to the Apple?
>
But we already established in 8240995 that Apple has decided not to support Textured Frame from osx10.14 onwards, right?
Regards
Prasanta
> --
> Best regards, Sergey.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/swing-dev/attachments/20200323/d09cd315/attachment.htm>
More information about the swing-dev
mailing list