Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-11504

Some hibernate tests fail with security on IBM Java 8: HHH000142

XMLWordPrintable

    • Hide

      set IBM Java 8
      cd integration/basic
      mvn clean test -Dtest=EntityTestCase -Dsecurity.manager
      mvn clean test -Dtest=AuditJoinTableoverBidirectionalTest -Dsecurity.manager
      mvn clean test -Dtest=BasicEnversTestCase -Dsecurity.manager
      mvn clean test -Dtest=BasicSelectiveEnversTestCase -Dsecurity.manager
      mvn clean test -Dtest=ImplementValidityAuditStrategyTestCase -Dsecurity.manager
      mvn clean test -Dtest=ValidityAuditStrategyonInheritanceTestCase -Dsecurity.manager
      mvn clean test -Dtest=SessionFactoryTestCase -Dsecurity.manager

      Show
      set IBM Java 8 cd integration/basic mvn clean test -Dtest=EntityTestCase -Dsecurity.manager mvn clean test -Dtest=AuditJoinTableoverBidirectionalTest -Dsecurity.manager mvn clean test -Dtest=BasicEnversTestCase -Dsecurity.manager mvn clean test -Dtest=BasicSelectiveEnversTestCase -Dsecurity.manager mvn clean test -Dtest=ImplementValidityAuditStrategyTestCase -Dsecurity.manager mvn clean test -Dtest=ValidityAuditStrategyonInheritanceTestCase -Dsecurity.manager mvn clean test -Dtest=SessionFactoryTestCase -Dsecurity.manager

      Seven hibernate tests fail with security on IBM Java 8, for example:

      org.hibernate.HibernateException: HHH000142: Bytecode enhancement failed: org.jboss.as.test.integration.jpa.hibernate.Employee
      

      Affected test cases:

      • org.jboss.as.test.integration.jpa.hibernate.entitytest.EntityTestCase
      • org.jboss.as.test.integration.jpa.hibernate.envers.AuditJoinTableoverOnetoManyJoinColumnTest
      • org.jboss.as.test.integration.jpa.hibernate.envers.basicenverstest.BasicEnversTestCase
      • org.jboss.as.test.integration.jpa.hibernate.envers.basicselectiveenverstest.BasicSelectiveEnversTestCase
      • org.jboss.as.test.integration.jpa.hibernate.envers.implementvalidityauditstrategytest.ImplementValidityAuditStrategyTestCase
      • org.jboss.as.test.integration.jpa.hibernate.envers.validityauditstrategyoninheritancetest.ValidityAuditStrategyonInheritanceTestCase
      • org.jboss.as.test.integration.jpa.hibernate.sessionfactorytest.SessionFactoryTestCase

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

                Created:
                Updated:
                Resolved: