File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,13 @@ object ScalaRunTime {
50
50
/** Return the class object representing an array with element class `clazz`.
51
51
*/
52
52
def arrayClass (clazz : jClass[_]): jClass[_] = {
53
- ??? // Dmitry: I want to see where this method is used to know how to fix it
53
+ // Dmitry: I want to see where this method is used to know how to fix it
54
+ // [Martin] Here's a stacktrace
55
+ // Exception in thread "main" scala.NotImplementedError: an implementation is missing
56
+ // at scala.Predef$.$qmark$qmark$qmark(Predef.scala:225)
57
+ // at scala.runtime.ScalaRunTime$.arrayClass(ScalaRunTime.scala:53)
58
+ // at scala.Array$.fill(Array.scala:281)
59
+ // at dotty.tools.dotc.core.Flags$.<init>(Flags.scala:139)
54
60
// newInstance throws an exception if the erasure is Void.TYPE. see SI-5680
55
61
if (clazz == java.lang.Void .TYPE ) classOf [Array [Unit ]]
56
62
else java.lang.reflect.Array .newInstance(clazz, 0 ).getClass
You can’t perform that action at this time.
0 commit comments