Integrated: 8360131: Remove use of soon-to-be-removed APIs by CTW framework
David Beaumont
duke at openjdk.org
Tue Jun 24 08:12:34 UTC 2025
On Fri, 20 Jun 2025 14:33:49 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).
This pull request has now been integrated.
Changeset: fdfc5578
Author: David Beaumont <david.beaumont at oracle.com>
Committer: Tobias Hartmann <thartmann at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/fdfc557878a7a2ec984002f38b871da5eec71217
Stats: 57 lines in 2 files changed: 29 ins; 4 del; 24 mod
8360131: Remove use of soon-to-be-removed APIs by CTW framework
Reviewed-by: liach, thartmann
-------------
PR: https://git.openjdk.org/jdk/pull/25916
More information about the hotspot-compiler-dev
mailing list