< prev index next >

test/hotspot/jtreg/compiler/ExceptionInInit.java

Print this page
rev 53861 : [mq]: 8219139

*** 1,7 **** /* ! * Copyright (c) 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. --- 1,7 ---- /* ! * Copyright (c) 2018, 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.
*** 27,38 **** --- 27,41 ---- * @summary Attempt to read inaccessible property can produce * exception of the wrong type. * @author Tom Rodriguez * * @modules java.rmi + * @run main compiler.ExceptionInInit */ + package compiler; + import java.security.AccessController; import java.security.PrivilegedAction; public class ExceptionInInit {
< prev index next >