[code-reflection] Integrated: Unified access type info.. also removed dead optkl.Trxfmr code

Gary Frost gfrost at openjdk.org
Wed Dec 31 14:23:06 UTC 2025


We had duplicated code  handling access info (RW/RO/WO etc) to handle annotations and enums.  

I merged the code here so the enum also matches the annotation info.  This way we keep them in sync. 

I was concerned we may change the byte descripor bit positions in one place and spend days debugging (not realizing we had another supposedly identical byte layout).

I moved this down info the iface mapper (from the Buffer Tracker) 

This greatly simplified handling this data in ArgArray buffer code.  Which was bridging the two representations. 

Also removed some dead code  in optkl.Trxfmr.

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

Commit messages:
 - Unified access type info.. also removed dead optkl.Trxfmr  code

Changes: https://git.openjdk.org/babylon/pull/799/files
  Webrev: https://webrevs.openjdk.org/?repo=babylon&pr=799&range=00
  Stats: 277 lines in 5 files changed: 114 ins; 111 del; 52 mod
  Patch: https://git.openjdk.org/babylon/pull/799.diff
  Fetch: git fetch https://git.openjdk.org/babylon.git pull/799/head:pull/799

PR: https://git.openjdk.org/babylon/pull/799


More information about the babylon-dev mailing list