--- a/test/jdk/java/nio/channels/SocketChannel/Basic.java Thu Mar 15 14:54:10 2018 -0700
+++ b/test/jdk/java/nio/channels/SocketChannel/Basic.java Fri Mar 16 18:15:31 2018 +0800
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 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
@@ -23,7 +23,9 @@
/* @test
* @summary Unit test for socket channels
- * @library ..
+ * @library .. /test/lib
+ * @build jdk.test.lib.Utils TestServers
+ * @run main Basic
*/
import java.net.*;