Bug 975234
| Summary: | Classloader getResource() method is unable reference directories | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Brad Maxwell <bmaxwell> |
| Component: | Class Loading | Assignee: | David M. Lloyd <david.lloyd> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.1.0 | CC: | myarboro, ochaloup |
| Target Milestone: | ER3 | ||
| Target Release: | EAP 6.1.1 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-09-16 20:27:05 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: | 975143 | ||
1.2.1.Final and 1.2.2.Final contain bugfixes, granting ack https://issues.jboss.org/browse/MODULES/fixforversion/12321521 https://issues.jboss.org/browse/MODULES/fixforversion/12321863 JBoss Modules 1.2.2.Final was included in eap 6.1.1 ER3 Verified on EAP 6.1.1.ER7 |
getResource on a directory returns null when the resource is in a module in the modules directory: Thread.currentThread().getContextClassLoader().getResource('directory') It is fixed by: Allow getResource() methods to reference directories https://issues.jboss.org/browse/MODULES-167