Skip to content

update javassist to 3.18.2-GA or higher #610

@csokol

Description

@csokol

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions