Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-651

Wrong cglib jar released with EAP 4.2 CP01 and CP02

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 4.2.0.GA_CP03
    • 4.2.0.GA_CP02
    • None
    • None
    • hibernate using cglib (instead of javassist)

    Description

      The version of cglib released with EAP 4.2 CP01 and CP02 was the "no-dep" version which contains a jarjar'ed version of asm and asm-attrs. EAP should be distributed with the "dep" version of cglib as well as asm.jar and asm-attrs.jar.

      This is because Hibernate requires that asm and asm-attrs be accessed directly in the org.objectweb.asm namespace, but cglib references the jarjar'ed version of asm in net.sf.cglib.asm. As a result, hibernate is not usable with cglib in EAP as released in cp01 and cp02, since it will fail with a ClassCastException.

      Attachments

        Activity

          People

            rhn-engineering-dbhole Deepak Bhole
            gbadner@redhat.com Gail Badner (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: