<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Since it is really ASM for which we are interested in isolation, I guess we would take the cglib-nodep jar which 'bundles' ASM as net.sf.cglib.asm (perhaps via jarjar as well) and run jarjar on that to repackage net.sf.cglib -> org.hibernate.cglib (or some-such). &nbsp;Is that your understanding as well?</div><div><br></div><div>On May 19, 2008, at 3:45 PM, Max Ross wrote:</div><div><div><br class="Apple-interchange-newline"><blockquote type="cite"><a href="http://code.google.com/p/jarjar/">jarjar</a> can be a good option when you're looking to avoid version conflicts. &nbsp;Guice uses this to depend on a specific version of cglib.<br><br><div class="gmail_quote">On Mon, May 19, 2008 at 1:29 PM, Steve Ebersole &lt;<a href="mailto:steve@hibernate.org">steve@hibernate.org</a>> wrote:<br> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Our (default) dependency on CGLIB is starting to cause problems due to other libraries using newer versions of ASM (3.x) then the released versions of CGLIB use (2.x). &nbsp;We have now been waiting about a year for a new CGLIB release to use these newer ASM APIs. &nbsp;With 3.3 being eminent, we need to rectify this situation.<br> <br> First, I am going to make javassist the default bytecode provider starting with Hibernate 3.3 (<a href="http://opensource.atlassian.com/projects/hibernate/browse/HHH-2506" target="_blank">http://opensource.atlassian.com/projects/hibernate/browse/HHH-2506</a>).<br> <br> Next, we need to decide what to do with CGLIB moving forward. &nbsp;This seems to be a dead project at this point. &nbsp;From my recollection, the source control for CGLIB does in fact have support for ASM 3.x; so one option would be to do a build of it from HEAD. &nbsp;However, none of us are really bytecode gurus, so thats probably not the best option. &nbsp;The only other option I see is to simply deprecate the integration for CGLIB and recommend against its use. &nbsp;Any other options we should explore here?<br> <br> -----------------------------<br> Steve Ebersole<br> <br> Project Lead<br> <a href="http://hibernate.org" target="_blank">http://hibernate.org</a><br> <a href="mailto:steve@hibernate.org" target="_blank">steve@hibernate.org</a><br> <br> <br> <br> <br> _______________________________________________<br> hibernate-dev mailing list<br> <a href="mailto:hibernate-dev@lists.jboss.org" target="_blank">hibernate-dev@lists.jboss.org</a><br> <a href="https://lists.jboss.org/mailman/listinfo/hibernate-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/hibernate-dev</a><br> </blockquote></div><br></blockquote></div><br><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div><br class="Apple-interchange-newline">-----------------------------</div><div>Steve Ebersole</div><div><br class="webkit-block-placeholder"></div><div>Project Lead</div><div><a href="http://hibernate.org">http://hibernate.org</a></div><div><a href="mailto:steve@hibernate.org">steve@hibernate.org</a></div><div><br class="webkit-block-placeholder"></div></div></div></span><br class="Apple-interchange-newline"></span><br class="Apple-interchange-newline"></div></span> </div><br></div></body></html>