On 24-Mar-20 6:32 AM, Sergey Bylokhov wrote:
On 3/23/20 1:10 am, Prasanta Sadhukhan wrote:
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...
Did you mean to remove the error message and set the
"apple.laf.useScreenMenuBar"
to "true" when "com.apple.macos.useScreenMenuBar" is set?
I guess, without the stderr, it will make an appearance that
"com.apple.macos.useScreenMenuBar" even more supported than before
this fix.
This error message was added as part of the deprecation of the property,
the purpose of this fix is to remove the "com.apple.macos."
So the error and property should be there or both removed.
OK. Fair enough.
Regards
Prasanta
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.