[jdk17u-dev] RFR: 8318626: GetClassFields does not filter out ConstantPool.constantPoolOop field
Satyen Subramaniam
ssubramaniam at openjdk.org
Wed Apr 30 23:14:16 UTC 2025
Backporting JDK-8318626: GetClassFields does not filter out ConstantPool.constantPoolOop field. Fix adjusts FilteredFieldStream implementation to handle cases when filtered fields is the last field of the class. Adds two tests for functionality. Ran GHA Sanity Checks, local Tier 1 and 2, and new tests. Patch is clean.
-------------
Commit messages:
- Backport d1e73b1299b03a54ec0376ad0f747b4d7e64e40b
Changes: https://git.openjdk.org/jdk17u-dev/pull/3542/files
Webrev: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=3542&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8318626
Stats: 154 lines in 3 files changed: 149 ins; 4 del; 1 mod
Patch: https://git.openjdk.org/jdk17u-dev/pull/3542.diff
Fetch: git fetch https://git.openjdk.org/jdk17u-dev.git pull/3542/head:pull/3542
PR: https://git.openjdk.org/jdk17u-dev/pull/3542
More information about the jdk-updates-dev
mailing list