With test/java/nio/Buffer/BasicByte.java change in JDK-8149469, test

java/nio/Buffer/Basic.java
java/nio/Buffer/CopyDirectMemory.java

now requires
@modules java.base/jdk.internal.misc

Please review the patch.

bug: https://bugs.openjdk.java.net/browse/JDK-8153563
webrev: http://cr.openjdk.java.net/~amlu/8153563/webrev.00/

Thanks,
Amy

--- old/test/java/nio/Buffer/Basic.java 2016-04-06 15:39:19.000000000 +0800
+++ new/test/java/nio/Buffer/Basic.java 2016-04-06 15:39:19.000000000 +0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2016, 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
@@ -27,6 +27,7 @@
  *      4526177 4463011 4660660 4661219 4663521 4782970 4804304 4938424 6231529
  *      6221101 6234263 6535542 6591971 6593946 6795561 7190219 7199551 8065556
  *      8149469
+ * @modules java.base/jdk.internal.misc
  * @author Mark Reinhold
  */
--- old/test/java/nio/Buffer/CopyDirectMemory.java 2016-04-06 15:39:20.000000000 +0800
+++ new/test/java/nio/Buffer/CopyDirectMemory.java      2016-04-06 
15:39:20.000000000 +0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2002, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 2016, 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
@@ -26,6 +26,7 @@
  * @bug 4463011
  *
  * @build Basic
+ * @modules java.base/jdk.internal.misc
  * @run main CopyDirectMemory
  */

Reply via email to