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

Burk, Bill william.burk at kodak.com
Wed Mar 25 15:49:59 UTC 2015


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

Java application launched by unsigned dynamically-generated JNLP will run, but missing user interface features like menus, dialog boxes and response to function keys.

Missing features render application unusable to Mac OS X users.

Normally menus are enabled by setting apple.laf.useScreenMenuBar to true in resources section of JNLP.

As early as September 2010, this property was secure for Mac OS X but insecure for other OS.

This leads me to believe there used to be a special build of Java for Mac OS X, and this issue may be a side-effect of an initiative to unify the codebase.

Maybe incomplete documentation led to oversight because no Apple properties are listed among "The following properties, as well as properties beginning..."

http://docs.oracle.com/javase/7/docs/technotes/guides/javaws/developersguide/syntax.html

POSSIBLE DUPLICATE: JDK-8075070
NOT DUPLICATE: JDK-8024720 (Has workaround, place property near top of resources section)

WORKSTATION INFO:
Mac Mini Late 2012
OSX 10.9.3 (13D65)
Firefox 36.0.1.

JNLP INFO:
    <resources>
        <property name="apple.laf.useScreenMenuBar" value="true" />
    </resources>

JAVA CONSOLE:
Java Web Start 11.40.2.25
Using JRE version 1.8.0_40-b25 Java HotSpot(TM) 64-Bit Server VM
...
Insecure property: (apple.laf.useScreenMenuBar, true) specified in unsigned jnlp file will not be set.

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

William E. Burk │ Product Support Specialist, KODAK DESIGN2LAUNCH SOLUTIONS
Kodak Technology Solutions
Eastman Kodak Company │ 1408 Flores │ Pacifica, Ca 94044 │ United States │
william.burk at kodak.com<mailto:william.burk at kodak.com> │ 203.653.2582 Office │ 650.868.4948 Mobile │
[EKLOGO2]



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20150325/d2f61a70/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 2131 bytes
Desc: image001.gif
URL: <http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20150325/d2f61a70/image001-0001.gif>


More information about the awt-dev mailing list