Fix java binding to reflect new api
1 file changed