test/hotspot/jtreg/compiler/jvmci/SecurityRestrictionsTest.java
Index Unified diffs Context diffs Sdiffs Frames Patch New Old Previous File Next File
*** old/test/hotspot/jtreg/compiler/jvmci/SecurityRestrictionsTest.java	Thu Mar 28 11:24:32 2019
--- new/test/hotspot/jtreg/compiler/jvmci/SecurityRestrictionsTest.java	Thu Mar 28 11:24:32 2019

*** 1,7 **** --- 1,7 ---- /* ! * Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved. ! * Copyright (c) 2015, 2019, 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.
*** 82,92 **** --- 82,92 ---- private enum TestCase { NO_SEC_MAN, NO_JVMCI { @Override public Class<? extends Throwable> getExpectedException() { - return InternalError.class; } }, ALL_PERM { @Override public SecurityManager getSecurityManager() {
*** 170,185 **** --- 170,181 ---- throw new AssertionError(message, e); } } }; Utils.runAndCheckException(() -> { try { // CompilerToVM::<cinit> provokes CompilerToVM::<init> Class.forName("jdk.vm.ci.hotspot.CompilerToVMHelper"); } catch (ClassNotFoundException e) { throw new Error("TESTBUG : " + e, e); } }, exceptionCheck); } public SecurityManager getSecurityManager() { return null;

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