Bug 749927

Summary: Java class conflicts using Java 7 in Fedora 17 (rawhide) . . .
Product: [Retired] Dogtag Certificate System Reporter: Matthew Harmsen <mharmsen>
Component: CAAssignee: Matthew Harmsen <mharmsen>
Status: CLOSED EOL QA Contact: Ben Levenson <benl>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.0CC: dpal
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: 2020-03-27 18:36:24 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 Flags
Fix class conflicts when using Java 7 . . . awnuk: review+

Description Matthew Harmsen 2011-10-28 21:38:07 UTC
When building the 'pki-core' package using Java 7 on Fedora 17 (rawhide), the following errors are encountered:

com/netscape/ca/CAService.java:646: error: reference to Extension is ambiguous, both interface java.security.cert.Extension in java.security.cert and class netscape.security.x509.Extension in netscape.security.x509 match^M
                        Extension ext = (Extension) e.nextElement();^M
                        ^^M
com/netscape/ca/CAService.java:646: error: reference to Extension is ambiguous, both interface java.security.cert.Extension in java.security.cert and class netscape.security.x509.Extension in netscape.security.x509 match^M
                        Extension ext = (Extension) e.nextElement();^M
                                         ^^M

Comment 1 Matthew Harmsen 2011-10-29 00:01:04 UTC
Created attachment 530756 [details]
Fix class conflicts when using Java 7 . . .

Comment 2 Matthew Harmsen 2011-10-29 00:15:01 UTC
TIP:

# cd pki

# svn status | grep -v ^$ | grep -v ^P | grep -v ^X | grep -v ^?
M       base/ca/src/com/netscape/ca/CAService.java

# svn commit
Sending        base/ca/src/com/netscape/ca/CAService.java
Transmitting file data .
Committed revision 2275.