Created attachment 499817 [details] build log from commons-discovery compilation Description of problem: Trying to use OpenJDK to compile commons-discovery fails with compilation failures due to generics. Oracle SDK works OK. Build log attached Can reproduce in rawhide too. Version-Release number of selected component (if applicable): java-1.6.0-openjdk-1.6.0.0-52.1.9.7.fc14.x86_64 How reproducible: always Steps to Reproduce: 1. download comons-discovery source[1], unpack 2. install "maven" package 3. run "mvn3 compile" [1] http://archive.apache.org/dist/commons/discovery/source/commons-discovery-0.5-src.tar.gz Actual results: compilation failure, see build log Expected results: build success
Hi Stanislav. I've proposed this fix for the bug: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2011-June/014574.html I tested it, and it does fix the compilation problem, but as Andrew Haley rightly pointed out, such compiler changes are very dangerous. I also submitted a patch to the discovery project that works around the compiler bug, and hopefully they will include it in their project.
Hi again. commons-discovery has accepted my patch, so I am closing this as wont-fix for now. If this compilation problem comes up with some other project, we can reconsider the backport.