1 $NetBSD: patch-jdk_test_java_beans_Introspector_Test4144543.java,v 1.1 2015/02/08 08:41:25 tnn Exp $
5 --- jdk/test/java/beans/Introspector/Test4144543.java.orig 2015-02-02 15:37:12.000000000 +0000
6 +++ jdk/test/java/beans/Introspector/Test4144543.java
7 @@ -34,7 +34,8 @@ import java.beans.PropertyDescriptor;
9 public class Test4144543 {
10 public static void main(String[] args) throws Exception {
11 - Class type = Beans.instantiate(null, "Test4144543").getClass();
12 + // running under jtreg -agentvm: system classloader can't find this class (separate classloader?)
13 + Class type = Beans.instantiate(Test4144543.class.getClassLoader(), "Test4144543").getClass();
15 // try all the various places that this would break before