Integrated: 8272096: Exceptions::new_exception can return wrong exception

Coleen Phillimore coleenp at openjdk.org
Tue Jul 19 14:44:57 UTC 2022


On Thu, 14 Jul 2022 12:49:34 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

> I added an assert if Exceptions::new_exception is called with a pending exception and fixed the places where it is called with a pending exception.   That leaves only two possible exceptions. I left the product mode code in to return the pending exception if allocating the exception message doesn't thrown OOM because it was always there and seems dubious.  Tested with jck tests and tier1-7.

This pull request has now been integrated.

Changeset: bbc57483
Author:    Coleen Phillimore <coleenp at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/bbc57483ce4904efa5ff4c8384a74ee7f8776317
Stats:     29 lines in 4 files changed: 6 ins; 5 del; 18 mod

8272096: Exceptions::new_exception can return wrong exception

Reviewed-by: hseigel, dholmes

-------------

PR: https://git.openjdk.org/jdk/pull/9492


More information about the hotspot-dev mailing list