-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ClassFormatException when running 1.1.7 on Java8 #86
Comments
Parser class is defined as static inner class of another class, and it also uses sibling static inner classes. |
Ok, I've figured out that this error arises if I use |
+1, but seems to be a quite rare scenario? |
Just want to simplify the action, but got this error // helper function
public static <V> Action<V> run(Consumer<Context<V>> func) {
return v -> {
func.accept(v);
return true;
};
}
// use in rule
return Sequence(..., Parsers.run((c) -> node.setName(match())), ...); |
+1 Any known fix/workaround ? I didn't use any Actions in my project. I have a slightly different error cause:
|
I think it's caused when lambdas are somehow used in an old java class version (e.g 1.6). If i replace list#forEach(lambda) with a for() loop, then it works fine |
Exception while trying to instantiate parser using
Parboiled.createParser()
Java version: 1.8.0_25
The text was updated successfully, but these errors were encountered: