From 06b5bfa306c4c53ca4b671cb6472828b8fcdd5c3 Mon Sep 17 00:00:00 2001 From: Eugene Burmako Date: Fri, 27 Mar 2015 14:28:10 +0100 Subject: SI-9252 gets rid of custom logic for jArrayClass in runtime reflection Apparently, I've already fixed a very similar issue two years ago. That was a fun surprise! (https://issues.scala-lang.org/browse/SI-5680) --- test/files/run/t9252.check | 1 + test/files/run/t9252.scala | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 test/files/run/t9252.check create mode 100644 test/files/run/t9252.scala (limited to 'test/files/run') diff --git a/test/files/run/t9252.check b/test/files/run/t9252.check new file mode 100644 index 0000000000..b00d748f7f --- /dev/null +++ b/test/files/run/t9252.check @@ -0,0 +1 @@ +class [Lscala.runtime.BoxedUnit; diff --git a/test/files/run/t9252.scala b/test/files/run/t9252.scala new file mode 100644 index 0000000000..da698948e1 --- /dev/null +++ b/test/files/run/t9252.scala @@ -0,0 +1,5 @@ +import scala.reflect.runtime.universe._ + +object Test extends App { + println(rootMirror.runtimeClass(typeOf[Array[Unit]])) +} \ No newline at end of file -- cgit v1.2.3