-
Bug
-
Resolution: Fixed
-
P4
-
7u80
-
Ubuntu x86/x64/jre9-b42
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8072179 | 7u85 | Victor Drozdov | P4 | Resolved | Fixed | b01 |
ENV: Ubuntu x86/x64
Steps to reproduce:
1. Install jre7u17-b32
2. Install jre9-b42
3. Launch jcp from jre9's install directory: JRE9_DIR/bin/jcontrol
4. Make sure that jcp can be launched successfully and there are two items from JCP->Java->View
5. Close jcp
6. Launch jcp from jre7u17's install directory: JRE7U17_DIR/bin/jcontrol
7. If you see the following error shows up, then this bug is reproduced" java.lang.UnsupportedClassVersionError: com/sun/javafx/runtime/VersionInfo : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at com.sun.deploy.config.JfxRuntime.runtimeForPath(Unknown Source)
at com.sun.deploy.config.JREInfo.<init>(Unknown Source)
at com.sun.deploy.config.JREInfo.<init>(Unknown Source)
at com.sun.deploy.config.JREInfo.initialize(Unknown Source)
at com.sun.deploy.config.ClientConfig.refreshProperties(Unknown Source)
at com.sun.deploy.config.ClientConfig.init(Unknown Source)
at com.sun.deploy.config.ClientConfig.<init>(Unknown Source)
at com.sun.deploy.config.JCPConfig.<init>(Unknown Source)
at com.sun.deploy.panel.ControlPanel.<init>(Unknown Source)
at com.sun.deploy.panel.ControlPanel.main(Unknown Source)
Note: no such error when only 7u17 installed on system
Steps to reproduce:
1. Install jre7u17-b32
2. Install jre9-b42
3. Launch jcp from jre9's install directory: JRE9_DIR/bin/jcontrol
4. Make sure that jcp can be launched successfully and there are two items from JCP->Java->View
5. Close jcp
6. Launch jcp from jre7u17's install directory: JRE7U17_DIR/bin/jcontrol
7. If you see the following error shows up, then this bug is reproduced" java.lang.UnsupportedClassVersionError: com/sun/javafx/runtime/VersionInfo : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at com.sun.deploy.config.JfxRuntime.runtimeForPath(Unknown Source)
at com.sun.deploy.config.JREInfo.<init>(Unknown Source)
at com.sun.deploy.config.JREInfo.<init>(Unknown Source)
at com.sun.deploy.config.JREInfo.initialize(Unknown Source)
at com.sun.deploy.config.ClientConfig.refreshProperties(Unknown Source)
at com.sun.deploy.config.ClientConfig.init(Unknown Source)
at com.sun.deploy.config.ClientConfig.<init>(Unknown Source)
at com.sun.deploy.config.JCPConfig.<init>(Unknown Source)
at com.sun.deploy.panel.ControlPanel.<init>(Unknown Source)
at com.sun.deploy.panel.ControlPanel.main(Unknown Source)
Note: no such error when only 7u17 installed on system
- backported by
-
JDK-8072179 Unix: UnsupportedClassVersionError will be thrown when launch older jre's jcontrol with jre9 installed on system
- Resolved