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

com/sun/jndi/rmi/registry/RegistryContext/UnbindIdempotent.java fails after JDK-8153916

XMLWordPrintable

    • b148
    • Verified

      This test

      com/sun/jndi/rmi/registry/RegistryContext/UnbindIdempotent.java

      has been observed to be failing on Mac, Linux and Windows after fix of JDK-8153916
      ----------System.err:(22/1508)----------
      java.rmi.server.ExportException: internal error: ObjID already in use
      at java.rmi/sun.rmi.transport.ObjectTable.putTarget(ObjectTable.java:184)
      at java.rmi/sun.rmi.transport.Transport.exportObject(Transport.java:106)
      at java.rmi/sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:259)
      at java.rmi/sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:411)
      at java.rmi/sun.rmi.transport.LiveRef.exportObject(LiveRef.java:147)
      at java.rmi/sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:232)
      at java.rmi/sun.rmi.registry.RegistryImpl.setup(RegistryImpl.java:157)
      at java.rmi/sun.rmi.registry.RegistryImpl.<init>(RegistryImpl.java:142)
      at java.rmi/java.rmi.registry.LocateRegistry.createRegistry(LocateRegistry.java:203)
      at TestLibrary.createRegistryOnEphemeralPort(TestLibrary.java:422)
      at UnbindIdempotent.main(UnbindIdempotent.java:46)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:538)
      at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:230)
      at java.base/java.lang.Thread.run(Thread.java:844)

            mli Hamlin Li
            xiaofeya Xiaofeng Yang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: