Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 66376 Details for
Bug 79206
[METABUG] packages which won't work with jdk 1.5 (yet)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
commons-pool-1.2-java5.patch
commons-pool-1.2-java5.patch (text/plain), 1.60 KB, created by
Christoph Brill (egore) (RESIGNED)
on 2005-08-20 03:30:56 UTC
(
hide
)
Description:
commons-pool-1.2-java5.patch
Filename:
MIME Type:
Creator:
Christoph Brill (egore) (RESIGNED)
Created:
2005-08-20 03:30:56 UTC
Size:
1.60 KB
patch
obsolete
>--- src/java/org/apache/commons/pool/impl/StackObjectPool.java.orig 2004-06-07 19:40:52.000000000 +0200 >+++ src/java/org/apache/commons/pool/impl/StackObjectPool.java 2005-08-20 11:57:58.000000000 +0200 >@@ -196,10 +196,10 @@ > public synchronized void clear() { > assertOpen(); > if(null != _factory) { >- Enumeration enum = _pool.elements(); >- while(enum.hasMoreElements()) { >+ Enumeration enum1 = _pool.elements(); >+ while(enum1.hasMoreElements()) { > try { >- _factory.destroyObject(enum.nextElement()); >+ _factory.destroyObject(enum1.nextElement()); > } catch(Exception e) { > // ignore error, keep destroying the rest > } >--- src/java/org/apache/commons/pool/impl/StackKeyedObjectPool.java.orig 2004-06-07 19:40:52.000000000 +0200 >+++ src/java/org/apache/commons/pool/impl/StackKeyedObjectPool.java 2005-08-20 11:57:28.000000000 +0200 >@@ -235,10 +235,10 @@ > return; > } else { > if(null != _factory) { >- Enumeration enum = stack.elements(); >- while(enum.hasMoreElements()) { >+ Enumeration enum1 = stack.elements(); >+ while(enum1.hasMoreElements()) { > try { >- _factory.destroyObject(key,enum.nextElement()); >+ _factory.destroyObject(key,enum1.nextElement()); > } catch(Exception e) { > // ignore error, keep destroying the rest > }
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 79206
:
60835
|
65887
| 66376 |
66388
|
66390
|
66395
|
67322
|
79137
|
79138
|
82246
|
82247
|
82248
|
82249
|
82250
|
82251