You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
cowtowncoder
changed the title
Serializing java.lang.Thread fails on JDK 11 and above
Serializing java.lang.Thread fails on JDK 11 and above (should suppress serialization of ClassLoader)
Apr 24, 2021
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 viaClassLoader
, which probably should not really be serialized anyway.Passed on JDK 8.
The text was updated successfully, but these errors were encountered: