You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Antony Mayi (JIRA)" <ji...@apache.org> on 2017/05/12 09:04:04 UTC

[jira] [Commented] (BEAM-2275) SerializableCoder fails to serialize when used with a generic type token

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

Antony Mayi commented on BEAM-2275:
-----------------------------------

thanks for fixing, I can confirm this now works in my scenario

> 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
>            Priority: Blocker
>             Fix For: 2.0.0
>
>         Attachments: SerTest.java, stacktrace.txt
>
>
> 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)