RFR: 8272728: javac ignores any -J option in @argfiles silently
Jonathan Gibbons
jjg at openjdk.java.net
Tue Oct 12 14:22:04 UTC 2021
On Mon, 11 Oct 2021 15:09:41 GMT, Christian Stein <cstein at openjdk.org> wrote:
>> Also, we tend not to use Latin contractions like `e.g.` and `i.e.` -- use the English equivalent, or avoid the need altogether.
>>
>> Note that arg-files are not the only way to tunnel `-J` options into `javac`, so that may be another reason to generalize the message and make it less specific. For example, `-J is not valid here; pass JVM options directly to the launcher.`
>
> What about `"-J%s is not valid here; pass JVM options directly to the launcher.".formatted(arg)`?
-------------
PR: https://git.openjdk.java.net/jdk/pull/5891
More information about the compiler-dev
mailing list