Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getAllStackTraces (0.09 sec)

  1. src/test/java/jcifs/tests/TimeoutTest.java

            }
    
        }
    
    
        @Test ( expected = ConnectionTimeoutException.class )
        public void testConnectTimeoutRead () throws IOException {
            Set<Thread> threadsBefore = new HashSet<>(Thread.getAllStackTraces().keySet());
            try ( ServerSocket ss = ServerSocketFactory.getDefault().createServerSocket(0, -1, InetAddress.getLoopbackAddress()) ) {
                int port = ss.getLocalPort();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 12.4K bytes
    - Viewed (0)
Back to top