Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-16549

(7.2.z) HHH-13138 - Work around class loading issues so that bytecode enhanced tests can run as expected

    XMLWordPrintable

Details

    Description

      A test case for HHH-13241 / JBEAP-16315 exposed a bug in the testsuite when using java.persistence.EntityManager#createQuery(String, Class) with an entity class that is bytecode-enhanced.

      The Class passed as an argument is loaded by a different ClassLoader (Apploader) than the bytecode-enhanced Class, making them incompatible.

      The bug is reproduced by running BidirectionalLazyGroupsInEmbeddableTest HHH-13241 / JBEAP-16315.

      Attachments

        Issue Links

          Activity

            People

              gbadner@redhat.com Gail Badner (Inactive)
              gbadner@redhat.com Gail Badner (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: