JDK 9 RFR of JDK-8176187: jdk/internal/misc/JavaLangAccess/NewUnsafeString.java is not run
Amy Lu
amy.lu at oracle.com
Mon Mar 6 06:17:22 UTC 2017
jdk/internal/misc/JavaLangAccess/NewUnsafeString.java
This is not a compile-only test, but due to the missed @run tag, test is
not run.
Please review the patch to add @run tag to the test.
Note this test starts failing since 9/b93 (JDK-8176188), test is problem
listed in this patch.
bug: https://bugs.openjdk.java.net/browse/JDK-8176187
webrev: http://cr.openjdk.java.net/~amlu/8176187/webrev.00/
Thanks,
Amy
--- old/test/ProblemList.txt 2017-03-06 14:12:35.000000000 +0800
+++ new/test/ProblemList.txt 2017-03-06 14:12:35.000000000 +0800
@@ -125,6 +125,8 @@
java/lang/StringCoding/CheckEncodings.sh 7008363 generic-all
+jdk/internal/misc/JavaLangAccess/NewUnsafeString.java 8176188 generic-all
+
############################################################################
# jdk_instrument
--- old/test/jdk/internal/misc/JavaLangAccess/NewUnsafeString.java 2017-03-06 14:12:36.000000000 +0800
+++ new/test/jdk/internal/misc/JavaLangAccess/NewUnsafeString.java 2017-03-06 14:12:36.000000000 +0800
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2012, 2017, 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
@@ -32,6 +32,7 @@
* @summary Test JavaLangAccess.newUnsafeString
* @modules java.base/jdk.internal.misc
* @compile -XDignore.symbol.file NewUnsafeString.java
+ * @run main NewUnsafeString
*/
public class NewUnsafeString {
More information about the core-libs-dev
mailing list