I have installed the last JDK 8 ea b114 to test the new language features.
However the inference in chained calls seems not to work yet.
If I write:
Iterator<String> it = new ArrayList<>().iterator();
the compiler give me an error.
However inference in argument position works well.
Maybe inference in chained calls will not be inserted?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…