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

test/sun/management/jmxremote/LocalRMIServerSocketFactoryTest.java doesn't clean-up

XMLWordPrintable


        This test runs in agentvm mode but leaves a thread behind:

        "Thread-35430" #42290 daemon prio=5 os_prio=0 tid=0x281cbc00 nid=0x260 runnable [0x3b20f000]
           java.lang.Thread.State: RUNNABLE
        at java.net.DualStackPlainSocketImpl.accept0(Native Method)
        at java.net.DualStackPlainSocketImpl.socketAccept(DualStackPlainSocketImpl.java:121)
        at java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:404)
        at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:183)
        - locked <0x117a1b38> (a java.net.SocksSocketImpl)
        at java.net.ServerSocket.implAccept(ServerSocket.java:521)
        at java.net.ServerSocket.accept(ServerSocket.java:489)
        at sun.management.jmxremote.LocalRMIServerSocketFactory$1.accept(LocalRMIServerSocketFactory.java:52)
        at LocalRMIServerSocketFactoryTest$1.run(LocalRMIServerSocketFactoryTest.java:98)

              allwin Peter Allwin (Inactive)
              alanb Alan Bateman
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: