package inference; import java.util.Map.Entry; @SuppressWarnings("") // check for crashes public class Bug15 { public void putAll(Entry, B> entry) { cast(entry.getKey(), entry.getValue()); } private static T cast(Class type, F value) { throw new RuntimeException(); } }