A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/pmd/pmd/issues/743 below:

[java] Prepare for Java 10 · Issue #743 · pmd/pmd · GitHub

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


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4