wip-java-api-fix: Changed accidental use of rootMirror to mirror in Java...

...ApiHelper