wukoje / openjdk-osx-build

Automatically exported from code.google.com/p/openjdk-osx-build
0 stars 0 forks source link

wrong display version of 1.8.0-jdk8-b35-20120511-lambda #30

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

My step to reproduce that :
1. download OpenJDK-OSX-8-x64-lambda-jre-b35-20120511.dmg or 
OpenJDK-OSX-8-x64-lambda-jdk-b35-20120511.dmg
2. install it 
3. open the java preferences panel
4. in version column, for openjdk 1.8, you see 1.8.0-jdk8-b35-20120511-jigsaw

It's should be : 1.8.0-jdk8-b35-20120511-lambda instead of.

To fix that, I edit the info.plist of 
/Library/Java/JavaVirtualMachines/1.8.0-lambda.jdk/Contents to replace :

<dict>
        ...
        <key>CFBundleVersion</key>
        <string>1.8.0-jdk8-b35-20120511-jigsaw</string>
        <key>JavaVM</key>
        <dict>
                ...
                <key>JVMVersion</key>
                <string>1.8.0-jdk8-b35-20120511-jigsaw</string>
        </dict>
</dict>
</plist>

by

<dict>
        <key>CFBundleDevelopmentRegion</key>
        <string>English</string>
        <key>CFBundleExecutable</key>
        <string>libjli.dylib</string>
        <key>CFBundleGetInfoString</key>
        <string>OpenJDK (1.8.0)</string>
        <key>CFBundleIdentifier</key>
        <string></string>
        <key>CFBundleInfoDictionaryVersion</key>
        <string>7.0</string>
        <key>CFBundleName</key>
        <string>OpenJDK 8</string>
        <key>CFBundlePackageType</key>
        <string>BNDL</string>
        <key>CFBundleShortVersionString</key>
        <string>1.0</string>
        <key>CFBundleSignature</key>
        <string>????</string>
        <key>CFBundleVersion</key>
        <string>1.8.0-jdk8-b35-20120511-lambda</string>
        <key>JavaVM</key>
        <dict>
                <key>JVMCapabilities</key>
                <array>
                        <string>CommandLine</string>
                </array>
                <key>JVMMinimumFrameworkVersion</key>
                <string>13.2.9</string>
                <key>JVMMinimumSystemVersion</key>
                <string>10.6.0</string>
                <key>JVMPlatformVersion</key>
                <string>1.8</string>
                <key>JVMVendor</key>
                <string>openjdk-osx-build project</string>
                <key>JVMVersion</key>
                <string>1.8.0-jdk8-b35-20120511-lambda</string>
        </dict>
</dict>
</plist>

regards,
romain

Original issue reported on code.google.com by romain.l...@gmail.com on 15 May 2012 at 10:50

GoogleCodeExporter commented 9 years ago
Thanks.

Problem may came from bundled (OpenJDK) plist. 

Original comment by henri.gomez on 19 May 2012 at 8:16

GoogleCodeExporter commented 9 years ago
Problem was in build job, fixed now. Thanks for reporting it

Original comment by henri.gomez on 19 May 2012 at 9:11