System.exit(1);
}
});
/* If the following compiles, variance annotations work (maybe!). */
Promise<List<Integer>> promise = new Promise();
promise.addEventListener(
new FutureEventListener<Collection<Integer>>() {
public void onSuccess(Collection<Integer> coll) {}
public void onFailure(Throwable cause) {}
});