Re: Where to ask about a potential bug/oversight with hidden classes

2024-09-16 Thread Matias Koivikko
Thanks for the explanation, Chen. I was confused by the javadoc on defineClass, as it states that references would also be redirected during verification. I now see that class loads during verification are irrelevant here. I was also unaware that the receiver of field and method references were di

Re: Where to ask about a potential bug/oversight with hidden classes

2024-09-10 Thread Chen Liang
Hi Matias, Since MethodHandles is a library API, I think we can discuss about this on core-libs list. About the self-reference replacement: as the spec says, it only happens to the thisClass Class entry in the hidden class. That means if the class is referenced in a method (such as a method's p