Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for --javacopt flags terminated by
--
to JavaBuilder
JDK 9 adds javac flags that start with `--`, so we can't assume that `--` flags belong to JavaBuilder. Instead, we will use `--` by itself as a delimiter to parse e.g. `--javacopts --release 8 -- sources Hello.java`. This change just adds support for dropping a trailing `--` after parsing javacopts. We can't rely on the delimiter until after the next Blaze release. PiperOrigin-RevId: 179589863
- Loading branch information