Currently, when a test is using ToolBox' JavacTask, using `run(Expect.FAIL)` without an explicit exit code, the run method will not report an error if javac crashes with an exception. This may hide cases where javac crashes after reporting an error.
It would be good to tighten up the method to require exit code 1. javac uses exit code 4 when it crashes with an exception.
It would be good to tighten up the method to require exit code 1. javac uses exit code 4 when it crashes with an exception.
- links to
-
Commit(master) openjdk/jdk/559826c2
-
Review(master) openjdk/jdk/19972