[test] RFR 8209771: jdk.test.lib.Utils::runAndCheckException error

Weijun Wang weijun.wang at oracle.com
Tue Aug 21 02:53:36 UTC 2018


Please take a review at

   https://bugs.openjdk.java.net/browse/JDK-8209771
   http://cr.openjdk.java.net/~weijun/8209771/webrev.00/

There is an error in the implementation of the method, and I also think ThrowingRunnable is more developer friendly here.
The methods are only used in hotspot so I'm asking for the code review here.

I also think in filterException(), filter.apply(null) should be called if test.run() has not thrown any exception, but this is a behavior change and I cannot be sure.

Please include my name in the recipient list as I'm not in the mail list.

This will be a noreg-self.

Thanks
Max

   


More information about the hotspot-dev mailing list