scala / bug

Scala 2 bug reports only. Please, no questions — proper bug reports only.
https://scala-lang.org
232 stars 21 forks source link

Scala reflection: cannot invoke Java static methods and fields #6459

Open scabug opened 12 years ago

scabug commented 12 years ago

To do, say, a reflectField, we need an instance mirror. And to get an instance mirror we would have to do cm.reflect(null), which crashes shortly afterwards.

scabug commented 12 years ago

Imported From: https://issues.scala-lang.org/browse/SI-6459?orig=1 Reporter: @xeno-by

scabug commented 11 years ago

@retronym said: Requires API changes.