fixing private access error with OpenJDK7