JDK 12 RFR of JDK-8206085 : Refactor langtools/tools/javac/versions/Versions.java

Jonathan Gibbons jonathan.gibbons at oracle.com
Fri Jun 29 16:55:16 UTC 2018


There's more static in this file than on my high-school Van de Graaf 
generator!

Can we follow the convention of creating an instance in main, and then 
using instance methods.

The naming of some methods is also novel, with respect to case-conventions.

-- Jon


On 6/28/18 8:15 PM, joe darcy wrote:
> Hello,
>
> Fresh off of updating
>
>     langtools/tools/javac/versions/Versions.java
>
> for the JDK 11 -> 12 transition, I'd like to refactor the test to 
> reduce the maintenance needed when adding new versions (as in new 
> releases) or removing versions (as is planned for later in JDK 12):
>
>     http://cr.openjdk.java.net/~darcy/8206085.0/
>
> Thanks,
>
> -Joe
>



More information about the compiler-dev mailing list