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 Loading | Assignee: | David M. Lloyd <david.lloyd> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Ladislav Thon <lthon> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.2.0 | CC: | 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 | ||
Oh man! I always swap the "actual" and "expected" results :-( Verified with EAP 6.2.0.ER6. |
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.