Integrated: 8297977: vmTestbase/nsk/stress/except/except012.java fails with unexpected Exception
Coleen Phillimore
coleenp at openjdk.org
Fri Mar 24 13:27:49 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).
This pull request has now been integrated.
Changeset: 4ec720db
Author: Coleen Phillimore <coleenp at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/4ec720db9f1fedb5da96e70d1a8c5da5e773a5a7
Stats: 3900 lines in 14 files changed: 102 ins; 3798 del; 0 mod
8297977: vmTestbase/nsk/stress/except/except012.java fails with unexpected Exception
Reviewed-by: mseledtsov, lmesnik
-------------
PR: https://git.openjdk.org/jdk/pull/13169
More information about the hotspot-runtime-dev
mailing list