8196960: Exceptions in ConstantBootstrapsTest.java on SPARC

Reviewed-by: lfoltan
This commit is contained in:
Paul Sandoz 2018-02-07 12:37:30 -08:00
parent 8abc2c38f7
commit c9757ad448
2 changed files with 2 additions and 1 deletions

View File

@ -37,7 +37,7 @@ import static java.util.Objects.requireNonNull;
* unless the argument is specified to be unused or specified to accept a * unless the argument is specified to be unused or specified to accept a
* {@code null} value. * {@code null} value.
* *
* @since 10 * @since 11
*/ */
public final class ConstantBootstraps { public final class ConstantBootstraps {
// implements the upcall from the JVM, MethodHandleNatives.linkDynamicConstant: // implements the upcall from the JVM, MethodHandleNatives.linkDynamicConstant:

View File

@ -25,6 +25,7 @@
* @test * @test
* @bug 8186046 8195694 * @bug 8186046 8195694
* @summary Test dynamic constant bootstraps * @summary Test dynamic constant bootstraps
* @requires os.arch != "sparcv9"
* @library /lib/testlibrary/bytecode /java/lang/invoke/common * @library /lib/testlibrary/bytecode /java/lang/invoke/common
* @build jdk.experimental.bytecode.BasicClassBuilder test.java.lang.invoke.lib.InstructionHelper * @build jdk.experimental.bytecode.BasicClassBuilder test.java.lang.invoke.lib.InstructionHelper
* @run testng ConstantBootstrapsTest * @run testng ConstantBootstrapsTest