8153563: java/nio/Buffer/Basic.java and CopyDirectMemory.java are failing after JDK-8149469
authoramlu
Wed, 06 Apr 2016 16:36:12 +0800
changeset 36943 d5d5bf95aba4
parent 36942 6d430b388238
child 36944 a0638a8d5bc7
8153563: java/nio/Buffer/Basic.java and CopyDirectMemory.java are failing after JDK-8149469 Reviewed-by: alanb
jdk/test/java/nio/Buffer/Basic.java
jdk/test/java/nio/Buffer/CopyDirectMemory.java
--- a/jdk/test/java/nio/Buffer/Basic.java	Wed Apr 06 07:20:37 2016 +0000
+++ b/jdk/test/java/nio/Buffer/Basic.java	Wed Apr 06 16:36:12 2016 +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
  */
 
--- a/jdk/test/java/nio/Buffer/CopyDirectMemory.java	Wed Apr 06 07:20:37 2016 +0000
+++ b/jdk/test/java/nio/Buffer/CopyDirectMemory.java	Wed Apr 06 16:36:12 2016 +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
@@ -25,6 +25,7 @@
  * @summary Test view buffer bulk operations for large buffers.
  * @bug 4463011
  *
+ * @modules java.base/jdk.internal.misc
  * @build Basic
  * @run main CopyDirectMemory
  */