You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Henri Yandell (JIRA)" <ji...@apache.org> on 2006/07/14 06:38:32 UTC

[jira] Updated: (POOL-8) [pool] Compilation under 1.5: enum keyword

     [ http://issues.apache.org/jira/browse/POOL-8?page=all ]

Henri Yandell updated POOL-8:
-----------------------------

    Bugzilla Id:   (was: 29912)
    Fix Version: 1.3

> [pool] Compilation under 1.5: enum keyword
> ------------------------------------------
>
>          Key: POOL-8
>          URL: http://issues.apache.org/jira/browse/POOL-8
>      Project: Commons Pool
>         Type: Bug

>     Versions: 1.2
>  Environment: Operating System: other
> Platform: Other
>     Reporter: Dirk Verbeeck
>      Fix For: 1.3

>
> Mail from Greg Billock on commons-dev
> --------------------------------------
> I recently compiled commons-pool under JDK1.5 without a problem
> except for two files:
> /src/java/org/apache/commons/pool/impl/StackKeyedObjectPool.java
> /src/java/org/apache/commons/pool/impl/StackObjectPool.java
> These two files use the new 1.5 keyword 'enum' in an enumeration.
> A shallow fix is to simply rename the variable to 'enm' or something.
> A deeper fix might be to use iterator() method. I'm happy to contribute
> a patch which enables clean 1.5 compilation, but assuming the
> shallow fix is desired, it is pretty straightforward. Please email me
> directly if you (Dirk?) would like the diffs.
> Thanks for the pooling classes!

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org