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

bridge code now requires sun.corba.BridgePermission getBridge

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 5.0
    • Fix Version/s: 5.0
    • Component/s: other-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      beta2
    • CPU:
      unknown, sparc
    • OS:
      generic, solaris_2.6
    • Verification:
      Not verified

      Description

      The JMX Remote RMI/IIOP connector server is no able to start with Tiger Beta2 b44.
      It used to work a few Tiger builds ago but I do not know exactly how many.
      I guess a recent change in corba bridge is at the origin.
      It is unclear why JMX Remote customers should now add that permission at their level, or why JMX code should wrap the appropriate call in a doPriviledge block.
      My feeling is that corba code should deal with the doPriviledge.

      Exception in thread "main" java.lang.ExceptionInInitializerError
      at com.sun.corba.se.impl.util.JDKBridge.loadClassM(JDKBridge.java:166)
      at com.sun.corba.se.impl.util.JDKBridge.loadClass(JDKBridge.java:70)
      at com.sun.corba.se.impl.javax.rmi.CORBA.Util.loadClass(Util.java:513)
      at javax.rmi.CORBA.Util.loadClass(Util.java:234)
      at com.sun.corba.se.impl.util.Utility.loadClassForClass(Utility.java:398)
      at com.sun.corba.se.impl.util.Utility.loadTie(Utility.java:264)
      at com.sun.corba.se.impl.util.Utility.loadTie(Utility.java:209)
      at com.sun.corba.se.impl.javax.rmi.PortableRemoteObject.exportObject(PortableRemoteObject.java:91)
      at javax.rmi.PortableRemoteObject.exportObject(PortableRemoteObject.java:86)
      at javax.management.remote.rmi.RMIIIOPServerImpl.export(RMIIIOPServerImpl.java:46)
      at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:390)
      at javasoft.sqe.jmx.share.JmxBasicServer.do_jmxServerUp(JmxBasicServer.java:282)
      at javasoft.sqe.jmx.share.JmxBasicServer.run(JmxBasicServer.java:83)
      at javasoft.sqe.jmx.share.JmxBasicServer.main(JmxBasicServer.java:358)
      Caused by: java.security.AccessControlException: access denied (sun.corba.BridgePermission getBridge)
      at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
      at java.security.AccessController.checkPermission(AccessController.java:425)
      at java.lang.SecurityManager.checkPermission(SecurityManager.java:524)
      at sun.corba.Bridge.get(Bridge.java:155)
      at com.sun.corba.se.impl.util.JDKClassLoader.<clinit>(JDKClassLoader.java:32)
      ... 14 more

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kcavanauorcl Ken Cavanaugh (Inactive)
              Reporter:
              yjoan Yves Joan (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: