Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,13 @@
* Coder using Kryo as (de)serialization mechanism. See {@link KryoCoderProvider} to get more
* details about usage.
*
* <p><b>Warning:</b> Kryo deserialization (especially with the default {@code
* kryoRegistrationRequired=false} setting in {@link KryoOptions}) can instantiate arbitrary classes
* and is unsafe when applied to untrusted data. Do not use {@link KryoCoder} to deserialize
* untrusted external input. To restrict deserialization to an explicit set of allowed classes,
* enable {@link KryoOptions#setKryoRegistrationRequired(boolean)} and register classes via {@link
* KryoRegistrar}.
*
* @param <T> type of element coder can handle
*/
public class KryoCoder<T> extends CustomCoder<T> {
Expand Down
Loading