<AWT Dev> JDK-8075070 [macosx] system menu bar disabled when using webstart to start

Burk, Bill william.burk at kodak.com
Wed Mar 25 18:06:57 UTC 2015


We've successfully used Java 7 and 8 with our application on Mac OS X until J8u40

REGRESSION INFO: Problem does not replicate in J8u31
Java Web Start 11.31.2.13
Using JRE version 1.8.0_31-b13 Java HotSpot(TM) 64-Bit Server VM

From: Phil Race [mailto:philip.race at oracle.com]
Sent: Wednesday, March 25, 2015 11:02 AM
To: Burk, Bill
Cc: awt-dev at openjdk.java.net
Subject: Re: <AWT Dev> JDK-8075070 [macosx] system menu bar disabled when using webstart to start

PS ..

> For previous versions of Java, if you include the property apple.laf.useScreenMenuBar for a different OS, such as >Windows OS, Java Console gives similar message, property considered insecure
>-I think that's always been correct behavior because the property is only useful to Mac OS X

Although its possible that on Windows we always checked the list that accidentally omits
this property, its also going to be true that until JDK 7u6 there was no Oracle JavaWs for Mac
and Oracle JRE's for other platforms were ignorant of this property and so perhaps even a recent
Oracle JDK 6 update would reject it. However I expect an Oracle JDk 8u25 for Windows would
"allow" this property since the list is not per-platform, although any variance in code path might affect that
because of  the omission from one of the lists.

-phil.

On 03/25/2015 10:49 AM, Phil Race wrote:
I found there are actually two copies of the list but the second one seems to have never
listed it. Perhaps there is a disconnect somewhere but its not very clear to me.

-phil.

On 03/25/2015 10:19 AM, Phil Race wrote:
I have just examined the (closed) source file that enumerates the secure properties and
I clearly see "apple.laf.useScreenMenuBar" along with all the rest.

This is current 8u-dev source and the file hasn't been updated in a year ..

-phil.

On 03/25/2015 10:01 AM, Burk, Bill wrote:
I don't think it duplicates JDK-8074668 because Java Console message is different and clearly reveals property is considered insecure.

Additional information that may help:

For previous versions of Java, if you include the property apple.laf.useScreenMenuBar for a different OS, such as Windows OS, Java Console gives similar message, property considered insecure
-I think that's always been correct behavior because the property is only useful to Mac OS X

For previous versions of Java, menus will be missing on Mac OS X if you omit the property apple.laf.useScreenMenuBar
-Because property enables menus, leaving it out or ignoring the property takes away those menus.

Regards,

Bill

From: Sergey Bylokhov [mailto:Sergey.Bylokhov at oracle.com]
Sent: Wednesday, March 25, 2015 9:04 AM
To: Burk, Bill; awt-dev at openjdk.java.net<mailto:awt-dev at openjdk.java.net>
Subject: Re: <AWT Dev> JDK-8075070 [macosx] system menu bar disabled when using webstart to start

Hello,
Looks like this is a duplicate of https://bugs.openjdk.java.net/browse/JDK-8074668
It should be fixed in 8u40b27

25.03.15 18:49, Burk, Bill wrote:
I recently opened a report with Oracle for what I believe may be the same issue. It may impact many existing Mac OS X applications so should be considered seriously.

(Review ID: JI-9020016) - JNLP property apple.laf.useScreenMenuBar no longer treated as secure for Mac OS X



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20150325/b03003e3/attachment-0001.html>


More information about the awt-dev mailing list