We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fef0086 commit c2e83f7Copy full SHA for c2e83f7
library/src/scala/runtime/ModuleSerializationProxy.scala
@@ -18,7 +18,7 @@ import java.security.PrivilegedExceptionAction
18
import scala.annotation.nowarn
19
20
private[runtime] object ModuleSerializationProxy {
21
- private val instances = new ClassValueCompat[Object] {
+ private val instances: ClassValueCompat[Object] = new ClassValueCompat[Object] {
22
@nowarn("cat=deprecation") // AccessController is deprecated on JDK 17
23
def getModule(cls: Class[_]): Object =
24
java.security.AccessController.doPrivileged(
0 commit comments