RFR: 8360131: Remove use of soon-to-be-removed APIs by CTW framework [v2]
Tobias Hartmann
thartmann at openjdk.org
Mon Jun 23 05:07:28 UTC 2025
On Fri, 20 Jun 2025 16:02:17 GMT, David Beaumont <duke at openjdk.org> wrote:
>> Migrate the CWT framework to use only supported JRT file system access for fetching class bytes.
>> This avoids accessing APIs in ImageReader which are scheduled to be removed as part of preview mode class support in Valhalla (essentially these APIs are "too low level" and expose semantics that are incompatible with supporting preview classes in Valhalla).
>>
>> This will be a further change to this code when the preview mode work goes in, but this will be limited to how the file system is opened (with or without preview mode).
>
> David Beaumont has updated the pull request incrementally with one additional commit since the last revision:
>
> Feedback tweaks.
Looks good to me but since variants of CTW are executed in tier3 as well, I would recommend running tier1-3 before integrating this.
-------------
Marked as reviewed by thartmann (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/25916#pullrequestreview-2948671168
More information about the hotspot-compiler-dev
mailing list