From: Emmanuel B. (JIRA) <no...@at...> - 2006-05-17 20:28:16
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1763?page=all ] Emmanuel Bernard resolved HHH-1763: ----------------------------------- Fix Version: 3.2.0 Resolution: Fixed Assign To: Emmanuel Bernard thanks > Bug in InputStream org.hibernate.util.ConfigHelper.getResourceAsStream(String resource) > --------------------------------------------------------------------------------------- > > Key: HHH-1763 > URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1763 > Project: Hibernate3 > Type: Bug > Components: core > Versions: 3.1.2 > Reporter: Ondrej Svetlik > Assignee: Emmanuel Bernard > Fix For: 3.2.0 > > Original Estimate: 5 minutes > Remaining: 5 minutes > > Class org.hibernate.util.ConfigHelper starting at line 137: > if (classLoader!=null) { > stream = classLoader.getResourceAsStream( stripped ); > } > if ( stream == null ) { > Environment.class.getResourceAsStream( resource ); > } > if ( stream == null ) { > stream = Environment.class.getClassLoader().getResourceAsStream( stripped ); > } > Shouldn't the Environment.class.getResourceAsStream() return value be also assigned? -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |