RFR: 8198526: getAnnotatedOwnerType does not handle static nested classes correctly

Joel Borggrén-Franck joel.borggren.franck at gmail.com
Wed Dec 19 09:11:33 UTC 2018

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


On Wed, Dec 12, 2018 at 10:41 PM Liam Miller-Cushon <cushon at google.com> wrote:
> On Fri, Dec 7, 2018 at 5:02 PM Liam Miller-Cushon <cushon at 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.

More information about the core-libs-dev mailing list