-
Type:
Enhancement
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 24
-
Component/s: core-libs
-
None
JavaLangReflectAccess exposes a lot of unnecessary APIs: many getters are just for creating a new constructor with same values, which can be done in j.l.reflect and exposed through a single API. Some other APIs, like leafCopy, can be converted to getRoot().copy as well. In principle, we should reduce usages of SharedSecrets, using them only as the last resort.
- links to
-
Commit(master)
openjdk/jdk/88ccbb60
-
Review(master)
openjdk/jdk/20290