BUG: Fix for the build of the java_test