author | vromero |
Tue, 24 Apr 2018 08:13:30 -0700 | |
changeset 49872 | 0798eab12791 |
parent 47216 | 71c04702a3d5 |
permissions | -rw-r--r-- |
/* * @test /nodynamiccopyright/ * @bug 4919255 4982096 5004321 * @summary the type of x.getClass() is no longer Class<? extends X> * @author gafter * * @compile/fail/ref=GetClass.out -XDrawDiagnostics GetClass.java */ public class GetClass { public static void main(String[] args) { Class<? extends Class<GetClass>> x = GetClass.class.getClass(); } }