[Java] Fix out-dated signatures of JNI methods (#2756)

1) Renamed the native JNI methods and some parameters of JNI methods. 
2) Fixed native JNI methods' signatures by `javah` tool.
3) Removed some useless native methods.
This commit is contained in:
Wang Qing
2018-08-30 17:59:29 +08:00
committed by Hao Chen
parent ba7efafa67
commit 514633456b
7 changed files with 212 additions and 275 deletions
@@ -65,7 +65,7 @@ public class MockLocalScheduler implements LocalSchedulerLink {
}
@Override
public TaskSpec getTaskTodo() {
public TaskSpec getTask() {
throw new RuntimeException("invalid execution flow here");
}