Skip to content

8380750: Test runtime/cds/appcds/TestSerialGCWithCDS.java#id1 failed: StringIndexOutOfBoundsException#31698

Open
matias9927 wants to merge 1 commit into
openjdk:masterfrom
matias9927:serial_gc_with_cds_8380750
Open

8380750: Test runtime/cds/appcds/TestSerialGCWithCDS.java#id1 failed: StringIndexOutOfBoundsException#31698
matias9927 wants to merge 1 commit into
openjdk:masterfrom
matias9927:serial_gc_with_cds_8380750

Conversation

@matias9927

@matias9927 matias9927 commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

This test was failing with this error:
java.lang.StringIndexOutOfBoundsException: Range [3973, 3) out of bounds for length 4540
due to an issue with getCrashMessage in CDSTestUtils. It is possible for the hserr log file to not be present with errors like OOME, so this had to be refactored to check for a more reliably present part of the error message. Verifed with tier 1-5 tests.



Progress

  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue
  • Change must be properly reviewed (2 reviews required, with at least 1 Reviewer, 1 Author)

Error

 ⚠️ Pull request body is missing required line: - [x] I confirm that I make this contribution in accordance with the [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai).

Issue

  • JDK-8380750: Test runtime/cds/appcds/TestSerialGCWithCDS.java#id1 failed: StringIndexOutOfBoundsException (Bug - P4)

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/31698/head:pull/31698
$ git checkout pull/31698

Update a local copy of the PR:
$ git checkout pull/31698
$ git pull https://git.openjdk.org/jdk.git pull/31698/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 31698

View PR using the GUI difftool:
$ git pr show -t 31698

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/31698.diff

@bridgekeeper

bridgekeeper Bot commented Jun 26, 2026

Copy link
Copy Markdown

👋 Welcome back matsaave! A progress list of the required criteria for merging this PR into master will be added to the body of your pull request. There are additional pull request commands available for use with this pull request.

@openjdk

openjdk Bot commented Jun 26, 2026

Copy link
Copy Markdown

❗ This change is not yet ready to be integrated.
See the Progress checklist in the description for automated requirements.

@openjdk openjdk Bot added the hotspot-runtime hotspot-runtime-dev@openjdk.org label Jun 26, 2026
@openjdk

openjdk Bot commented Jun 26, 2026

Copy link
Copy Markdown

@matias9927 The following label will be automatically applied to this pull request:

  • hotspot-runtime

When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing list. If you would like to change these labels, use the /label pull request command.

@openjdk

openjdk Bot commented Jun 26, 2026

Copy link
Copy Markdown

The total number of required reviews for this PR has been set to 2 based on the presence of this label: hotspot-runtime. This can be overridden with the /reviewers command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hotspot-runtime hotspot-runtime-dev@openjdk.org

Development

Successfully merging this pull request may close these issues.

1 participant