RFR(T) : 8244142 : some hotspot/runtime tests don't check exit code of forked JVM :

gerard ziemski gerard.ziemski at oracle.com
Wed Apr 29 20:22:55 UTC 2020

hi Igor,

On 4/29/20 2:05 PM, Igor Ignatyev wrote:
> http://cr.openjdk.java.net/~iignatyev/8244142/webrev.00/
>> 7 lines changed: 3 ins; 0 del; 4 mod;
> Hi all,
> could you please review this trivial patch for 3 runtime tests?
> from JBS:
>> some of the hotspot/runtime tests which fork JVMs just check the content of their output/error and don't check exit code, b/c of this some defects might get unnoticed.
> testing: the changed tests
> webrev: http://cr.openjdk.java.net/~iignatyev/8244142/webrev.00/
> JBS: https://bugs.openjdk.java.net/browse/JDK-8244142

Those checks for exit!=0 seem reasonable.

Did we actually hit such cases in real life, or are we just being super 


More information about the hotspot-runtime-dev mailing list