< prev index next >
test/hotspot/jtreg/compiler/valhalla/valuetypes/TestBoundValueTypes.java
Print this page
*** 1,7 ****
/*
! * Copyright (c) 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
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
--- 1,7 ----
/*
! * Copyright (c) 2017, 2018, 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
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*** 34,44 ****
* @bug 8185339
* @summary Test correct compilation of MethodHandles with bound value type arguments.
* @modules java.base/jdk.experimental.value
* jdk.incubator.mvt
* @compile -XDenableValueTypes ValueCapableClass2.java TestBoundValueTypes.java
! * @run main/othervm -XX:+EnableMVT -XX:CompileCommand=compileonly,compiler.valhalla.valuetypes.TestBoundValueTypes::*
* -XX:CompileCommand=compileonly,java.lang.invoke.*::* compiler.valhalla.valuetypes.TestBoundValueTypes
*/
public class TestBoundValueTypes {
static final Object vcc = ValueCapableClass2.create(42L);
--- 34,44 ----
* @bug 8185339
* @summary Test correct compilation of MethodHandles with bound value type arguments.
* @modules java.base/jdk.experimental.value
* jdk.incubator.mvt
* @compile -XDenableValueTypes ValueCapableClass2.java TestBoundValueTypes.java
! * @run main/othervm -XX:CompileCommand=compileonly,compiler.valhalla.valuetypes.TestBoundValueTypes::*
* -XX:CompileCommand=compileonly,java.lang.invoke.*::* compiler.valhalla.valuetypes.TestBoundValueTypes
*/
public class TestBoundValueTypes {
static final Object vcc = ValueCapableClass2.create(42L);
< prev index next >