[hibernate-dev] CGLIB

Hardy Ferentschik hibernate at ferentschik.de
Wed May 12 06:44:33 EDT 2010


Seems it is a simple choice after all. Let's just drop it.

--Hardy

On Wed, 12 May 2010 10:41:38 +0200, Strong Liu <stliu at redhat.com> wrote:

> that cglib with annotations issue only shows when using cglib to  
> instrument the domain class in compile time.
>
> but I'd agree with drop it, actually i'm happy with that :D, cglib  
> issues has taken too much time from us
>
> On May 12, 2010, at 4:10 PM, Emmanuel Bernard wrote:
>
>> I fixed the bug where field level annotations are swallowed (patch not  
>> applied by the CGLIB team though)  
>> http://sourceforge.net/tracker/index.php?func=detail&aid=2796998&group_id=56933&atid=482368
>>
>> But I could not fix the bug where generics information is simply  
>> swallowed (not enough internal knowledge).
>>
>> I think we should focus on Javassist.
>>
>> On 12 mai 2010, at 03:14, Steve Ebersole wrote:
>>
>>> I thought one of the issues was that cglib does not handle  
>>> annotations? &nbsp;That's a pretty big 'workaround' if that's the case.
>>>
>>>
>>> -- Sent from my Palm Pre
>>> steve at hibernate.org
>>> http://hibernate.orgOn May 11, 2010 1:06 PM, Strong Liu  
>>> &lt;stliu at redhat.com&gt; wrote:
>>>
>>> these are the issues Steve mentioned below:
>>>
>>>
>>>
>>> http://opensource.atlassian.com/projects/hibernate/browse/HHH-4703
>>>
>>> https://jira.jboss.org/jira/browse/JBPAPP-2971
>>>
>>>
>>>
>>> to be fair, these issues can be workaround, and we already have  
>>> patches, users who run into these issues can pick up our patch for  
>>> cglib and rebuild it themselves.
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> On May 11, 2010, at 10:34 PM, Hardy Ferentschik wrote:
>>>
>>>
>>>
>>> &gt; Is there any advantage of CGLIB over javassist?
>>>
>>> &gt;
>>>
>>> &gt; On Tue, 11 May 2010 16:24:12 +0200, Steve Ebersole  
>>> &lt;steve at hibernate.org&gt;
>>>
>>> &gt; wrote:
>>>
>>> &gt;
>>>
>>> &gt;&gt; I think the time has come to drop CGLIB support :(  It is  
>>> just becoming
>>>
>>> &gt;&gt; near impossible to get them to respond to issues.  We even  
>>> recently sent
>>>
>>> &gt;&gt; them 2 patches of major issues and still cannot get them to  
>>> apply the
>>>
>>> &gt;&gt; changes upstream and cut releases.
>>>
>>> &gt;&gt;
>>>
>>> &gt;&gt; So that leaves us the choice of deprecating CGLIB support and  
>>> eventually
>>>
>>> &gt;&gt; dropping it altogether or forking it.  I personally do not  
>>> want to fork
>>>
>>> &gt;&gt; it, mainly because I do not want to have to maintain it.   
>>> Anyway lets
>>>
>>> &gt;&gt; discuss it this week if need be and we'll vote at the meeting  
>>> monday.
>>>
>>> &gt;&gt;
>>>
>>> &gt;
>>>
>>> &gt; _______________________________________________
>>>
>>> &gt; hibernate-dev mailing list
>>>
>>> &gt; hibernate-dev at lists.jboss.org
>>>
>>> &gt; https://lists.jboss.org/mailman/listinfo/hibernate-dev
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> hibernate-dev mailing list
>>> hibernate-dev at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>>
>




More information about the hibernate-dev mailing list