<Swing Dev> RFR: 8238719 [macOS] Delete the property which use deprecated prefix "com.apple.macos."

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Mon Mar 23 06:20:27 UTC 2020


Hello.
Please review the fix for jdk/client.

Bug: https://bugs.openjdk.java.net/browse/JDK-8238719
CSR: https://bugs.openjdk.java.net/browse/JDK-8238722
Fix: http://cr.openjdk.java.net/~serb/8238719/webrev.00

The "com.apple.macos." prefix for the "useScreenMenuBar" property
was deprecated a long time ago, even before the macOS port was
integrated to the OpenJDK 7.

if this property is used the next message is printed to the "err":

   "com.apple.macos.useScreenMenuBar has been deprecated. Please switch to apple.laf.useScreenMenuBar"

The earliest message about deprecation which I found was in 2006.
Its time to delete it.

-- 
Best regards, Sergey.


More information about the swing-dev mailing list