Permalink
Browse files

Move to newer .class file version

  • Loading branch information...
1 parent 4415323 commit a144313814e00071a3f102f473b1ee36323aa00f @krestenkrab krestenkrab committed Oct 4, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/erjang/EFun.java
@@ -220,7 +220,7 @@ private static String erlangNameOfMethod(Method method) {
String self_type = EFUN_TYPE.getInternalName() + arity;
ClassWriter cw = new ClassWriter(ClassWriter.COMPUTE_FRAMES|ClassWriter.COMPUTE_MAXS);
- cw.visit(Opcodes.V1_5, Opcodes.ACC_PUBLIC | Opcodes.ACC_ABSTRACT,
+ cw.visit(Opcodes.V1_6, Opcodes.ACC_PUBLIC | Opcodes.ACC_ABSTRACT,
self_type, null, EFUN_TYPE.getInternalName(), null);
make_invoke_method(cw, self_type, arity);

0 comments on commit a144313

Please sign in to comment.