12 lines
277 B
Java
Raw Normal View History

2007-12-01 00:00:00 +00:00
/*
* @test /nodynamiccopyright/
2007-12-01 00:00:00 +00:00
* @bug 4901264
* @summary JSR175 (2): don't allow annotating members from Object
* @author gafter
*
* @compile/fail/ref=ObjectMembers.out -XDrawDiagnostics ObjectMembers.java
2007-12-01 00:00:00 +00:00
*/
@ObjectMembers(hashCode = 23)
@interface ObjectMembers {}