jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JCLOUDS-1030) Ignore synthetic members in serialization strategies
Date Wed, 28 Oct 2015 22:17:27 GMT

    [ https://issues.apache.org/jira/browse/JCLOUDS-1030?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14979354#comment-14979354
] 

ASF subversion and git services commented on JCLOUDS-1030:
----------------------------------------------------------

Commit afd3c322a9d574a27526b479654b97a3142b99cf in jclouds's branch refs/heads/master from
[~nacx]
[ https://git-wip-us.apache.org/repos/asf?p=jclouds.git;h=afd3c32 ]

JCLOUDS-1030: Ignore synthetic members in serialization strategies


> Ignore synthetic members in serialization strategies
> ----------------------------------------------------
>
>                 Key: JCLOUDS-1030
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-1030
>             Project: jclouds
>          Issue Type: Bug
>          Components: jclouds-core
>    Affects Versions: 1.9.1
>            Reporter: Ignasi Barrera
>            Assignee: Ignasi Barrera
>
> jclouds relies on the consistency between the number of fields in a class, their order,
and the parameters in the constructors and factory methods. This  is specially relevant when
using reflection with classes auto-generated by Google Auto.
> Libraries that instrument the classes may introduce conflicts with this assumptions.
For example, JaCoCo adds two members to the classes: A private static field $jacocoData and
a private static method $jacocoInit(). Both members are marked as synthetic.
> The jclouds serialization strategies that use reflection, should ignore all synthetic
members, as they won't be part of the source code and never expected to be used to map the
fields with the serialized values.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message