Skip to content


8316060: test/hotspot/jtreg/runtime/reflect/ReflectOutOfMemoryError.j…
Browse files Browse the repository at this point in the history
…ava may fail if heap is huge

Backport-of: bd52bbfa272691caab227d736021362c06449535
  • Loading branch information
mrserb committed Oct 24, 2023
1 parent 00698a4 commit eb6ea91
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
* @test
* @bug 8297977
* @summary Test that throwing OOM from reflected method gets InvocationTargetException
* @run main/othervm/timeout=150 ReflectOutOfMemoryError
* @run main/othervm -Xmx128m ReflectOutOfMemoryError
import java.lang.reflect.*;

Expand Down

1 comment on commit eb6ea91

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.