Skip to content

8381222: Running a custom runtime image with AOTCache fails with "Unexpected exception" [jdk26]#154

Open
jyukutyo wants to merge 1 commit into
openjdk:masterfrom
jyukutyo:JDK-8381222
Open

8381222: Running a custom runtime image with AOTCache fails with "Unexpected exception" [jdk26]#154
jyukutyo wants to merge 1 commit into
openjdk:masterfrom
jyukutyo:JDK-8381222

Conversation

@jyukutyo

@jyukutyo jyukutyo commented Apr 9, 2026

Copy link
Copy Markdown
Member

This PR allows applications to start with both a custom image and an AOT cache file.

Testing:

  1. Reproducer
    The application started successfully with the JDK including this fix.
  2. Tier1–5
    No regressions were observed. Some tests failed, but they are not related to this fix.
  3. jtreg tests (test/hotspot/jtreg/runtime/cds/appcds/aotCache/)
    All tests passed on all platforms.

Progress

  • Change must be properly reviewed (1 review required, with at least 1 Reviewer)
  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue
  • JDK-8381222 needs maintainer approval

Issue

  • JDK-8381222: Running a custom runtime image with AOTCache fails with "Unexpected exception" [jdk26] (Bug - P3 - Requested)

Reviewers

Reviewing

Using git

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

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

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 154

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

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jdk26u/pull/154.diff

Using Webrev

Link to Webrev Comment

@bridgekeeper

bridgekeeper Bot commented Apr 9, 2026

Copy link
Copy Markdown

👋 Welcome back ksakata! 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 Apr 9, 2026

Copy link
Copy Markdown

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

@jyukutyo jyukutyo marked this pull request as ready for review April 9, 2026 04:59
@openjdk openjdk Bot added the rfr Pull request is ready for review label Apr 9, 2026
@mlbridge

mlbridge Bot commented Apr 9, 2026

Copy link
Copy Markdown

Webrevs

@bridgekeeper

bridgekeeper Bot commented May 7, 2026

Copy link
Copy Markdown

@jyukutyo This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply issue a /touch or /keepalive command to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration!

@iklam iklam left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@openjdk openjdk Bot removed the rfr Pull request is ready for review label May 13, 2026
@openjdk

openjdk Bot commented May 14, 2026

Copy link
Copy Markdown

⚠️ @jyukutyo This change is now ready for you to apply for maintainer approval. This can be done directly in each associated issue or by using the /approval command.

@openjdk openjdk Bot added the rfr Pull request is ready for review label May 14, 2026
@jyukutyo

Copy link
Copy Markdown
Member Author

Thank you for the review, Ioi. I appreciate it.

@jyukutyo

Copy link
Copy Markdown
Member Author

/approval request This fixes a JDK 26 issue where applications fail to start with a custom runtime image and an AOT cache file. The change is limited in scope, has been reviewed, and was verified with the reproducer. Tier1-5 testing showed no regressions related to this change, and all relevant AOTCache jtreg tests passed on all platforms.

@openjdk

openjdk Bot commented May 14, 2026

Copy link
Copy Markdown

@jyukutyo
8381222: The approval request has been created successfully.

@openjdk openjdk Bot added the approval Requires approval; will be removed when approval is received label May 14, 2026
@bridgekeeper

bridgekeeper Bot commented Jun 11, 2026

Copy link
Copy Markdown

@jyukutyo This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply issue a /touch or /keepalive command to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration!

@G00fY2

G00fY2 commented Jun 18, 2026

Copy link
Copy Markdown

Hi @G00fY2, thanks for making a comment in an OpenJDK project!

All comments and discussions in the OpenJDK Community must be made available under the OpenJDK Terms of Use. If you already are an OpenJDK Author, Committer or Reviewer, please click here to open a new issue so that we can record that fact. Please Use "Add GitHub user G00fY2" for the summary.

If you are not an OpenJDK Author, Committer or Reviewer, simply check the box below to accept the OpenJDK Terms of Use for your comments.

Your comment will be automatically restored once you have accepted the OpenJDK Terms of Use.

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

Labels

approval Requires approval; will be removed when approval is received rfr Pull request is ready for review

Development

Successfully merging this pull request may close these issues.

3 participants