Shorthand Equivalent
@build <classname>+ @run build <classname>+
@compile<option>* <arg>+ @run compile<option>* <arg>+
Though these shorthands are in tag-spec, it might be better to force "pass" or "fail" for compile-only test -
@compile/pass<option>* <arg>+
@compile/fail<option>* <arg>+
And for @compile (without /pass nor /fail) test, if test has no explicit @run tag, make test results "Error" to avoid "test does not run because @run tag is missed", such asJDK-8176182, JDK-8176185, JDK-8176162, JDK-8176161, JDK-8176187, JDK-8176191
Same for test with @build but no explicit @run tag.
@build <classname>+ @run build <classname>+
@compile<option>* <arg>+ @run compile<option>* <arg>+
Though these shorthands are in tag-spec, it might be better to force "pass" or "fail" for compile-only test -
@compile/pass<option>* <arg>+
@compile/fail<option>* <arg>+
And for @compile (without /pass nor /fail) test, if test has no explicit @run tag, make test results "Error" to avoid "test does not run because @run tag is missed", such as
Same for test with @build but no explicit @run tag.