| Summary: | package com.sun.javadoc does not exist; package com.sun.tools.doclet does not exist | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jaromír Cápík <jcapik> | ||||||
| Component: | maven-plugin-tools | Assignee: | Jaromír Cápík <jcapik> | ||||||
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | rawhide | CC: | akurtako, dbhole, java-sig-commits, jcapik, jvanek, omajid, ovasik, yyang | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2011-11-16 16:21:47 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Attachments: |
|
||||||||
|
Description
Jaromír Cápík
2011-11-16 09:40:59 UTC
Created attachment 533946 [details]
build.log
Created attachment 533947 [details]
root.log
Re-assigning to maven-plugin-tools Java 1.6 will be removed from Fedora eventually by the way (maybe even F17, it is undecided yet). The proper fix is to make maven-plugin-tools not use internal com.sun.* API. (In reply to comment #3) > Re-assigning to maven-plugin-tools > > Java 1.6 will be removed from Fedora eventually by the way (maybe even F17, it > is undecided yet). > > The proper fix is to make maven-plugin-tools not use internal com.sun.* API. Deepak, How do you suggest this to happen? There is no other API AFAIK. The only thing I found is http://openjdk.java.net/jeps/106 but it's gonna take long time before it's available in OpenJDK release, right? Another thing is that these packages are present in OpenJDK 7 (tools.jar) but they are not found while on OpenJDK 6 they are. So it's quite probable that there is a packaging bug or something else preventing tools.jar from being accessible. P.S. I don't question your com.sun comment and I totally agree with it but we have to find a solution. Hi Alex, I was a bit confused by the original report. I didn't realize that the classes were still there, just not visible. It seems that somehow for OpenJDK6 maven was seeing tools.jar but now it isn't. I think the workaround should then be to add tools.jar to the classpath regardless of version of the JDK. With 1.6 this should have no ill-effect and with 1.7 the classes will be seen correctly. Tools.jar is not supposed to be in the system classpath since 1.5 (at least) anyway. This link explains how to do it for maven: http://maven.apache.org/general.html#tools-jar-dependency Thanks a lot ... I applied the proposed changes and it works. I've also checked the latest upstream and the same changes were made there recently. The package is rebuilt -> closing. |