beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Wegner (JIRA)" <>
Subject [jira] [Created] (BEAM-394) AvroCoder is Serializable with non-serializable fields
Date Thu, 30 Jun 2016 17:01:10 GMT
Scott Wegner created BEAM-394:

             Summary: AvroCoder is Serializable with non-serializable fields
                 Key: BEAM-394
             Project: Beam
          Issue Type: Bug
          Components: sdk-java-core
            Reporter: Scott Wegner
            Priority: Minor

[FindBugs SE_BAD_FIELD|]:
Non-transient non-serializable instance field in serializable class.

Applies to AvroCoder fields:
* decoder
* encoder
* reader

These should likely be marked transient and ensure they are properly initialized after deserialization.

This is a good starter bug. When fixing, please remove the corresponding entries from [findbugs-filter.xml|]
and verify the build passes.

This message was sent by Atlassian JIRA

View raw message