From 8944ce6832ffd5d47f7c6c7bac7e67c003aaedcc Mon Sep 17 00:00:00 2001 From: aclement Date: Thu, 11 Jan 2007 10:32:41 +0000 Subject: test and fix for 168044 - processing complex self referential generic declarations --- tests/bugs160/pr168044/AbstractNode.java | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 tests/bugs160/pr168044/AbstractNode.java (limited to 'tests/bugs160') diff --git a/tests/bugs160/pr168044/AbstractNode.java b/tests/bugs160/pr168044/AbstractNode.java new file mode 100644 index 000000000..bb1401fb4 --- /dev/null +++ b/tests/bugs160/pr168044/AbstractNode.java @@ -0,0 +1,19 @@ +public abstract class AbstractNode < SelfNode extends AbstractNode, DualNode extends AbstractNode > { +} + +class SubClass extends AbstractNode { +} + +class A extends AbstractNode { } +class B extends AbstractNode { } + +abstract class Mad +< + Id extends Comparable, + Np extends Mad, + Nt extends Mad, + SelfNode extends Mad, + DualNode extends Mad +> +{ +} -- cgit v1.2.3