Skip to content

Commit

Permalink
🐛 fix missing default cli args
Browse files Browse the repository at this point in the history
  • Loading branch information
guxingke committed Nov 22, 2019
1 parent d5b04b9 commit d7214d5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/com/gxk/jvm/interpret/Interpreter.java
Expand Up @@ -21,8 +21,7 @@ public void interpret(KMethod method, String[] args) {
Thread thread = new Thread(1024);
Frame frame = new Frame(method, thread);
if (args == null) {
doInterpret(thread, frame);
return;
args = new String[0];
}

KObject[] kargs = new KObject[args.length];
Expand Down

0 comments on commit d7214d5

Please sign in to comment.