You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@avro.apache.org by "Ryan Skraba (Jira)" <ji...@apache.org> on 2023/07/04 11:46:00 UTC
[jira] [Updated] (AVRO-3377) Deserialization of record of mangled Java class throws ClassCastException
[ https://issues.apache.org/jira/browse/AVRO-3377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ryan Skraba updated AVRO-3377:
------------------------------
Fix Version/s: 1.12.0
(was: 1.11.2)
> Deserialization of record of mangled Java class throws ClassCastException
> -------------------------------------------------------------------------
>
> Key: AVRO-3377
> URL: https://issues.apache.org/jira/browse/AVRO-3377
> Project: Apache Avro
> Issue Type: Improvement
> Components: java
> Affects Versions: 1.11.0
> Reporter: Kyle Carter
> Assignee: Kyle Carter
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.12.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> When a Java class based on a Avro schema is created that includes a mangled part of it's fully qualified name and a reusable class is not provided a {{ClassCastException}} is thrown.
> This is an edge case and there is a work around in that the reusable class can be provided to get around this issue but being able to avoid this edge case would be preferred.
> POC repo: https://github.com/kylec32/avromangledeserializationpoc
> Issue was discovered when testing: AVRO-3305
--
This message was sent by Atlassian Jira
(v8.20.10#820010)