compilation fails with 'no enclosing instance' error

Liam Miller-Cushon cushon at google.com
Thu Feb 27 09:23:41 PST 2014


>
> Well hiddenIn() is not used for methods only, also fields are considered.
>

So hiddenIn() should search along the path from the class to the member's
owner, and at each step search the superinterfaces of the current class? I
think the only change from the current implementation would be terminating
the search after reaching the owner.

Thanks,
Liam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20140227/710d9e66/attachment-0001.html 


More information about the compiler-dev mailing list