RFR: JDK-8173605: Remove support for source and target 1.7 option in javac

Alan Bateman alanb at openjdk.org
Tue Aug 30 06:29:52 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.

test/jdk/java/lang/reflect/OldenCompilingWithDefaults.java line 28:

> 26:  * @bug 8009267
> 27:  * @summary Verify uses of isAnnotationPresent compile under older source versions
> 28:  * @compile OldenCompilingWithDefaults.java

I skimmed through the description of JDK-8009267 and I'm wondering if this test is of any value now.

-------------

PR: https://git.openjdk.org/jdk/pull/10074


More information about the hotspot-runtime-dev mailing list