Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8076343

JNLP property apple.laf.useScreenMenuBar no longer treated as secure for Mac OS

    XMLWordPrintable

Details

    • b13
    • x86
    • os_x
    • Verified

    Backports

      Description

        FULL PRODUCT VERSION :
        Java Web Start 11.40.2.25
        Using JRE version 1.8.0_40-b25 Java HotSpot(TM) 64-Bit Server VM

        ADDITIONAL OS VERSION INFORMATION :
        Mac OS X 10.9.3 (13D65)

        EXTRA RELEVANT SYSTEM CONFIGURATION :
        Mac Mini Late 2012
        Firefox 36.0.1.

        A DESCRIPTION OF THE PROBLEM :
        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)


        REGRESSION. Last worked in version 8u31

        ADDITIONAL REGRESSION INFORMATION:
        Java Web Start 11.31.2.13
        Using JRE version 1.8.0_31-b13 Java HotSpot(TM) 64-Bit Server VM


        STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
        Launch application that needs menus with unsigned JNLP containing resource property apple.laf.useScreenMenuBar

        EXPECTED VERSUS ACTUAL BEHAVIOR :
        EXPECTED -
        Application launches and menu interface appears
        ACTUAL -
        Application launches but missing menu interface.

        ERROR MESSAGES/STACK TRACES THAT OCCUR :
        Java Console shows:
        Insecure property: (apple.laf.useScreenMenuBar, true) specified in unsigned jnlp file will not be set.

        REPRODUCIBILITY :
        This bug can be reproduced always.

        CUSTOMER SUBMITTED WORKAROUND :
        Revert user to prior version of Java 8 update 31 which is not affected.


        SUPPORT :
        YES

        Attachments

          Issue Links

            Activity

              People

                vrao Vivek Rao (Inactive)
                webbuggrp Webbug Group
                Votes:
                0 Vote for this issue
                Watchers:
                11 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: