Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 550138 - dev-java/concurrent-util-1.3.4-r1: ConcurrentHashMap.java:678: error: remove(Object,Object) in ConcurrentHashMap cannot implement remove(Object,Object) in Map
Summary: dev-java/concurrent-util-1.3.4-r1: ConcurrentHashMap.java:678: error: remove(...
Status: RESOLVED DUPLICATE of bug 544038
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-22 08:47 UTC by Martin Mokrejš
Modified: 2015-05-27 07:55 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 Martin Mokrejš 2015-05-22 08:47:51 UTC
>>> Emerging (4 of 36) dev-java/concurrent-util-1.3.4-r1::gentoo
 * gentoo-concurrent-util-1.3.4.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                        [ ok ]
/usr/portage/eclass/java-utils-2.eclass: line 294: USE: readonly variable
/usr/portage/eclass/java-utils-2.eclass: line 294: USE: readonly variable
/usr/portage/eclass/java-utils-2.eclass: line 294: USE: readonly variable
 * Using: oracle-jdk-bin-1.8
>>> Unpacking source...
>>> Unpacking gentoo-concurrent-util-1.3.4.tar.bz2 to /var/tmp/portage/dev-java/concurrent-util-1.3.4-r1/work
>>> Source unpacked in /var/tmp/portage/dev-java/concurrent-util-1.3.4-r1/work
>>> Compiling source in /var/tmp/portage/dev-java/concurrent-util-1.3.4-r1/work/concurrent-util-1.3.4 ...
/var/tmp/portage/dev-java/concurrent-util-1.3.4-r1/temp/environment: line 464: USE: readonly variable
/var/tmp/portage/dev-java/concurrent-util-1.3.4-r1/temp/environment: line 464: USE: readonly variable
Rewriting attributes
Rewriting ./build.xml
 * Disabling all optional ANT_TASKS
Buildfile: /var/tmp/portage/dev-java/concurrent-util-1.3.4-r1/work/concurrent-util-1.3.4/build.xml

init:
    [mkdir] Created dir: /var/tmp/portage/dev-java/concurrent-util-1.3.4-r1/work/concurrent-util-1.3.4/build
    [mkdir] Created dir: /var/tmp/portage/dev-java/concurrent-util-1.3.4-r1/work/concurrent-util-1.3.4/build/classes
    [mkdir] Created dir: /var/tmp/portage/dev-java/concurrent-util-1.3.4-r1/work/concurrent-util-1.3.4/build/demo
    [mkdir] Created dir: /var/tmp/portage/dev-java/concurrent-util-1.3.4-r1/work/concurrent-util-1.3.4/build/javadoc
    [mkdir] Created dir: /var/tmp/portage/dev-java/concurrent-util-1.3.4-r1/work/concurrent-util-1.3.4/build/lib

compile:
    [javac] Compiling 92 source files to /var/tmp/portage/dev-java/concurrent-util-1.3.4-r1/work/concurrent-util-1.3.4/build/classes
    [javac] /var/tmp/portage/dev-java/concurrent-util-1.3.4-r1/work/concurrent-util-1.3.4/src/java/EDU/oswego/cs/dl/util/concurrent/ConcurrentHashMap.java:678: 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] 1 error

BUILD FAILED
/var/tmp/portage/dev-java/concurrent-util-1.3.4-r1/work/concurrent-util-1.3.4/build.xml:25: Compile failed; see the compiler error output for details.

Total time: 7 seconds
 * ERROR: dev-java/concurrent-util-1.3.4-r1::gentoo failed (compile phase):
 *   eant failed
 *
 * Call stack:
 *     ebuild.sh, line   93:  Called src_compile
 *   environment, line 3875:  Called java-pkg-2_src_compile
 *   environment, line 1801:  Called eant 'jar' '-f' 'build.xml'
 *   environment, line  584:  Called die
 * The specific snippet of code:
 *       ant ${antflags} "${@}" || die "eant failed"
 *
 * If you need support, post the output of `emerge --info '=dev-java/concurrent-util-1.3.4-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-java/concurrent-util-1.3.4-r1::gentoo'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM=oracle-jdk-bin-1.8  CLASSPATH="" JAVA_HOME="/opt/oracle-jdk-bin-1.8.0.45"
JAVACFLAGS="-source 1.2 -target 1.2" COMPILER="javac"
and of course, the output of emerge --info =concurrent-util-1.3.4
 * The complete build log is located at '/var/tmp/portage/dev-java/concurrent-util-1.3.4-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-java/concurrent-util-1.3.4-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-java/concurrent-util-1.3.4-r1/work/concurrent-util-1.3.4'
 * S: '/var/tmp/portage/dev-java/concurrent-util-1.3.4-r1/work/concurrent-util-1.3.4'
Comment 1 Patrice Clement gentoo-dev 2015-05-27 07:55:15 UTC
This a known issue. There's an ongoing effort to remove this package from the tree as it is upsetting the JDK 1.8. Thanks for the heads up though.

*** This bug has been marked as a duplicate of bug 544038 ***