aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs1610/pr363962/Code.java
blob: 3c2d5c49ab06afcbcab38e78f130248f77807de5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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");
		}
	}

}