Bug 1017282

Summary: Nested resources under META-INF in a WAR are not accessible
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Ladislav Thon <lthon>
Component: Class LoadingAssignee: David M. Lloyd <david.lloyd>
Status: CLOSED CURRENTRELEASE QA Contact: Ladislav Thon <lthon>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: jdoyle
Target Milestone: ER6   
Target Release: EAP 6.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-15 16:13:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 999663    

Description Ladislav Thon 2013-10-09 14:51:53 UTC
Description of problem:

If in WAR archive I have a resource in META-INF/properties/nested.properties, I am unable to access it using

  classLoader.getResource("META-INF/properties/nested.properties");

In a JAR archive, it works.

Version-Release number of selected component (if applicable):

EAP 6.2.0.ER5

How reproducible:

Always

Steps to Reproduce:
1. classLoader.getResource("META-INF/properties/nested.properties");

Actual results:

Correct URL.

Expected results:

null

Additional info:

This blocks bug 999663.

Comment 1 Ladislav Thon 2013-10-09 14:53:20 UTC
Oh man! I always swap the "actual" and "expected" results :-(

Comment 3 Ladislav Thon 2013-10-21 09:33:38 UTC
Verified with EAP 6.2.0.ER6.