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):
Steps to Reproduce:
1. download comons-discovery source, unpack
2. install "maven" package
3. run "mvn3 compile"
compilation failure, see build log
I've proposed this fix for the bug:
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.
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.