aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs169/pr309336/UseOperators.java
blob: 3d39dd60d02d0d4a22222d4eecf98412cdfbc8be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import java.rmi.RemoteException;


class UseOperators {
	public void f3() throws NullPointerException, RemoteException
	{
		Operators.Operator<String> f = new Operators.Operator<String>() {

			public String execute(String aArg) throws NullPointerException,
					RemoteException {
				System.out.println("Doh!");
				return aArg;
			}
			
		}; 
		f.execute("");
	}
}