Skip to content

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

Open
jyukutyo wants to merge 1 commit intoopenjdk: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 intoopenjdk:masterfrom
jyukutyo:JDK-8381222

Conversation

@jyukutyo
Copy link
Copy Markdown
Member

@jyukutyo jyukutyo commented Apr 9, 2026

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)

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
Copy link
Copy Markdown

bridgekeeper Bot commented Apr 9, 2026

👋 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
Copy link
Copy Markdown

openjdk Bot commented Apr 9, 2026

❗ 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
Copy link
Copy Markdown

mlbridge Bot commented Apr 9, 2026

Webrevs

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

Labels

rfr Pull request is ready for review

Development

Successfully merging this pull request may close these issues.

1 participant