author | hseigel |
Wed, 02 Mar 2016 23:48:41 +0000 | |
changeset 36397 | c487ced7231c |
parent 30718 | 391eff0516a6 |
permissions | -rw-r--r-- |
/* * @test /nodynamiccopyright/ * @bug 5025346 * @summary Crash on cast * @author gafter * * @compile/fail/ref=CastCrash.out -XDrawDiagnostics CastCrash.java */ package cast.crash; import java.util.*; interface SN extends Set<Number>{} interface LI extends List<Integer>{} class CastCrash { void f(LI l) { SN sn = (SN) l; } }