The -Xfuture option was provided so that users could check how their code would fair against stricter JVM checking that, in the future, would be on by default. Because of fixes for JDK-8149499, JDK-8214807, and others, these stricter JVM checks are now on by default. So, there is no longer a need for the -Xfuture option. It should be deprecated.
Note that -Xfuture is a synonym for -Xverify:all. Users who want full verification should use -Xverifiy:all instead of -Xfuture.
Note that -Xfuture is a synonym for -Xverify:all. Users who want full verification should use -Xverifiy:all instead of -Xfuture.
- csr for
-
JDK-8224524 Deprecate the -Xfuture option
-
- Closed
-
- relates to
-
JDK-8214807 Improve handling of very old class files
-
- Resolved
-
-
JDK-8149499 Implement -Xfuture checks as defaults
-
- Closed
-
-
JDK-8339918 Remove checks for outdated -t -tm -Xfuture -checksource -cs -noasyncgc options from the launcher
-
- Resolved
-