Mvel not working with Java 10 (11)
See original GitHub issueMvel is throwing exceptions with Java 10
java.lang.VerifyError: (class: ASMAccessorImpl_12980986021528934154020, method: setValue signature: (Ljava/lang/Object;Ljava/lang/Object;Lorg/mvel2/integration/VariableResolverFactory;Ljava/lang/Object;)Ljava/lang/Object;) Illegal type in constant pool
at java.base/java.lang.Class.getDeclaredConstructors0(Native Method)
at java.base/java.lang.Class.privateGetDeclaredConstructors(Class.java:3090)
at java.base/java.lang.Class.getConstructor0(Class.java:3295)
at java.base/java.lang.Class.newInstance(Class.java:532)
at org.mvel//org.mvel2.optimizers.impl.asm.ASMAccessorOptimizer._initializeAccessor(ASMAccessorOptimizer.java:757)
at org.mvel//org.mvel2.optimizers.impl.asm.ASMAccessorOptimizer.optimizeSetAccessor(ASMAccessorOptimizer.java:663)
at org.mvel//org.mvel2.optimizers.dynamic.DynamicSetAccessor.optimize(DynamicSetAccessor.java:83)
at org.mvel//org.mvel2.optimizers.dynamic.DynamicSetAccessor.setValue(DynamicSetAccessor.java:60)
at org.mvel//org.mvel2.compiler.CompiledAccExpression.setValue(CompiledAccExpression.java:59)
at org.mvel//org.mvel2.ast.DeepAssignmentNode.getReducedValueAccelerated(DeepAssignmentNode.java:90)
at org.mvel//org.mvel2.compiler.ExecutableAccessor.getValue(ExecutableAccessor.java:42)
at org.mvel//org.mvel2.MVEL.executeExpression(MVEL.java:968)
Issue Analytics
- State:
- Created 5 years ago
- Comments:5
Top Results From Across the Web
MVEL not working as desired for empty comparison
All three are related to MVEL issues. For the Q1 and Q2 ,. For empty operator, MVEL has a class BlankLiteral , and...
Read more >MVEL (mvel 2.0 API) - javadoc.io
IOException - Exception thrown if there is an IO problem accessing the file. evalFile. public static java.lang.Object evalFile(java.io.File file, java.lang.
Read more >Chapter 23. MVEL Red Hat Fuse 7.6
MVEL is a Java-based dynamic language that is similar to OGNL, but is reported to be much faster. The MVEL support is in...
Read more >MVEL
MVEL is an expression language based on Java-syntax, with some marked differences ... New lines are not substitutes for the use of the...
Read more >Implement your own Rule-Engine (Java8 + SpringBoot + MVEL)
DSL or Domain Specific Language means, It's not a part of MVEL. ... Also, here input and output keywords represent the two java...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ve managed to get MVEL working on Java 10 by using a dependency from jitpack.io.
This is what needs to be added to your Maven POM.
I would appreciate an official release published to Maven Central.
Is this fixed in 2.4.8? Using the jitpack snapshot for now but looking for the possibility of upgrading.