Adapted issue description to reflect test case: https://github.com/hibernate/hibernate-test-case-templates/commit/9ce440d7b5e13a61f55d7e455bcf56090c6a4719
Plase uncomment @Entity in Mail, then compile with bytecode enhancement to see the error.