[
https://issues.apache.org/jira/browse/FLINK-25971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17503374#comment-17503374
]
Timo Walther commented on FLINK-25971:
--------------------------------------
Nevertheless, we further hide the mapper to avoid bad usages.
Fixed in master: 02e155e6d5c6da643b4bac5e911b8f6732e09ab0
> org.apache.flink.table.planner.plan.nodes.exec.serde.JsonSerdeUtil#OBJECT_MAPPER_INSTANCE
> might cause class leaks
> -----------------------------------------------------------------------------------------------------------------
>
> Key: FLINK-25971
> URL: https://issues.apache.org/jira/browse/FLINK-25971
> Project: Flink
> Issue Type: Sub-task
> Reporter: Yun Gao
> Assignee: Francesco Guardiani
> Priority: Major
> Labels: pull-request-available
>
> It might need a double check if
> JsonSerdeUtil#OBJECT_MAPPER_INSTANCE -> DefaultDeserializationContext
> _deserializationContext -> extends DeserializationContext ->
> DeserializerCache _cache -> _cachedDeserializers / _incompleteDeserializers
> might hold user ClassLoaders
--
This message was sent by Atlassian Jira
(v8.20.1#820001)