Bug 791339

Summary: FTBFS with OpenJDK7
Product: [Fedora] Fedora Reporter: Omair Majid <omajid>
Component: plexus-containersAssignee: Fernando Nasser <fnasser>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: dbhole, fnasser, java-sig-commits, sochotni, 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: 2012-02-17 13:37:28 EST Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Attachments:
Description Flags
fix build with openjdk7 none

Description Omair Majid 2012-02-16 14:39:34 EST
Created attachment 562575 [details]
fix build with openjdk7

plexus-containers fails to build from source with OpenJDK7. This is caused because ${java.home}/../lib/tools.jar is not being added to the build classpath - the vendor (in OpenJDK7) is "Oracle Corporation", not "Sun Microsystems, Inc". To keep this package compatible with both OpenJDK6 and OpenJDK7, tools.jar should always be added to the classpath.

Please see https://fedoraproject.org/wiki/Java7_Package_Rebuild_Status for more information.
Comment 1 Deepak Bhole 2012-02-17 13:37:28 EST
Pushed. Thanks Omair!