package npe;

public class CheckATHROW {
	public void doNotReport(Throwable obj) throws Throwable {
		throw obj;
	}
	
	public void throwNullValueReport(boolean b) throws Throwable {
		
		Throwable t = null;
		
		if (b) {
			System.out.println("Yeah");
		}
		
		throw t;
	}
	
	public void throwPossiblyNullReport(Throwable t) throws Throwable {
		if (t != null) {
			System.out.println("ok");
		}
		
		throw t;
	}
}

Test that ATHROW instructions are assumed to have a null check.
Test that ATHROW instructions are assumed to have a null check.

git-svn-id: e7d6bde23f017c9ff4efd468d79d66def666766b@8609 eae3c2d3-9b19-0410-a86e-396b6ccb6ab3
