8196960: Exceptions in ConstantBootstrapsTest.java on SPARC
authorpsandoz
Wed, 07 Feb 2018 12:37:30 -0800
changeset 48878 2f265d2ac735
parent 48877 e4d80042ff19
child 48879 7bbf7c4d89b5
8196960: Exceptions in ConstantBootstrapsTest.java on SPARC Reviewed-by: lfoltan
src/java.base/share/classes/java/lang/invoke/ConstantBootstraps.java
test/jdk/java/lang/invoke/condy/ConstantBootstrapsTest.java
--- a/src/java.base/share/classes/java/lang/invoke/ConstantBootstraps.java	Wed Feb 07 10:25:10 2018 -0800
+++ b/src/java.base/share/classes/java/lang/invoke/ConstantBootstraps.java	Wed Feb 07 12:37:30 2018 -0800
@@ -37,7 +37,7 @@
  * unless the argument is specified to be unused or specified to accept a
  * {@code null} value.
  *
- * @since 10
+ * @since 11
  */
 public final class ConstantBootstraps {
     // implements the upcall from the JVM, MethodHandleNatives.linkDynamicConstant:
--- a/test/jdk/java/lang/invoke/condy/ConstantBootstrapsTest.java	Wed Feb 07 10:25:10 2018 -0800
+++ b/test/jdk/java/lang/invoke/condy/ConstantBootstrapsTest.java	Wed Feb 07 12:37:30 2018 -0800
@@ -25,6 +25,7 @@
  * @test
  * @bug 8186046 8195694
  * @summary Test dynamic constant bootstraps
+ * @requires os.arch != "sparcv9"
  * @library /lib/testlibrary/bytecode /java/lang/invoke/common
  * @build jdk.experimental.bytecode.BasicClassBuilder test.java.lang.invoke.lib.InstructionHelper
  * @run testng ConstantBootstrapsTest