jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ignasi Barrera (JIRA)" <j...@apache.org>
Subject [jira] [Created] (JCLOUDS-1030) Ignore synthetic members in serialization strategies
Date Wed, 28 Oct 2015 13:42:27 GMT
Ignasi Barrera created JCLOUDS-1030:
---------------------------------------

             Summary: 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


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