Why doesn't reflection work when a class returns Lambdas

后端 未结 2 1780
有刺的猬
有刺的猬 2021-01-19 17:24

I have encountered a somewhat strange behaviour. I use annotations to mark certain classes with a particular purpose, and then I use org.reflections library to find all the

2条回答
  •  梦毁少年i
    2021-01-19 18:00

    From the issues list it seems that this library isn't fit for Java 8 features yet. I think your best bet is reporting this problem and maybe provide a fix.

提交回复
热议问题