Summary: | dev-java/concurrent-util-1.3.4-r1 fails to build with dev-java/oracle-jdk-bin:1.8 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Viktor Yu. Kovalskii <vityokster> |
Component: | [OLD] Java | Assignee: | Java team <java> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | harold, pacho, tempor.demonius |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 538644 | ||
Bug Blocks: | |||
Attachments: |
build.log of emerging dev-java/concurrent-util
java8-compatibility.patch |
Description
Viktor Yu. Kovalskii
2014-04-03 16:45:54 UTC
Created attachment 374172 [details]
build.log of emerging dev-java/concurrent-util
Created attachment 376902 [details, diff]
java8-compatibility.patch
Fixes build against jdk-1.8.
Would that change cause it to lose compatibility with older jdks? (In reply to Pacho Ramos from comment #3) > Would that change cause it to lose compatibility with older jdks? No, it just fixes a name collision with a new Map.remove(Object key, Object value) method added in Java 8: http://docs.oracle.com/javase/8/docs/api/java/util/Map.html#remove-java.lang.Object-java.lang.Object- Maybe we could commit it as looks like java team doesn't have currently much time for the jdk7 stuff :/ It would make more sense to drop the concurrent-util package and fix any dependents. These classes have been in the JDK itself since 1.5. (In reply to Andrew John Hughes from comment #6) > It would make more sense to drop the concurrent-util package and fix any > dependents. These classes have been in the JDK itself since 1.5. that makes more sense to me. here is the list: $ equery depends -a concurrent-util * These packages depend on concurrent-util: dev-java/aspectwerkz-2.0_rc2-r3 (dev-java/concurrent-util:0) dev-java/aspectwerkz-2.0 (dev-java/concurrent-util:0) if dev-java/aspectwerkz-2.0-r1 gets stabilized and older versions removed, will be resolved dev-java/colt-1.2.0-r1 (>=dev-java/concurrent-util-1.3.4) dev-java/colt-1.2.0-r2 (>=dev-java/concurrent-util-1.3.4:0) the latest in the tree still depends on concurrent-util, but download page is broken, probably dead, should be removed, but some packages depend on it, needs more investigation dev-java/ehcache-1.1-r1 (dev-java/concurrent-util) dev-java/ehcache-1.1-r2 (dev-java/concurrent-util:0) dev-java/ehcache-1.2.4 (dev-java/concurrent-util) only dev-java/hibernate-3.1.3-r3 depends on the affected slot 0 (latest upstream version of hibernate is 4+ so ours is way old and it seems nothing in the tree depends on hibernate, except hibernate-annotations but that is dead end), slot 1.2 has version 1.2.4-r2 that is stable and does not depend on concurrent-util - so if hibernate is either bumped or removed and 1.2.4 removed from the tree, will be resolved dev-java/fec-1.0.4-r1 (dev-java/concurrent-util) looks like this package might be dead, last updated 2011-09-17, i did not find any releases but sources are available at bitbucket, concurrent-util dependency probably dropped, freenet depends on it so i guess fec should be bumped to the latest sources if concurrent-util is really dropped dev-java/jcs-1.2.7.9-r1 (dev-java/concurrent-util:0) dev-java/jcs-1.3-r1 (dev-java/concurrent-util:0) nothing depends on it, last released 2009-08-12, could be removed dev-java/openjms-0.7.6.1-r8 (dev-java/concurrent-util:0) looks dead to me, nothing depends on it so could be removed comments? otherwise anybody can step up and help to move these things forward. removed dev-java/ehcache-1.2.4 from the tree There's a fix for aspectwerkz that I made in the java overlay. This package is freaking ancient and does not need to exist. This has been in the JDK since 1.5. http://gee.cs.oswego.edu/dl/classes/EDU/oswego/cs/dl/util/concurrent/intro.html This needs to be closed as wontfix. This package needs to be masked and removed ASAP. RDEPEND=">=virtual/jre-1.2" DEPEND=">=virtual/jdk-1.2" Unreal cruft.... Reverse RDEPEND for dev-java/concurrent-util: dev-java/aspectwerkz-2.0 dev-java/aspectwerkz-2.0_rc2-r3 dev-java/colt-1.2.0-r1 dev-java/colt-1.2.0-r2 dev-java/ehcache-1.1-r1 dev-java/ehcache-1.1-r2 dev-java/fec-1.0.4-r1 dev-java/jcs-1.2.7.9-r1 dev-java/jcs-1.3-r1 dev-java/openjms-0.7.6.1-r8 We have to handle these reverse deps first, then we can kiss this package goodbye and punt it. Any packages that depend on this should be able to have that depend removed and the package compile fine as this is in the jdk as of 1.5. Should close as wont fix per bug 544038 |