On Sat, Jan 25, 2020 at 6:09 PM Mandy Chung <mandy.ch...@oracle.com> wrote:
> > > 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. > > Oh this is neat. We would also save Metaspace since we would not need accessor classes and their loaders. Also reduces Metaspace fragmentation. > (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-boun...@openjdk.java.net> im > Auftrag > > von David Holmes <david.hol...@oracle.com> > > *Gesendet:* Friday, January 24, 2020 11:56:07 PM > > *An:* hotspot-dev developers <hotspot-...@openjdk.java.net>; > > core-libs-dev Libs <core-libs-dev@openjdk.java.net> > > *Betreff:* Fwd: New candidate JEP: 371: Hidden Classes > > FYI. > > > > Cheers, > > David >