Bug 1138192

Summary: (6.4.0) Package-private members not working on CDI beans in static modules
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Jozef Hartinger <jharting>
Component: CDI/WeldAssignee: Jozef Hartinger <jharting>
Status: CLOSED CURRENTRELEASE QA Contact: Matej Novotny <manovotn>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.3.0CC: bbaranow, jharting, kkhan, maschmid, sappleto
Target Milestone: DR1   
Target Release: EAP 6.4.0   
Hardware: Unspecified   
OS: Unspecified   
URL: https://c.na7.visual.force.com/apex/Case_View?id=500A000000LF54K
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
In previous versions of JBoss EAP there was a classloading optimization in the Weld integration code which caused an `IllegalAccessException` to be thrown when any normal-scoped bean from a static module which declared a package-private no-arg constructor got injected into a bean from a deployment. This was fixed by limiting the optimization and using a static module's ClassLoader for proxies of classes originating from the given static module. The `IllegalAccessException` is no longer thrown for beans with package-private constructors in static modules.
Story Points: ---
Clone Of: 1133962 Environment:
Last Closed: 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: 1133962    

Comment 2 Ron Šmeral 2014-09-18 13:54:17 UTC
Verified in EAP 6.4.0.DR1.1.