I\'m trying to understand local variable type inference in Java 10.
The code below works perfectly during compilation and runtime:
List list1 =
This is a bug of openjdk, see this:
Javac should skip non-denotable types in the LocalVariableTypeTable attribute