-
Bug
-
Resolution: Fixed
-
P3
-
OpenJDK6
-
None
-
b06
-
generic
-
generic
When connecting jconsole from a jdk image built with the jdk/ workspace, we see
this stack trace:
Exception in thread "VMPanel.connect" java.lang.NoClassDefFoundError: javax/rmi/GetORBPropertiesFileAction
at javax.rmi.PortableRemoteObject.getORBPropertiesFile(PortableRemoteObject.java:217)
at javax.rmi.PortableRemoteObject.createDelegateIfSpecified(PortableRemoteObject.java:172)
at javax.rmi.PortableRemoteObject.<clinit>(PortableRemoteObject.java:61)
at javax.management.remote.rmi.RMIConnector.findRMIServerJRMP(RMIConnector.java:1960)
at javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1873)
at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:276)
at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:267)
at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:226)
at sun.tools.jconsole.ProxyClient.tryConnect(ProxyClient.java:366)
at sun.tools.jconsole.ProxyClient.connect(ProxyClient.java:316)
at sun.tools.jconsole.VMPanel$2.run(VMPanel.java:298)
neither the generated rt.jar nor the build/.../classes dir have the javax/rmi/GetORBPropertiesFileAction class.
As it appears, the jdk/make/common/internal/Defs-corba.gmk files only lists
javax/rmi/PortableRemoteObject.class
while the javax/rmi/PortableRemoteObject.java file actually generates 3 classes:
javax/rmi/PortableRemoteObject.class
javax/rmi/GetORBPropertiesFileAction$1.class
javax/rmi/GetORBPropertiesFileAction.class
Note: In openjdk 7, the Defs-corba.gmk file lists the whole javax/rmi package instead
of listing individual class files. Should openjdk 6 do the same?
this stack trace:
Exception in thread "VMPanel.connect" java.lang.NoClassDefFoundError: javax/rmi/GetORBPropertiesFileAction
at javax.rmi.PortableRemoteObject.getORBPropertiesFile(PortableRemoteObject.java:217)
at javax.rmi.PortableRemoteObject.createDelegateIfSpecified(PortableRemoteObject.java:172)
at javax.rmi.PortableRemoteObject.<clinit>(PortableRemoteObject.java:61)
at javax.management.remote.rmi.RMIConnector.findRMIServerJRMP(RMIConnector.java:1960)
at javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1873)
at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:276)
at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:267)
at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:226)
at sun.tools.jconsole.ProxyClient.tryConnect(ProxyClient.java:366)
at sun.tools.jconsole.ProxyClient.connect(ProxyClient.java:316)
at sun.tools.jconsole.VMPanel$2.run(VMPanel.java:298)
neither the generated rt.jar nor the build/.../classes dir have the javax/rmi/GetORBPropertiesFileAction class.
As it appears, the jdk/make/common/internal/Defs-corba.gmk files only lists
javax/rmi/PortableRemoteObject.class
while the javax/rmi/PortableRemoteObject.java file actually generates 3 classes:
javax/rmi/PortableRemoteObject.class
javax/rmi/GetORBPropertiesFileAction$1.class
javax/rmi/GetORBPropertiesFileAction.class
Note: In openjdk 7, the Defs-corba.gmk file lists the whole javax/rmi package instead
of listing individual class files. Should openjdk 6 do the same?
- relates to
-
JDK-6610659 Fix the import of rt.jar classes from pre-components
-
- Closed
-