RFR: API classes supporting RuntimeTypes and ArrayCreation bootstraps [v5]
Dan Smith
dlsmith at openjdk.org
Mon Aug 19 19:16:12 UTC 2024
> - Introduce the RuntimeType interface
> - Modify Class to implement RuntimeType
> - Introduce NullRestrictedClass as another implementation of RuntimeType
> - Provide ConstantDesc support for NullRestrictedClasses
> - Introduce reflection hooks to query RuntimeType of fields and arrays (just return Classes for now)
> - Provide ArrayCreation bootstraps to create arrays with RuntimeTypes, initial values, and flags (no runtime support for new features yet—implementation bottoms out at Array.newInstance)
> - Basic functionality testing of ArrayCreation bootstraps
Dan Smith has updated the pull request incrementally with one additional commit since the last revision:
Bug fix for ArrayCreation.constantEnumerated; added tests for int array creation
-------------
Changes:
- all: https://git.openjdk.org/valhalla/pull/1210/files
- new: https://git.openjdk.org/valhalla/pull/1210/files/fd9c980f..7b87fa55
Webrevs:
- full: https://webrevs.openjdk.org/?repo=valhalla&pr=1210&range=04
- incr: https://webrevs.openjdk.org/?repo=valhalla&pr=1210&range=03-04
Stats: 315 lines in 3 files changed: 269 ins; 0 del; 46 mod
Patch: https://git.openjdk.org/valhalla/pull/1210.diff
Fetch: git fetch https://git.openjdk.org/valhalla.git pull/1210/head:pull/1210
PR: https://git.openjdk.org/valhalla/pull/1210
More information about the valhalla-dev
mailing list