RFR: JDK-8173605: Remove support for source and target 1.7 option in javac
Joe Darcy
darcy at openjdk.org
Tue Aug 30 00:20:09 UTC 2022
On Tue, 30 Aug 2022 00:04:03 GMT, Joe Darcy <darcy at openjdk.org> wrote:
> Update to remove support for -source/-target/--release 7 from javac.
>
> As seen in the PR, many test fails are affected. Further refactorings of javac's implementation that can be made from dropping 7 support are left as future work.
Please also review the accompanying CSR:
https://bugs.openjdk.org/browse/JDK-8293047
Note that the DEFAULT_METHODS enum constant is used indirectly by a test to force a class file's minor version bits to be set as if a preview feature were used. If some other idiom is available, the DEFAULT_METHOD constant could be removed.
Tier 1 and tier 2 test results were clean with this changes.
-------------
PR: https://git.openjdk.org/jdk/pull/10074
More information about the javadoc-dev
mailing list