1 /*
 2  * @test /nodynamiccopyright/
 3  * @bug 8244796 8244799
 4  * @summary Value class literal tests
 5  * @compile/fail/ref=ClassLiteralNegativeTest.out -XDrawDiagnostics ClassLiteralNegativeTest.java
 6  */
 7 
 8 final primitive class ClassLiteralNegativeTest {
 9     Class<ClassLiteralNegativeTest> c1 = null; // error
10     Class<? extends ClassLiteralNegativeTest> c2 = null; // error
11     Class<? super ClassLiteralNegativeTest> c3 = null; // error
12 }