From ed34bcb651ed9911d48c88d9f1e6b3adfd88a2f8 Mon Sep 17 00:00:00 2001 From: Jason Zaugg Date: Fri, 23 Aug 2013 11:14:09 +0200 Subject: SI-942 A test case, five years adrift. I'm looking at the changes made in 47f35b587, which prevented cyclic errors in class file parsing. That fix is insufficient for, or otherwise complicit in, SI-7778, for which I've enclosed a pending test. --- test/files/pos/t942/Amount_1.java | 5 +++++ test/files/pos/t942/Test_2.scala | 3 +++ test/pending/pos/t7778/Foo_1.java | 6 ++++++ test/pending/pos/t7778/Test_2.scala | 3 +++ 4 files changed, 17 insertions(+) create mode 100644 test/files/pos/t942/Amount_1.java create mode 100644 test/files/pos/t942/Test_2.scala create mode 100644 test/pending/pos/t7778/Foo_1.java create mode 100644 test/pending/pos/t7778/Test_2.scala diff --git a/test/files/pos/t942/Amount_1.java b/test/files/pos/t942/Amount_1.java new file mode 100644 index 0000000000..d9d37d127b --- /dev/null +++ b/test/files/pos/t942/Amount_1.java @@ -0,0 +1,5 @@ +import java.util.concurrent.Callable; + +public abstract class Amount_1 extends Object + implements Callable> { +} diff --git a/test/files/pos/t942/Test_2.scala b/test/files/pos/t942/Test_2.scala new file mode 100644 index 0000000000..3cc84dae3c --- /dev/null +++ b/test/files/pos/t942/Test_2.scala @@ -0,0 +1,3 @@ +abstract class Foo { + val x: Amount_1[Foo] +} diff --git a/test/pending/pos/t7778/Foo_1.java b/test/pending/pos/t7778/Foo_1.java new file mode 100644 index 0000000000..65431ffd46 --- /dev/null +++ b/test/pending/pos/t7778/Foo_1.java @@ -0,0 +1,6 @@ +import java.util.concurrent.Callable; + +public abstract class Foo_1 implements Callable.Inner> { + public abstract class Inner { + } +} diff --git a/test/pending/pos/t7778/Test_2.scala b/test/pending/pos/t7778/Test_2.scala new file mode 100644 index 0000000000..306303a99e --- /dev/null +++ b/test/pending/pos/t7778/Test_2.scala @@ -0,0 +1,3 @@ +class Test { + null: Foo_1[_] +} -- cgit v1.2.3