hibernate/hibernate-orm — pull request #574 by rydenius (2013-08-20 10:39:38+00:00)
Title: Unclear ClassCastException message from JavassistLazyInitializer

Debugging the ClassCastException explicitly thrown by the JavassistLazyInitializer would be easier if the message contained the class names of both the target class and the declaring class.