[fedora-java] fix for some FTBFS in rawhide