test case for #1035

This commit is contained in:
Mark Harrah 2013-12-13 14:04:18 -05:00
parent 06deda06af
commit 05695824a5
5 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,7 @@
public class A<T> {
class B {
class C {
}
}
}

View File

@ -0,0 +1,15 @@
import javax.swing.DefaultRowSorter;
import javax.swing.tree.TreeModel;
import javax.swing.tree.TreePath;
public class DefaultTreeTableSorter<T extends TreeModel, C extends TreeColumnModel, I>
implements TreeTableSorter<T,C>, TreeTableSorter.SortCycle {
public class NodeSorter extends DefaultRowSorter<T,I> implements SortCycle {
protected TreeTableWrapper getTreeTableModelWrapper() {
return (TreeTableWrapper)getModelWrapper();
}
protected abstract class TreeTableWrapper extends ModelWrapper<T,I> {}
}
}

View File

@ -0,0 +1 @@
public interface TreeColumnModel {}

View File

@ -0,0 +1,5 @@
import javax.swing.tree.TreeModel;
public interface TreeTableSorter<T extends TreeModel, C extends TreeColumnModel> {
public interface SortCycle {}
}

View File

@ -0,0 +1,3 @@
# generic signatures fails to parse due to http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6476261
# tests workaround for https://github.com/sbt/sbt/issues/1035
> compile