[ https://issues.apache.org/jira/browse/OWB-464?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul J. Reder updated OWB-464: ------------------------------ Attachment: InjectionPoint_fix.patch Patch to InjectionPointImpl that resolves correct class loader use, avoids loss of qualifiers and qualifier vlaues. > InjectionPointImpl using wrong class loader during serialize/deserialize, > dropping qualifiers, and omiting qualifier values. > ---------------------------------------------------------------------------------------------------------------------------- > > Key: OWB-464 > URL: https://issues.apache.org/jira/browse/OWB-464 > Project: OpenWebBeans > Issue Type: Bug > Components: Injection and Lookup > Affects Versions: 1.0.0-alpha-2 > Environment: All > Reporter: Paul J. Reder > Assignee: Gurkan Erdogdu > Fix For: 1.0.0-alpha-2 > > Attachments: InjectionPoint_fix.patch > > Original Estimate: 1h > Remaining Estimate: 1h > > InjectionPointImpl was using the default class loader instead of the thread > class loader during serialize/deserialize which was resulting in class not > found exceptions. It was also dropping every other qualifier due to the way > readObject was double-reading the qualifiers while looking for the '~' > delimeter. And finally, the writeObject code was writing the type of the > qualifiers rather than writing the whole object, thus omiting qualifier > values (i.e. @Named(org.apache.webbeans.foo) resulted in @Named(value=)). > Attached patch resolves these issues when applied on top of OWB-462. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.