Policy for retiring javac -source and -target options

A formal draft proposal has been submitted to define a policy for retiring -source and -target options. This effort is to help reduce maintenance costs of the compiler. The -source and -target options were provided to ease development efforts, but not formally required by any standards. Starting with the Java 9 platform, these target options are not recognized.

The new policy is called "one plus three back" which means that the current version will be supported as well as the three previous releases. This policy will persist with JDK 10.

Get Java 9: Building Robust Modular Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.