aboutsummaryrefslogtreecommitdiffstats
path: root/tests/multiIncremental/pr278496_8/base/src/generics/ActionExecutor.java
blob: 5305dd4cf36c3c448f8afc037276e535a79c5770 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package generics;

public class ActionExecutor {
	public static void main(String[] args) {
		DeleteAction<String> d = new DeleteAction<String>() {
			public String getSelected() {
				throw new RuntimeException();
			}
			
		}; 
		d.delete2++;  
		d.delete3.add(null);
	}
	 
	void nothing2(DeleteAction<String> g) {
		g.delete2++;
	}
}