Project: JDT
Bug 123812 Generate hashCode() and equals() calls super methods although they're abstract
Reported: 2006-01-13 14:05:09 | Status: resolved fixed

HEAD Generate hashCode() and equals() calls super methods although they're abstract: abstract class Super { /** * MUST be reimplemented */ @Override public abstract boolean equals(Object obj); /** * MUST be reimplemented */ @Override public abstract int hashCode(); } class Sub extends Super { int field; //generate hashCode() and equals() here }

Files changed in fix:
org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/GenerateHashCodeEqualsOperation.java