java.io.File inherits from Comparable<File> instead of just Comparable in Java 5.0. Therefore the attached patch is required for building dev-java/mockupobjects-0.09-r1 with java 5.0. As Comparable<T>.compareTo is expected to throw ClassCastExceptions if invalid objects are passed, this patch should not change any semantics.
Created attachment 77159 [details, diff] Patch for building with Java 5.0
*** This bug has been marked as a duplicate of 69970 ***
Patch applied to dev-java/mockobjects-0.09-r3