8380750: Test runtime/cds/appcds/TestSerialGCWithCDS.java#id1 failed: StringIndexOutOfBoundsException#31698
Conversation
… StringIndexOutOfBoundsException
|
👋 Welcome back matsaave! A progress list of the required criteria for merging this PR into |
|
❗ This change is not yet ready to be integrated. |
|
@matias9927 The following label will be automatically applied to this pull request:
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. |
|
The total number of required reviews for this PR has been set to 2 based on the presence of this label: |
This test was failing with this error:
java.lang.StringIndexOutOfBoundsException: Range [3973, 3) out of bounds for length 4540due 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
Error
- [x] I confirm that I make this contribution in accordance with the [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai).Issue
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/31698/head:pull/31698$ git checkout pull/31698Update a local copy of the PR:
$ git checkout pull/31698$ git pull https://git.openjdk.org/jdk.git pull/31698/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 31698View PR using the GUI difftool:
$ git pr show -t 31698Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/31698.diff