Created attachment 783930 [details] Diff of jars in classpath for 1.8 and 1.9 respectively Description of problem: The visualvm package fails to build in rawhide. See bug 992858. Version-Release number of selected component (if applicable): ant-1.9.2-3.fc20.noarch How reproducible: Always. Steps to Reproduce: 1. Try to build visualvm with ant-1.8.4-6.fc19.noarch (works) 2. Try to build visualvm with ant-1.9.2-3.fc20.noarch (fails) Actual results: Compilation of visualvm fails. Expected results: Compilation of visualvm works. Additional info: I've done some digging and as it turns out ant 1.9 has fewer jars in the classpath via the script (/usr/bin/ant) it uses for launching. Patch is attached with the differences. Obtained via --execdebug passed to the script. In particular, ant 1.9 doesn't have /usr/share/java/xml-commons-apis.jar in the classpath which is the root cause why visulvm fails to build. Is this intentional? If so why?
Hi Severin, Thanks for reporting this. Removing xml-commons-apis from classpath in 1.9 was indeed intentional. It was due to bug #838711. And it looks like we didn't realize that xerces provides also Traversal Element API, but openjdk doesn't. That's the reason why your package fails to build. I will try to find solution that will satisfy both you and #838711. For now, I've reverted changes in 1.9 classpath so you should be able to build your package.
I think that this problem should be solved in 1.9.2-4. Closing.