The https://hibernate.atlassian.net/browse/HHH-15371 change addressed Hibernate ORM Envers test failures when run under a Java Security Manager but two of the tests not addressed by that change can be seen when running with Hibernate ORM 6.1.3 To recreate: Steps to use Scott's branch to reproduce wildfly test failuregit clone https://github.com/scottmarlow/wildfly cd wildfly git checkout WFLY-16713_Hibernate_ORM6.1.3 ./build.sh clean install -DskipTests=true pushd wildfly/testsuite/integration/basic mvn clean test -Dtest=SessionFactoryTestCase -Dsecurity.manager mvn clean test -Dtest=EntityTestCase -Dsecurity.manager popd Recreate the failure with a debuggerstart wildfly with remote debug enabledpushd dist/target/wildfly-27.0.0.Beta1-SNAPSHOT/bin vim standalone.conf find line with #JAVA_OPTS="$JAVA_OPTS -agentlib:jdwp=transport=dt_socket,address=8787,server=y,suspend=n"save your changes to standalone.confrun WildFly with security manager enabled./standalone.sh -secmgr popd see above step for running the EntityTestCase or SessionFactoryTestCase |