< prev index next >
test/hotspot/jtreg/runtime/LoaderConstraints/itableICCE/Task.java
Print this page
rev 49654 : 8199852: Print more information about class loaders in LinkageErrors.
@@ -19,10 +19,12 @@
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
+package test;
+
public class Task implements Runnable {
public void run() {
Class<?> c = Foo.class; // forces PreemptingClassLoader to load Foo
C x = new C(); // should not trigger loader constraints exception
< prev index next >