Closed GoogleCodeExporter closed 8 years ago
I see the same issue using Reflections 0.9.8
Original comment by ursreu...@gmail.com
on 4 May 2014 at 8:33
Looking through the code, I surmise that this is actually an issue with the
version of the Javassist-library used in Reflections
Java 8 lambdas use the "invokeDynamic" facility available since Java 7, which
is yet unsupported by the version of Javassist included in Reflections. To the
version used, classes using lambdas and method references look illegal, since
they contain unknown elements.
As far as I can see, Javassist has had support for "invokeDynamic" for a while
now, and there are two newer versions of the library available.
Updating Reflections to use the most recent Javassist 3.18.1-GA should fix this
issue.
Original comment by ursreu...@gmail.com
on 4 May 2014 at 9:08
I have tested with a local build and can confirm that updating the dependency
to the latest version fixes the issue.
Since ronmamo already made that change on Github, I will ask for a fresh
snapshot there.
Original comment by ursreu...@gmail.com
on 4 May 2014 at 9:51
Thanks for the feedback, ursrepue. release is on the way...
Original comment by ronm...@gmail.com
on 5 Jun 2014 at 6:53
Original issue reported on code.google.com by
maik.bro...@gmail.com
on 6 Feb 2014 at 12:42