2007-12-01 00:00:00 +00:00
|
|
|
/*
|
2014-08-12 17:31:31 -07: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
|
|
|
|
*
|
2014-08-12 17:31:31 -07:00
|
|
|
* @compile/fail/ref=ObjectMembers.out -XDrawDiagnostics ObjectMembers.java
|
2007-12-01 00:00:00 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
@ObjectMembers(hashCode = 23)
|
|
|
|
@interface ObjectMembers {}
|