Bug 975234

Summary: Classloader getResource() method is unable reference directories
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Brad Maxwell <bmaxwell>
Component: Class LoadingAssignee: David M. Lloyd <david.lloyd>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.1.0CC: 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    

Description Brad Maxwell 2013-06-17 20:56:51 UTC
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

Comment 2 Rostislav Svoboda 2013-06-18 14:22:26 UTC
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

Comment 3 Paul Gier 2013-08-27 15:53:36 UTC
JBoss Modules 1.2.2.Final was included in eap 6.1.1 ER3

Comment 4 Ondrej Chaloupka 2013-08-29 13:18:54 UTC
Verified on EAP 6.1.1.ER7