On Fri, Jan 24, 2020 at 4:56 PM David Holmes <david.hol...@oracle.com> wrote:
>
> FYI.

I'm a bit curious about this:

> To invoke private nestmate instance methods from code in the hidden class, 
> use invokevirtual or invokeinterface instead of invokespecial. Generated 
> bytecode that uses invokespecial to invoke a private nestmate instance method 
> will fail verification. invokespecial should only be used to invoke private 
> nestmate constructors.

This seems pretty unusual.  Don't we normally use invokespecial for
private method invocations?  What is the reasoning for this?

-- 
- DML

Reply via email to