RFR: 8364187: Make getClassAccessFlagsRaw non-native [v4]

Coleen Phillimore coleenp at openjdk.org
Wed Jul 30 11:05:34 UTC 2025


> This change removes the intrinsic for getClassAccessFlagsRaw for reflection and initializes an rawAccessFlags field in java.lang.Class instead, that Java code can non-natively access.
> Tested with tier1-4.

Coleen Phillimore has updated the pull request incrementally with one additional commit since the last revision:

  Update src/java.base/share/classes/jdk/internal/reflect/Reflection.java
  
  Co-authored-by: ExE Boss <3889017+ExE-Boss at users.noreply.github.com>

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/26517/files
  - new: https://git.openjdk.org/jdk/pull/26517/files/a4974473..45b92c5c

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=26517&range=03
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=26517&range=02-03

  Stats: 2 lines in 1 file changed: 0 ins; 1 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/26517.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/26517/head:pull/26517

PR: https://git.openjdk.org/jdk/pull/26517


More information about the core-libs-dev mailing list