RFR: 8272728: javac ignores any -J option in @argfiles silently
Christian Stein
cstein at openjdk.java.net
Tue Oct 12 14:22:01 UTC 2021
Make javac error on `-J` being present in `@argfiles` or other locations, where the launcher didn't process and remove them.
-------------
Commit messages:
- Fix diff by forcing LF as the line-ending
- Add integration test
- Reporting invalid option and argument
- Add throws clause and format message
- [JDK-8272728] javac ignores any -J option in @argfiles silently
Changes: https://git.openjdk.java.net/jdk/pull/5891/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=5891&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8272728
Stats: 20 lines in 2 files changed: 18 ins; 0 del; 2 mod
Patch: https://git.openjdk.java.net/jdk/pull/5891.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/5891/head:pull/5891
PR: https://git.openjdk.java.net/jdk/pull/5891
More information about the compiler-dev
mailing list