summaryrefslogtreecommitdiffstats
path: root/tests/bugs152/pr135068/t/C2.java
blob: 32cf00136492e194bb849e77602b68b7a78cf926 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package t;

import java.net.InetAddress;
import java.net.UnknownHostException;

public class C2 {

	public InetAddress getAddress() throws UnknownHostException {
		return null;
	}
	
	private void test() throws UnknownHostException {
		System.out.println(getAddress().toString());
	}

	public static void main(String[] args) throws Exception {
		C2 c = new C2();
		c.test();
	}
}