langtools/test/tools/javac/annotations/neg/ObjectMembers.java
author sogoel
Tue, 12 Aug 2014 17:31:31 -0700
changeset 26095 8062f96d3ced
parent 5520 86e4b9a9da40
permissions -rw-r--r--
8049127: Group 8b - golden files for annotations test in tools/java dir Reviewed-by: jjg
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
10
06bc494ca11e Initial load
duke
parents:
diff changeset
     1
/*
26095
8062f96d3ced 8049127: Group 8b - golden files for annotations test in tools/java dir
sogoel
parents: 5520
diff changeset
     2
 * @test /nodynamiccopyright/
10
06bc494ca11e Initial load
duke
parents:
diff changeset
     3
 * @bug 4901264
06bc494ca11e Initial load
duke
parents:
diff changeset
     4
 * @summary JSR175 (2): don't allow annotating members from Object
06bc494ca11e Initial load
duke
parents:
diff changeset
     5
 * @author gafter
06bc494ca11e Initial load
duke
parents:
diff changeset
     6
 *
26095
8062f96d3ced 8049127: Group 8b - golden files for annotations test in tools/java dir
sogoel
parents: 5520
diff changeset
     7
 * @compile/fail/ref=ObjectMembers.out -XDrawDiagnostics  ObjectMembers.java
10
06bc494ca11e Initial load
duke
parents:
diff changeset
     8
 */
06bc494ca11e Initial load
duke
parents:
diff changeset
     9
06bc494ca11e Initial load
duke
parents:
diff changeset
    10
@ObjectMembers(hashCode = 23)
06bc494ca11e Initial load
duke
parents:
diff changeset
    11
@interface ObjectMembers {}