8283848586878889909192
harness.debug(ex); harness.check(false, "unexpected check"); } } finally { sm.uninstall(); } } catch (Exception ex) { harness.debug(ex); harness.check(false, "Unexpected exception");
114115116117118119120121122123124
144145146147148149150151152153154
225226227228229230231232233234235
harness.check(false, "unexpected check"); } } } finally { sm.uninstall(); } } catch (Exception ex) { harness.debug(ex); harness.check(false, "Unexpected exception");
324325326327328329330331332333334
259260261262263264265266267268269
277278279280281282283284285286287
harness.debug(ex); harness.check(false, "unexpected check"); } } finally { sm.uninstall(); } sm = new SpecialSecurityManager(harness); try { sm.install();
297298299300301302303304305306307
141142143144145146147148149150151
harness.debug(ex); harness.check(false, "unexpected check"); } } finally { sm.uninstall(); } // these tests need a modified security manager sm = new TestSecurityManager3(harness); try {
153154155156157158159160161162163
// getMember checks getMemberChecks(harness, sm, testClass, false, accessPublicMembers); } finally { sm.uninstall(); } } finally { Security.setProperty("package.access", oldrestrictions); }