Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 548070 - dev-java/castor-1.1.1-r3 fails to compile with jdk 1.8
Summary: dev-java/castor-1.1.1-r3 fails to compile with jdk 1.8
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on: 268619
Blocks: jdk8-tracker
  Show dependency tree
 
Reported: 2015-04-28 21:53 UTC by William L. Thomson Jr.
Modified: 2015-12-02 15:47 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description William L. Thomson Jr. 2015-04-28 21:53:15 UTC
Package is presently failing to compile with oracle-jdk-bin-1.8, assuming the following is due to 1.8 but could be other. This package is not current, the latest version is 1.3.3 per bug 268619, but seems to be using maven so not easily updated.

Its just these 2 errors, not sure if there are more. But it could likely be fixed via a patch or sed. Though ideally the package gets updated as the proper fix.

    [javac] /tmp/portage/dev-java/castor-1.1.1-r3/work/castor-1.1.1/src/main/java/org/castor/util/concurrent/ConcurrentHashMap.java:629: error: remove(Object,Object) in ConcurrentHashMap cannot implement remove(Object,Object) in Map
    [javac]     protected Object remove(Object key, Object value) {
    [javac]                      ^
    [javac]   attempting to assign weaker access privileges; was public
    [javac] /tmp/portage/dev-java/castor-1.1.1-r3/work/castor-1.1.1/src/main/java/org/castor/cache/hashbelt/container/MapContainer.java:37: error: remove(Object,Object) in ConcurrentHashMap cannot implement remove(Object,Object) in Map
    [javac] public final class MapContainer extends ConcurrentHashMap implements Container {
    [javac]              ^
    [javac]   attempting to assign weaker access privileges; was public
Comment 1 Patrice Clement gentoo-dev 2015-10-29 13:15:27 UTC
This package has been masked for removal. See bug 268619. We will close this bug after the removal.
Comment 2 Patrice Clement gentoo-dev 2015-12-02 15:47:40 UTC
Package removed.