New candidate JEP: 371: Hidden Classes

Mandy Chung mandy.chung at oracle.com
Sat Jan 25 17:07:23 UTC 2020



On 1/24/20 9:15 PM, Bernd Eckenfels wrote:
> Hello,
> 
> I wonder will this (weak class) be useful for reflective method 
> accessors and even be able to reduce/remove the need of 
> jdk.internal.reflect.DelegatingClassLoaders? If so, that would be a good 
> example to mention in the JEP (it only mentions Proxies).

The other alternative is to change core reflection to use MethodHandle
where Peter Levart has a prototype:
    https://bugs.openjdk.java.net/browse/JDK-6824466

This would help the reflective support for inline classes and
new VM/language feature such that adding support in MethodHandle
will work both both.

> (And I was really surprised to see Nashorn mentioned after it is 
> deprecated, even when it is certainly a good Test bed).

Yes Roger brought that up too. It can be taken out.

thanks
Mandy

> Gruss
> Bernd
> 
> 
> -- 
> http://bernd.eckenfels.net
> ------------------------------------------------------------------------
> *Von:* core-libs-dev <core-libs-dev-bounces at openjdk.java.net> im Auftrag 
> von David Holmes <david.holmes at oracle.com>
> *Gesendet:* Friday, January 24, 2020 11:56:07 PM
> *An:* hotspot-dev developers <hotspot-dev at openjdk.java.net>; 
> core-libs-dev Libs <core-libs-dev at openjdk.java.net>
> *Betreff:* Fwd: New candidate JEP: 371: Hidden Classes
> FYI.
> 
> Cheers,
> David


More information about the core-libs-dev mailing list