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

packager generates invalid Info.plist on Mac

XMLWordPrintable

        when running any self-contained application on Mac, it fails as it unable to parse Info.plist:

        here's a simple diffs to fix it:

        deploy/packager/src/com/sun/javafx/tools/resource/mac/Info.plist.template

        Print this page
        @@ -35,12 +35,12 @@
           <key>JVMAppClasspath</key>
           <string>DEPLOY_APP_CLASSPATH</string>
           <key>JVMMainJarName</key>
           <string>DEPLOY_MAIN_JAR_NAME</string>
           <key>JVMOptions</key>
        - <key>NSHighResolutionCapable</key>
        - <string>true</string>
           <array>
         DEPLOY_JVM_OPTIONS
           </array>
        + <key>NSHighResolutionCapable</key>
        + <string>true</string>
          </dict>
         </plist>

              dcherepanov Dmitry Cherepanov
              dcherepanov Dmitry Cherepanov
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported: