making it compile for OpenJDK