slinkydeveloper opened a new pull request #18878:
URL: https://github.com/apache/flink/pull/18878


   The only possible way a user classloader leak can happen is if a wrong usage 
of JsonSerdeUtil.getObjectMapper() leads to registering in this global object 
mapper a user serializer/deserializer. In order to be on the safe side and 
completely disallow it, this PR hides the `getObjectMapper` method.
   
   The only usage of `JsonSerdeUtil#getObjectMapper` outside its package was 
`JsonTestUtils`, which is doing something different and doesn't require the 
`JsonSerdeUtil` `ObjectMapper` global instance.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to