Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[java] Prepare for Java 10 #743
Java 10 (aka. Java 18.3) is going to introduce the local-variable declaration syntax
This requires the type of the variable to be inferred from the type of the expression used to initialize it. We will therefore need to heavily work on type resolution to get this fully supported.
Also, this will possibly break a bunch of rules that assume the type of the variable can be found by looking at the declaration. We will be forced to always use type resolution to achieve this.
The full JEP can be found here: http://openjdk.java.net/jeps/286