Skip to content

Commit 81c6d6e

Browse files
szymon-rdKordyjan
authored andcommitted
Add comment describing why LazyValControlState extends Serializable
1 parent 5801262 commit 81c6d6e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

library/src/scala/runtime/LazyVals.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ object LazyVals {
4545

4646
/* ------------- Start of public API ------------- */
4747

48+
// This trait extends Serializable to fix #16806 that caused a race condition
4849
sealed trait LazyValControlState extends Serializable
4950

5051
/**

0 commit comments

Comments
 (0)