test/compiler/jvmci/SecurityRestrictionsTest.java
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File hotspot Sdiff test/compiler/jvmci

test/compiler/jvmci/SecurityRestrictionsTest.java

Print this page




  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  */
  23 
  24 /**
  25  * @test
  26  * @bug 8136421
  27  * @requires vm.jvmci
  28  * @library /test/lib /
  29  * @library common/patches
  30  * @modules java.base/jdk.internal.misc
  31  * @modules jdk.vm.ci/jdk.vm.ci.hotspot
  32  * @build jdk.vm.ci/jdk.vm.ci.hotspot.CompilerToVMHelper
  33  * @run main/othervm -XX:+UnlockExperimentalVMOptions
  34  *      -XX:+EnableJVMCI
  35  *      compiler.jvmci.SecurityRestrictionsTest
  36  *      NO_SEC_MAN
  37  * @run main/othervm -XX:+UnlockExperimentalVMOptions
  38  *      -XX:+EnableJVMCI
  39  *      compiler.jvmci.SecurityRestrictionsTest
  40  *      NO_PERM
  41  * @run main/othervm -XX:+UnlockExperimentalVMOptions
  42  *      -XX:+EnableJVMCI
  43  *      compiler.jvmci.SecurityRestrictionsTest
  44  *      ALL_PERM
  45  * @run main/othervm -XX:+UnlockExperimentalVMOptions
  46  *      -XX:+EnableJVMCI
  47  *      compiler.jvmci.SecurityRestrictionsTest
  48  *      NO_JVMCI_ACCESS_PERM
  49  * @run main/othervm -XX:+UnlockExperimentalVMOptions
  50  *      -XX:-EnableJVMCI
  51  *      compiler.jvmci.SecurityRestrictionsTest
  52  *      NO_JVMCI




  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  */
  23 
  24 /**
  25  * @test
  26  * @bug 8136421
  27  * @requires vm.jvmci
  28  * @library /test/lib /
  29  * @library common/patches
  30  * @modules java.base/jdk.internal.misc
  31  * @modules jdk.internal.vm.ci/jdk.vm.ci.hotspot
  32  * @build jdk.internal.vm.ci/jdk.vm.ci.hotspot.CompilerToVMHelper
  33  * @run main/othervm -XX:+UnlockExperimentalVMOptions
  34  *      -XX:+EnableJVMCI
  35  *      compiler.jvmci.SecurityRestrictionsTest
  36  *      NO_SEC_MAN
  37  * @run main/othervm -XX:+UnlockExperimentalVMOptions
  38  *      -XX:+EnableJVMCI
  39  *      compiler.jvmci.SecurityRestrictionsTest
  40  *      NO_PERM
  41  * @run main/othervm -XX:+UnlockExperimentalVMOptions
  42  *      -XX:+EnableJVMCI
  43  *      compiler.jvmci.SecurityRestrictionsTest
  44  *      ALL_PERM
  45  * @run main/othervm -XX:+UnlockExperimentalVMOptions
  46  *      -XX:+EnableJVMCI
  47  *      compiler.jvmci.SecurityRestrictionsTest
  48  *      NO_JVMCI_ACCESS_PERM
  49  * @run main/othervm -XX:+UnlockExperimentalVMOptions
  50  *      -XX:-EnableJVMCI
  51  *      compiler.jvmci.SecurityRestrictionsTest
  52  *      NO_JVMCI


test/compiler/jvmci/SecurityRestrictionsTest.java
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File