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

jdk/make/common/internal/Defs-corba.gmk doesnot list all files to be imported: some classes missing

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • OpenJDK6
    • OpenJDK6
    • infrastructure
    • 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?

            dfuchs Daniel Fuchs
            dfuchs Daniel Fuchs
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: