Home  >  Q&A  >  body text

Java8中使用泛型通过反射获得注解的BUG如何解决?

ringa_leeringa_lee2714 days ago352

reply all(1)I'll reply

  • 怪我咯

    怪我咯2017-04-17 16:08:14

    It’s really annoying. http://www.oracle.com/technetwork/java/javase/8-compatibility-guide-2156366.html
    One sentence: parameter and method annotations are copied to synthetic bridge methods.
    I thought Java upgrades were all compatible.

    reply
    0
  • Cancelreply