changeset 48878:2f265d2ac735

8196960: Exceptions in ConstantBootstrapsTest.java on SPARC Reviewed-by: lfoltan
author psandoz
date Wed, 07 Feb 2018 12:37:30 -0800
parents e4d80042ff19
children 7bbf7c4d89b5
files src/java.base/share/classes/java/lang/invoke/ConstantBootstraps.java test/jdk/java/lang/invoke/condy/ConstantBootstrapsTest.java
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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