Open rrramiro opened 4 months ago
This seems to indeed work differently from Scala 2... c.getGenericInterfaces.length == c.getInterfaces.length
is true for 2.13.14 😕
We may need a smaller minimization outside of the keycloak dependencies.
@Gedochao I updated the issue with a smaller minimization. Sorry I didn't do it before.
We would like to implement a custom storage provider for Keycloak with scala3. But we have a
ArrayIndexOutOfBoundsException
on startup. BecausegetGenericInterfaces
andgetInterfaces
are not the same length.https://scastie.scala-lang.org/rrramiro/3ILQIagATpCd9fQQGuLLmQ/1
Compiler version
version >= 3.0.0
Minimized code
Output
Expectation
The size of getGenericInterfaces and getInterfaces should be equal according to this test: https://github.com/scala/scala3/blob/main/tests/run/t8931.scala