--- /dev/null
+import org.aspectj.weaver.WeakClassLoaderReference;
+
+
+public class Code {
+
+ /**
+ * @param args
+ */
+ public static void main(String[] args) {
+ try{
+ WeakClassLoaderReference wclref = new WeakClassLoaderReference(null);
+ System.out.println("OK");
+ }catch(Throwable npe){
+ System.out.println("KO");
+ }
+ }
+
+}
\ No newline at end of file
<suite>
+
+ <ajc-test dir="bugs1610/pr363962" title="pr363962">
+ <compile files="Code.java" options="-1.5"/>
+ <run class="Code">
+ <stdout>
+ <line text="OK"/>
+ </stdout>
+ </run>
+ </ajc-test>
+
+
<ajc-test dir="bugs1610/pr324932" title="pr324932">
<compile files="A.java" options="-1.5"/>
<compile files="X.aj" options="-1.5 -Xlint:ignore" />