KentBeck/junit — Issue #382: MethodSorter contains non-compliant @Override annotation
Author: peterdemaeyer
Created: 2012-02-15 17:19:12+00:00
State: open

MethodSorter contains an anonymous inner Comparator class which uses an @Override annotation which is not Java5 compliant. As a result, the current version (4.10 which I recently pulled) won't compile against Java5.

Correct me if I'm wrong, but I was under the impression that JUnit4 is still intended to be Java5 compliant...

Note that this is the _only_ compile error against Java5...

Fix is trivial: remove the offending annotation.