fix java split also in snapshot