RFR: 8365467: Issues with jrtfs implementation for exploded run-time images [v2]

David Beaumont duke at openjdk.org
Wed Sep 3 17:43:52 UTC 2025


On Sat, 30 Aug 2025 14:22:11 GMT, Chen Liang <liach at openjdk.org> wrote:

>> Is that thumbs up and confirmation that you've checked it?
>
> @david-beaumont I think you need to override `getLocation` if you override `isResource` so image reader can actually fetch the data - unfortunately this is not clearly documented.

Ooooh. That's interesting.
So before, these nodes were none of the types resource, directory or link.
And obviously that was working to an extent.
And you're right that "isResource()" should imply "getResource()" works, but if that's the case, how can a JRT file system be built on top of this at all?
I need to investigate more...

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/26757#discussion_r2319724975


More information about the core-libs-dev mailing list