compilation fails with 'no enclosing instance' error
vicente.romero at oracle.com
Thu Mar 13 20:20:27 UTC 2014
The bug you reported has already been fixed in version 9.
Thanks again for the bug report,
original bug report: https://bugs.openjdk.java.net/browse/JDK-8034924
backport v9: https://bugs.openjdk.java.net/browse/JDK-8035432
On 27/02/14 21:29, Vicente-Arturo Romero-Zaldivar wrote:
> On 27/02/14 21:14, Liam Miller-Cushon wrote:
>> Got it, thanks for taking the time to explain.
> np, and thanks to you. You was right that the problem was there which
> made the search much easier.
>> On Thu, Feb 27, 2014 at 12:07 PM, Vicente-Arturo Romero-Zaldivar
>> <vicente.romero at oracle.com <mailto:vicente.romero at oracle.com>> wrote:
>> On 27/02/14 17:23, Liam Miller-Cushon wrote:
>>> 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.
>> Yes that's the idea of the patch I'm working on and that's why I
>> suggested that this was the reason of the problem :) As a side
>> effect we may have some performance improvement.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the compiler-dev