You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Paul J. Reder (JIRA)" <ji...@apache.org> on 2010/09/30 03:11:34 UTC

[jira] Created: (OWB-464) InjectionPointImpl using wrong class loader during serialize/deserialize, dropping qualifiers, and omiting qualifier values.

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


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.


[jira] Updated: (OWB-464) InjectionPointImpl using wrong class loader during serialize/deserialize, dropping qualifiers, and omiting qualifier values.

Posted by "Paul J. Reder (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Closed: (OWB-464) InjectionPointImpl using wrong class loader during serialize/deserialize, dropping qualifiers, and omiting qualifier values.

Posted by "Gurkan Erdogdu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OWB-464?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gurkan Erdogdu closed OWB-464.
------------------------------

    Fix Version/s: 1.0.0-GA
                       (was: 1.0.0-alpha-2)
       Resolution: Fixed

Cool patch, thanks Paul! committed in r1002951

> 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-GA
>
>         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.