Relates :
|
We should add a new hidden switch -XDexpectKeys=key1,key2,... to assist in writing better regression tests that check for the presence of specific diagnostics in the output. If such an option is given on the command line, the exit code from javac will be changed such the exit code is 0 if and only if all the keys are found in the diagnostics that were generated.
|