RFR: 8323605: Java source launcher should not require `--source ...` to enable preview [v4]
Christian Stein
cstein at openjdk.org
Tue Mar 12 16:02:16 UTC 2024
On Sun, 10 Mar 2024 21:50:59 GMT, David Holmes <dholmes at openjdk.org> wrote:
>> src/java.base/share/man/java.1 line 284:
>>
>>> 282: If \f[V]--enable-preview\f[R] is specified, the \f[V]--source N\f[R]
>>> 283: arguments can be omitted.
>>> 284: The Java Runtime of version \f[V]N\f[R] implies an implicit
>>
>> I think that should be `A Java runtime version ...`
>
> Also `implies an implicit` is doubling up. I suggest the following complete sentence:
>
> If the Java runtime version is N, then `--release N` is implied when compiling source files.
Done via https://github.com/openjdk/jdk/pull/17731/commits/a82e4fe3d05a411635bbce0a69e17218184e7ab6
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/17731#discussion_r1521736000
More information about the compiler-dev
mailing list