Skip to content

Commit

Permalink
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

Reviewed-by: lmesnik, dholmes
  • Loading branch information
mrserb committed Sep 13, 2023
1 parent dde1155 commit bd52bbf
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

3 comments on commit bd52bbf

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

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

@mrserb
Copy link
Member Author

@mrserb mrserb commented on bd52bbf Oct 19, 2023

Choose a reason for hiding this comment

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

/backport jdk21u

@openjdk
Copy link

@openjdk openjdk bot commented on bd52bbf Oct 19, 2023

Choose a reason for hiding this comment

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

@mrserb the backport was successfully created on the branch mrserb-backport-bd52bbfa in my personal fork of openjdk/jdk21u. To create a pull request with this backport targeting openjdk/jdk21u:master, just click the following link:

➡️ Create pull request

The title of the pull request is automatically filled in correctly and below you find a suggestion for the pull request body:

Hi all,

This pull request contains a backport of commit bd52bbfa from the openjdk/jdk repository.

The commit being backported was authored by Sergey Bylokhov on 13 Sep 2023 and was reviewed by Leonid Mesnik and David Holmes.

Thanks!

If you need to update the source branch of the pull then run the following commands in a local clone of your personal fork of openjdk/jdk21u:

$ git fetch https://github.com/openjdk-bots/jdk21u.git mrserb-backport-bd52bbfa:mrserb-backport-bd52bbfa
$ git checkout mrserb-backport-bd52bbfa
# make changes
$ git add paths/to/changed/files
$ git commit --message 'Describe additional changes made'
$ git push https://github.com/openjdk-bots/jdk21u.git mrserb-backport-bd52bbfa

Please sign in to comment.