Skip to content

Commit 284cc56

Browse files
committed
Avoid IllegalArgumentException in JDK17+ for lambda deser.
1 parent f986690 commit 284cc56

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

library/src/scala/runtime/LambdaDeserializer.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,7 @@ object LambdaDeserializer {
101101
/* instantiatedMethodType = */ instantiated,
102102
/* flags = */ flags.asInstanceOf[AnyRef],
103103
/* markerInterfaceCount = */ 1.asInstanceOf[AnyRef],
104-
/* markerInterfaces[0] = */ markerInterface,
105-
/* bridgeCount = */ 0.asInstanceOf[AnyRef]
104+
/* markerInterfaces[0] = */ markerInterface
106105
)
107106
}
108107

0 commit comments

Comments
 (0)