Apparently java 8 lambdas are incompatible with javassist. I have a project with vraptor-3.5.3 and when I add a lambda in my code, javassist throws an exception.
For example:
@Resource
public class FooController {
public void bar() {
List<Integer> list = Arrays.asList("oi").stream().map((s) -> s.length()).collect(Collectors.toList());
System.out.println(list);
result.nothing();
}
}
VRaptor throws the following exception: https://gist.github.com/csokol/3de6fb450689ff3c3660
Any ideas?
It's related to scanannotation, so it shouldn't affect vraptor 4, right? Maybe we should consider using reflections project (http://code.google.com/p/reflections/) to do the scanning, since scanannotation development is dead.
Apparently java 8 lambdas are incompatible with javassist. I have a project with vraptor-3.5.3 and when I add a lambda in my code, javassist throws an exception.
For example:
VRaptor throws the following exception: https://gist.github.com/csokol/3de6fb450689ff3c3660
Any ideas?
It's related to scanannotation, so it shouldn't affect vraptor 4, right? Maybe we should consider using reflections project (http://code.google.com/p/reflections/) to do the scanning, since scanannotation development is dead.