Maison  >  Questions et réponses  >  le corps du texte

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

ringa_leeringa_lee2714 Il y a quelques jours350

répondre à tous(1)je répondrai

  • 怪我咯

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

    真是坑死爹了。http://www.oracle.com/technetwork/java/javase/8-compatibility-guide-2156366.html
    一句话:parameter and method annotations are copied to synthetic bridge methods。
    我还以为Java升级都是兼容的。

    répondre
    0
  • Annulerrépondre