RFR: 8297977: vmTestbase/nsk/stress/except/except012.java fails with unexpected Exception
Mikhailo Seledtsov
mseledtsov at openjdk.org
Thu Mar 23 21:11:05 UTC 2023
On Thu, 23 Mar 2023 20:49:08 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
> These vmTestbase/nsk/stress/except tests all allocate enough memory to get an OutOfMemoryError then try to throw an exception for a variety of error conditions. The tests pass (or all say it's "Skipped ...") if that throws OutOfMemoryError, which all the tests do.
> Only except001.java did something useful - called a function that gets OOM reflectively then tests that it got an InvocationTargetException so I moved that to runtime/reflect/ReflectOutOfMemoryError.java. This change removes the rest.
>
> I couldn't reproduce the original failure in except012.java, which gets another exception (not OOM or ThreadDeath).
Looks good to me. Thank you Coleen.
-------------
Marked as reviewed by mseledtsov (Committer).
PR Review: https://git.openjdk.org/jdk/pull/13169#pullrequestreview-1355643759
More information about the hotspot-runtime-dev
mailing list