New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[java] Prepare for Java 10 #743

Closed
jsotuyod opened this Issue Nov 21, 2017 · 3 comments

Comments

Projects
None yet
2 participants
@jsotuyod
Member

jsotuyod commented Nov 21, 2017

Java 10 (aka. Java 18.3) is going to introduce the local-variable declaration syntax var XXX = ...;

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

@adangel

This comment has been minimized.

Show comment
Hide comment
@adangel

adangel Jan 22, 2018

Member

Schedule and features: http://openjdk.java.net/projects/jdk/10/
Builds are available at: http://jdk.java.net/10/
Java 10 is planned to be released in March 2018 (General Availability).

Member

adangel commented Jan 22, 2018

Schedule and features: http://openjdk.java.net/projects/jdk/10/
Builds are available at: http://jdk.java.net/10/
Java 10 is planned to be released in March 2018 (General Availability).

@adangel adangel changed the title from [java] Prepare for Java 18.3 to [java] Prepare for Java 10 Feb 21, 2018

@adangel

This comment has been minimized.

Show comment
Hide comment
Member

adangel commented Mar 2, 2018

@adangel

This comment has been minimized.

Show comment
Hide comment

@adangel adangel self-assigned this Apr 30, 2018

@adangel adangel referenced this issue May 11, 2018

Merged

[java] Basic Java 10 support #1073

5 of 5 tasks complete

adangel added a commit to adangel/pmd that referenced this issue May 11, 2018

@adangel adangel added the has:pr label May 19, 2018

@jsotuyod jsotuyod closed this in #1073 May 29, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment