diff -r 422615764e12 -r acdb8531cc8b test/jdk/java/nio/channels/SocketChannel/IsConnectable.java --- a/test/jdk/java/nio/channels/SocketChannel/IsConnectable.java Thu Mar 15 14:54:10 2018 -0700 +++ b/test/jdk/java/nio/channels/SocketChannel/IsConnectable.java Fri Mar 16 18:15:31 2018 +0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2002, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -24,7 +24,9 @@ /* @test * @bug 4737146 4750573 * @summary Test if isConnectable returns true after connected - * @library .. + * @library .. /test/lib + * @build jdk.test.lib.Utils TestServers + * @run main IsConnectable */ import java.net.*;