Hi Sergey,

How about setting apple.laf.useScreenMenuBar to true even if the customer sets com.apple.macos.useScreenMenuBar in order to not inconvenience user who was using that property. With the message removed, there is now no way to know that is deprecated...

Regards
Prasanta
On 23-Mar-20 11:50 AM, Sergey Bylokhov wrote:
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.

Reply via email to