[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
@@ -11,7 +11,7 @@ public interface LocalSchedulerLink {
void submitTask(TaskSpec task);
TaskSpec getTaskTodo();
TaskSpec getTask();
void markTaskPutDependency(UniqueID taskId, UniqueID objectId);
@@ -80,7 +80,7 @@ public class LocalSchedulerProxy {
}
public TaskSpec getTask() {
TaskSpec ts = scheduler.getTaskTodo();
TaskSpec ts = scheduler.getTask();
RayLog.core.info("Task " + ts.taskId.toString() + " received");
return ts;
}