Abstract Enum patch for OpenJDK