@@ -0,0 +1,508 @@
+package gcUnrelatedTypes;%0A%0Aimport java.util.HashMap;%0Aimport java.util.List;%0Aimport java.util.Map;%0Aimport java.util.concurrent.ScheduledFuture;%0A%0Apublic class ParameterizedAgainstPlain %7B%0A%0A%09Map%3CScheduledFuture, List%3CRunnable%3E%3E afterHooks = new HashMap%3CScheduledFuture, List%3CRunnable%3E%3E();%0A%0A%09protected void afterExecute(Runnable r, Throwable t) %7B%0A%0A%09%09List%3CRunnable%3E hooks = afterHooks.get(r); // should generate a warning here%0A%09%09if (hooks != null) %7B%0A%0A%09%09%09for (Runnable hook : hooks) %7B%0A%09%09%09%09hook.run();%0A%09%09%09%7D%0A%09%09%7D%0A%09%7D%0A%7D%0A

add test case