framework/tests/all-systems/Issue1690.java
raw| 1 | // Test case for Issue 1690 |
| 2 | // https://github.com/typetools/checker-framework/issues/1690 |
| 3 | |
| 4 | import java.io.Serializable; |
| 5 | |
| 6 | public class Issue1690<T extends Runnable & Serializable> { |
| 7 | |
| 8 | public Issue1690() {} |
| 9 | |
| 10 | // Can be an inner type or in its own file, shouldn't matter. |
| 11 | public static interface Issue16902<R extends Issue1690> { |
| 12 | public R getR(); |
| 13 | } |
| 14 | } |