- 
        Couldn't load subscription status. 
- Fork 38.8k
Closed
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)status: backportedAn issue that has been backported to maintenance branchesAn issue that has been backported to maintenance branchestype: enhancementA general enhancementA general enhancement
Milestone
Description
KwonNam Son opened SPR-9896 and commented
ResourcePropertySource cannot load JDK 5 properties XML.
I think that ResourcePropertySource#loadPropertiesForResource method's props.load(is) line has to be like the following:
String filename = resource.getFilename();
if (filename != null && filename.toLowerCase().endsWith(".xml")) {
	props.loadFromXML(is);
} else {
	props.load(is);
}
—
or just use PropertiesLoaderSupport class for loading properties.
Affects: 3.1.2
Referenced from: commits d5cad15, 3a626f9, a420e84
Backported to: 3.1.4
Metadata
Metadata
Assignees
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)status: backportedAn issue that has been backported to maintenance branchesAn issue that has been backported to maintenance branchestype: enhancementA general enhancementA general enhancement