Skip to content

Serializing java.lang.Thread fails on JDK 11 and above (should suppress serialization of ClassLoader) #3130

@cowtowncoder

Description

@cowtowncoder

Looks like serialization of Thread (for exp, Thread.currentThread()) fails with StackOverflow on JDK11, due to addition of a new property. Looks like this might be via ClassLoader, which probably should not really be serialized anyway.
Passed on JDK 8.

Metadata

Metadata

Assignees

No one assigned

    Labels

    JDK11Features that need JDK11 (and/or support JDK11)

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions