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
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
|