With openjdk 1.7.0_101 OR oracle 1.8.0_91 + compiler compliance level 1.7
Description Resource Path Location Type Bound mismatch: The generic method addInstance(Class
, T) of type CompileClass2 is not applicable for the arguments (Class<capture#2-of ? extends capture#1-of ?>, capture#3-of ?). The inferred type capture#2-of ? extends capture#1-of ? is not a valid substitute for the bounded parameterCompileClass2.java /test-compile/src/test line 6 Java Problem