summaryrefslogtreecommitdiffstats
path: root/tests/bugs152/pr135068/t/C.java
blob: a36f333a8f8a8e2f3ff4b32da821adf7ef5fa295 (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 C {

	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 {
		C c = new C();
		c.test();
	}
}