Bug 1146853
Summary: | Proxy naming conflict when using static nested classes with the same name and package | ||
---|---|---|---|
Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Jozef Hartinger <jharting> |
Component: | CDI/Weld | Assignee: | Jozef Hartinger <jharting> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Matej Novotny <manovotn> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.3.0 | CC: | kkhan, maschmid |
Target Milestone: | DR5 | ||
Target Release: | EAP 6.4.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
In previous versions of EAP if two static nested classes with equal names enclosed by different classes were used as beans, Weld generated proxies with equal class names for both such beans and `ClassCastException` were thrown when such beans were used.
This was fixed by amending the proxy class name generation procedure to include the name of the enclosing class. Two static nested classes can now have the same simple class name even when enclosed by two different classes in the same package.
|
Story Points: | --- |
Clone Of: | 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: | 1148811 | ||
Bug Blocks: |
Description
Jozef Hartinger
2014-09-26 08:50:53 UTC
Fixed by 1.1.26 upgrade 1148811 Verified in 6.4.0.DR5. |