Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 215761 Details for
Bug 318181
cryptix doesn't compile with newest jdk (patch included)
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Replace enum with enum1
cryptix-3.2.0.jdk1.5fix.patch (text/plain), 1.82 KB, created by
Oliver Falk
on 2007-10-04 12:51:25 UTC
(
hide
)
Description:
Replace enum with enum1
Filename:
MIME Type:
Creator:
Oliver Falk
Created:
2007-10-04 12:51:25 UTC
Size:
1.82 KB
patch
obsolete
>diff -up cryptix-3.2.0/src/xjava/security/IJCE.java.jdk1.5fix cryptix-3.2.0/src/xjava/security/IJCE.java >--- cryptix-3.2.0/src/xjava/security/IJCE.java.jdk1.5fix 2007-10-04 14:42:48.000000000 +0200 >+++ cryptix-3.2.0/src/xjava/security/IJCE.java 2007-10-04 14:43:17.000000000 +0200 >@@ -195,9 +195,9 @@ public class IJCE > > String typedot = type + "."; > Vector algorithms = new Vector(); >- Enumeration enum = provider.propertyNames(); >- while (enum.hasMoreElements()) { >- String key = (String) (enum.nextElement()); >+ Enumeration enum1 = provider.propertyNames(); >+ while (enum1.hasMoreElements()) { >+ String key = (String) (enum1.nextElement()); > if (key.startsWith(typedot)) > algorithms.addElement(key.substring(typedot.length())); > } >@@ -236,18 +236,18 @@ public class IJCE > Provider[] providers = getProvidersInternal(); > > for (int i = 0; i < providers.length; i++) { >- Enumeration enum = providers[i].propertyNames(); >- while (enum.hasMoreElements()) { >- String key = (String) (enum.nextElement()); >+ Enumeration enum1 = providers[i].propertyNames(); >+ while (enum1.hasMoreElements()) { >+ String key = (String) (enum1.nextElement()); > if (key.startsWith(typedot)) > algorithms.put(key.substring(typedot.length()), ""); > } > } > String[] buf = new String[algorithms.size()]; >- Enumeration enum = algorithms.keys(); >+ Enumeration enum1 = algorithms.keys(); > int n = 0; >- while (enum.hasMoreElements()) >- buf[n++] = (String) (enum.nextElement()); >+ while (enum1.hasMoreElements()) >+ buf[n++] = (String) (enum1.nextElement()); > > return buf; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 318181
: 215761