Minor: I found it often better to not initialize the class when reflectively 
loading it (pass false instead of true). Initialization will then happen on 
first access.

That means that errors during static initialization happen not in the 
deserialization stack, but upon use of the class later, which is often a bit 
easier to understand.

[ Full content available at: https://github.com/apache/flink/pull/6711 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to