Fixes Java integration gocha