[ 
https://issues.apache.org/jira/browse/POOL-417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18052719#comment-18052719
 ] 

Gary D. Gregory commented on POOL-417:
--------------------------------------

Hello [~rajugupta] 

Thank you for writing up this proposal.

Some notes:
 * "deprecating CGLib classes for removal in version 4.0.0." -> 3.0.0.
 * "Proceed with ByteBuddy integration in v3.0.0" -> 2.x

I think you're off by 1 ;) as the current version is 2.13.0 with 
2.14.0-SNAPSHOT in git master, so:


|*1*|2.x|Add {{@Deprecated}} to CGLib classes; add ByteBuddy implementation|
|*2*|3.0.0|CGLib classes are gone|

 

WRT "Add runtime warning when CGLib classes are instantiated", there is no warn 
targets as this library doesn't log. Using "Deprecated" annotations is all we 
need IMO.

Thank you!

> Provide an alternative to unmaintained Cglib
> --------------------------------------------
>
>                 Key: POOL-417
>                 URL: https://issues.apache.org/jira/browse/POOL-417
>             Project: Commons Pool
>          Issue Type: Bug
>    Affects Versions: 2.12.0
>            Reporter: Gary D. Gregory
>            Priority: Major
>
> Provide an alternative to unmaintained Cglib.
> From [https://github.com/cglib/cglib:]
> "{_}*IMPORTANT NOTE: cglib is unmaintained and does not work well (or 
> possibly at all?) in newer JDKs, particularly JDK17+. If you need to support 
> newer JDKs, we will accept well-tested well-thought-out patches... but you'll 
> probably have better luck migrating to something like 
> [ByteBuddy|https://bytebuddy.net/]."*{_}
> See also:
> - [Apache Commons BCEL|https://commons.apache.org/proper/commons-bcel/]
> - [ASM|https://asm.ow2.io/]
>  
> Since we already have a JRE version of these classes that use {{Proxy}}, 
> should we deprecate the Cglib classes?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to