beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luke Cwik (JIRA)" <j...@apache.org>
Subject [jira] [Created] (BEAM-2275) SerializableCoder fails to serialize when used with a generic type token
Date Fri, 12 May 2017 00:53:04 GMT
Luke Cwik created BEAM-2275:
-------------------------------

             Summary: SerializableCoder fails to serialize when used with a generic type token
                 Key: BEAM-2275
                 URL: https://issues.apache.org/jira/browse/BEAM-2275
             Project: Beam
          Issue Type: Bug
          Components: sdk-java-core
    Affects Versions: 2.0.0
            Reporter: Luke Cwik
            Assignee: Thomas Groh


The following code throws that the type descriptor is not serializable
{code}
SerializableCoder<T> coder = SerializableCoder.of(new TypeDescriptor<T>(){});
CoderProperties.ensureSerializable(coder);
{code}

This is a regression since 0.6.0 since the type descriptor was never serialized before.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message