Issue Type: Bug Bug
Affects Versions: 4.1.9
Assignee: Unassigned
Attachments: hibernate-covariantproxy-test.zip
Components: core
Created: 20/Dec/12 2:31 PM
Description:

The update of the Javassist dependency to 3.17.1 in 4.1.9 sometimes causes bridge methods to be proxied instead of the corresponding non-bridge methods.
The result is that that lazy-initialisation is not triggered when the non-bridge method is called directly leading to NullPointerException s.
As far as I can tell the relevant Javassist issue is JASSIST-162 . I'm not sure if there anything that can be done about this on the Hibernate side.

The attached test case sometimes fails inconsistently for me. Sometimes it seems to do the right thing.

Environment: JDK 1.7.0_09
Project: Hibernate ORM
Priority: Major Major
Reporter: Donnchadh O Donnabhain
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira