Hi Liam, This makes sense to me. Since nestingForType is used to navigate scoping/nesting in more cases than owner type and javac seem to be inconsistent with regards to locations (see [1] for example), will this break or fix something else?
[1] https://bugs.openjdk.java.net/browse/JDK-8148504 cheers /Joel On Wed, Dec 12, 2018 at 10:41 PM Liam Miller-Cushon <cus...@google.com> wrote: > > On Fri, Dec 7, 2018 at 5:02 PM Liam Miller-Cushon <cus...@google.com> wrote: > > > I rebased the webrev, and made some additional improvements and > > simplifications: > > http://cr.openjdk.java.net/~cushon/8198526/webrev.01/ > > > > The spec issue has been resolved (JDK-8215035), so this change is ready for > review.