Details
-
Enhancement
-
Resolution: Unresolved
-
P4
-
None
-
14
-
None
Description
Remi's suggestion: (see https://mail.openjdk.java.net/pipermail/core-libs-dev/2019-August/061923.html )
Proxy class computes all declared methods and stores them as static final fields. It can replace these static field initialization with constant dynamic.
The idea is that a ldc on a constant dynamic with bootstrap method that takes a MethodHandle as parameter (as boostrap argument) can return the corresponding Method by using Lookup.revealDirect + reflectAs.
Proxy class computes all declared methods and stores them as static final fields. It can replace these static field initialization with constant dynamic.
The idea is that a ldc on a constant dynamic with bootstrap method that takes a MethodHandle as parameter (as boostrap argument) can return the corresponding Method by using Lookup.revealDirect + reflectAs.
Attachments
Issue Links
- relates to
-
JDK-8242888 Convert dynamic proxy to hidden classes
- Open
-
JDK-8207814 (proxy) upgrade the proxy class generator to support new class file version
- Resolved