RFR: 8330578: The VM creates instance of abstract class VirtualMachineError

Ioi Lam iklam at openjdk.org
Fri Apr 19 00:12:00 UTC 2024


On Thu, 18 Apr 2024 21:46:36 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

> It's a bug that the VM creates an instance of the abstract class VirtualMachineError.  In the cases where we throw VME, we should throw OOM or StackOverflowError instead.
> 
> Tested with tier1-4.

LGTM

src/hotspot/share/classfile/verifier.cpp line 156:

> 154: }
> 155: 
> 156: 

Inadvertent new line?

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

Marked as reviewed by iklam (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/18847#pullrequestreview-2010166787
PR Review Comment: https://git.openjdk.org/jdk/pull/18847#discussion_r1571539678


More information about the hotspot-dev mailing list