From 3a8d9fb6be1f11554401d305ef218ea4e25ffa06 Mon Sep 17 00:00:00 2001 From: Jason Zaugg Date: Mon, 12 May 2014 22:53:31 +0200 Subject: SI-8582 Pending test for InnerClasses bug in GenBCode As seen in a runtime reflection failure in Slick during a GenBCode enabled run of our beloved Community Build. --- test/files/run/t8582.check | 2 ++ test/files/run/t8582.scala | 16 ++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 test/files/run/t8582.check create mode 100644 test/files/run/t8582.scala (limited to 'test/files/run') diff --git a/test/files/run/t8582.check b/test/files/run/t8582.check new file mode 100644 index 0000000000..7e96756986 --- /dev/null +++ b/test/files/run/t8582.check @@ -0,0 +1,2 @@ +class p1.p2.Singleton$Singleton$ +List(class p1.p2.Singleton$Singleton$Singleton$) diff --git a/test/files/run/t8582.scala b/test/files/run/t8582.scala new file mode 100644 index 0000000000..844ab8ac14 --- /dev/null +++ b/test/files/run/t8582.scala @@ -0,0 +1,16 @@ +package p1 { + package p2 { + object Singleton { + object Singleton { + object Singleton + } + } + } +} + + +object Test extends App { + import p1.p2._ + println(Singleton.Singleton.getClass) + println(Singleton.Singleton.getClass.getDeclaredClasses.toList) +} -- cgit v1.2.3