[hibernate-issues] [Hibernate-JIRA] Resolved: (HHH-7272) Have ClassLoaderServiceImpl use Class.forName rather than ClassLoader.loadClass

Steve Ebersole (JIRA) noreply at atlassian.com
Tue Apr 24 13:23:49 EDT 2012


     [ https://hibernate.onjira.com/browse/HHH-7272?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Ebersole resolved HHH-7272.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 4.1.3

> Have ClassLoaderServiceImpl use Class.forName rather than ClassLoader.loadClass
> -------------------------------------------------------------------------------
>
>                 Key: HHH-7272
>                 URL: https://hibernate.onjira.com/browse/HHH-7272
>             Project: Hibernate ORM
>          Issue Type: Improvement
>          Components: core
>            Reporter: Steve Ebersole
>            Assignee: Steve Ebersole
>             Fix For: 4.1.3
>
>          Time Spent: 41m
>
> Specifically, the publically available form of ClassLoader.loadClass does not invoke static initializers defined for the class (it does not perform any of the "loading, linking or initializing" phases outlined in the Java Language Spec.  
> Class.forName does as long as the 'initialize' parameter is set to true.  

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list