Permalink
Browse files

shutup compiler

--HG--
branch : 2.x
  • Loading branch information...
1 parent 52f26c6 commit 7e62a5f28692f7abc99f6367eb69da1b99eb4291 @pxb1988 committed May 29, 2015
@@ -393,7 +393,7 @@ public static void main(String... args) throws Exception {
} else {
Method m = clz.getMethod("main",String[].class);
m.setAccessible(true);
- m.invoke(null, newArgs);
+ m.invoke(null, (Object)newArgs);
}
}
@@ -7,7 +7,7 @@ dependencies {
}
compile "org.ow2.asm:asm-debug-all:5.0.3"
antlr2java "org.antlr:antlr:3.5.2"
- provided project(':d2j-base-cmd')
+ compile project(':d2j-base-cmd')
}
task antlr2java(type: JavaExec) {
@@ -7,8 +7,8 @@ dependencies {
}
compile project(':dex-reader')
antlr2java(group: 'org.antlr', name: 'antlr', version:'3.5.2')
- provided project(':d2j-base-cmd')
- provided project(':dex-writer')
+ compile project(':d2j-base-cmd')
+ compile project(':dex-writer')
}
task antlr2java(type: JavaExec) {
@@ -564,6 +564,7 @@ public DvmValue newOperation(DexStmtNode insn) {
return b(nStaticField(field.getOwner(), field.getName(), field.getType()));
case NEW_INSTANCE:
return b(nNew(((TypeStmtNode) insn).type));
+ default:
}
return null;
}

0 comments on commit 7e62a5f

Please sign in to comment.