Yeah, Java 8 changed things so that if a bridge method is generated for a
method with annotations, the annotations are copied to the bridge method. I
assume that's what's going on here.

On Wed Nov 05 2014 at 1:32:36 PM <[email protected]> wrote:

> Sorry, I should have been more clear.
>
> I added the !method.isSynthetic() to get rid of the warnings that started
> appearing after upgrading to Java 8.
> The same code running on Java 7 didn't match any synthetic methods, and I
> didn't need to filter them out.
> Something in Java 8 seems to be causing the issue, and I'm not using
> lamdas or anything Java 8 specific.
>
> It seems to be working fine now though with the extra synthetic check.
>
> --
> You received this message because you are subscribed to the Google Groups
> "google-guice" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/google-guice.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-guice/b3e9a0e8-831d-4c1f-854d-29e460f9e7fe%40googlegroups.com
> <https://groups.google.com/d/msgid/google-guice/b3e9a0e8-831d-4c1f-854d-29e460f9e7fe%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"google-guice" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-guice.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-guice/CAHJY%3Dp75BjPChEpHPdWzM%2B4F0xizmW%2B0DmEq5EyUpJxy9-8zMg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to