-
Type:
Enhancement
-
Resolution: Unresolved
-
Priority:
P4
-
Affects Version/s: 26
-
Component/s: core-libs
-
None
Core reflection accessors have their legacy system of access checks and conversions. The conversions are not quite the Java language ones and is scattered around the API, even though they are quite consistent. The access checks are performed against the declaring class instead of the referenced class. Both of these are better addressed by java.lang.invoke. We should better specify these behavior, and ask users to consider java.lang.invoke.
- csr for
-
JDK-8373197 Core reflection overview update for access check and conversions
-
- Draft
-
- links to
-
Review(master)
openjdk/jdk/28685