Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 119080

Summary: dev-java/mockobjects-0.09-r1 doesn't build with java 5.0
Product: Gentoo Linux Reporter: Mathias Hasselmann <mathias.hasselmann>
Component: [OLD] LibraryAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch for building with Java 5.0

Description Mathias Hasselmann 2006-01-15 05:41:22 UTC
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.
Comment 1 Mathias Hasselmann 2006-01-15 05:42:14 UTC
Created attachment 77159 [details, diff]
Patch for building with Java 5.0
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-01-15 05:45:03 UTC

*** This bug has been marked as a duplicate of 69970 ***
Comment 3 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2007-12-02 13:37:57 UTC
Patch applied to dev-java/mockobjects-0.09-r3