Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 119080 - dev-java/mockobjects-0.09-r1 doesn't build with java 5.0
Summary: dev-java/mockobjects-0.09-r1 doesn't build with java 5.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-15 05:41 UTC by Mathias Hasselmann
Modified: 2007-12-02 13:38 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch for building with Java 5.0 (mockobjects-0.09-tbf.patch,365 bytes, patch)
2006-01-15 05:42 UTC, Mathias Hasselmann
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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