Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohan Kornipati committed Feb 10, 2016
1 parent 6278e28 commit 3141b15
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public class ASMAccessorOptimizer extends AbstractOptimizer implements AccessorO
OPCODES_VERSION = Opcodes.V1_4;
else if (javaVersion.startsWith("1.5"))
OPCODES_VERSION = Opcodes.V1_5;
else if (javaVersion.startsWith("1.6") || javaVersion.startsWith("1.7"))
else if (javaVersion.startsWith("1.6") || javaVersion.startsWith("1.7") || javaVersion.startsWith("1.8"))
OPCODES_VERSION = Opcodes.V1_6;
else
OPCODES_VERSION = Opcodes.V1_2;
Expand Down

2 comments on commit 3141b15

@vikasbo
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mkornipati I get mvel/src/main/java/org/mvel2/util/JITClassLoader.java:[49,33] error: method defineClass in class Unsafe cannot be applied to given types;
on packaging this project. Can you share instructions for java version for this build release? thanks

@vikasbo
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mkornipati Does it require java version 1.5 and maven version 2 to build? Is it possible to download this jar directly?

Please sign in to comment.