test/tools/javac/annotations/neg/8022765/T8022765.out

Fri, 27 Sep 2013 17:28:31 +0200

author
jlahoda
date
Fri, 27 Sep 2013 17:28:31 +0200
changeset 2070
b7d8b71e1658
parent 0
959103a6100f
permissions
-rw-r--r--

8022765: Compiler crashes with exception on wrong usage of an annotation.
Summary: Error recovery for incorrect annotation attribute values - ensure the values are always attributed appropriately
Reviewed-by: jfranck, jjg

     1 T8022765.java:10:12: compiler.err.annotation.not.valid.for.type: int
     2 T8022765.java:11:6: compiler.err.annotation.not.valid.for.type: java.lang.String
     3 T8022765.java:12:5: compiler.err.annotation.not.valid.for.type: E
     4 T8022765.java:14:15: compiler.err.annotation.not.valid.for.type: int
     5 T8022765.java:15:9: compiler.err.annotation.not.valid.for.type: java.lang.String
     6 T8022765.java:16:8: compiler.err.annotation.not.valid.for.type: E
     7 T8022765.java:21:10: compiler.err.annotation.value.must.be.annotation
     8 T8022765.java:23:10: compiler.err.prob.found.req: (compiler.misc.inconvertible.types: int, java.lang.String)
     9 T8022765.java:24:9: compiler.err.prob.found.req: (compiler.misc.inconvertible.types: int, E)
    10 T8022765.java:25:13: compiler.err.annotation.value.must.be.annotation
    11 T8022765.java:27:13: compiler.err.prob.found.req: (compiler.misc.inconvertible.types: int, java.lang.String)
    12 T8022765.java:28:12: compiler.err.prob.found.req: (compiler.misc.inconvertible.types: int, E)
    13 T8022765.java:37:10: compiler.err.annotation.value.must.be.annotation
    14 T8022765.java:38:16: compiler.err.prob.found.req: (compiler.misc.inconvertible.types: java.lang.String, int)
    15 T8022765.java:40:9: compiler.err.prob.found.req: (compiler.misc.inconvertible.types: java.lang.String, E)
    16 T8022765.java:41:13: compiler.err.annotation.value.must.be.annotation
    17 T8022765.java:42:19: compiler.err.prob.found.req: (compiler.misc.inconvertible.types: java.lang.String, int)
    18 T8022765.java:44:12: compiler.err.prob.found.req: (compiler.misc.inconvertible.types: java.lang.String, E)
    19 T8022765.java:49:7: compiler.err.annotation.value.must.be.annotation
    20 T8022765.java:50:13: compiler.err.prob.found.req: (compiler.misc.inconvertible.types: E, int)
    21 T8022765.java:51:7: compiler.err.prob.found.req: (compiler.misc.inconvertible.types: E, java.lang.String)
    22 T8022765.java:53:10: compiler.err.annotation.value.must.be.annotation
    23 T8022765.java:54:16: compiler.err.prob.found.req: (compiler.misc.inconvertible.types: E, int)
    24 T8022765.java:55:10: compiler.err.prob.found.req: (compiler.misc.inconvertible.types: E, java.lang.String)
    25 T8022765.java:59:6: compiler.err.annotation.value.not.allowable.type
    26 T8022765.java:60:12: compiler.err.annotation.value.not.allowable.type
    27 T8022765.java:61:6: compiler.err.annotation.value.not.allowable.type
    28 T8022765.java:62:5: compiler.err.annotation.value.not.allowable.type
    29 T8022765.java:64:16: compiler.err.annotation.not.valid.for.type: int
    30 T8022765.java:65:10: compiler.err.annotation.not.valid.for.type: java.lang.String
    31 T8022765.java:66:9: compiler.err.annotation.not.valid.for.type: E
    32 T8022765.java:71:10: compiler.err.annotation.value.not.allowable.type
    33 T8022765.java:72:16: compiler.err.annotation.value.not.allowable.type
    34 T8022765.java:73:10: compiler.err.annotation.value.not.allowable.type
    35 T8022765.java:74:9: compiler.err.annotation.value.not.allowable.type
    36 T8022765.java:75:14: compiler.err.annotation.value.must.be.annotation
    37 T8022765.java:77:14: compiler.err.prob.found.req: (compiler.misc.inconvertible.types: int, java.lang.String)
    38 T8022765.java:78:13: compiler.err.prob.found.req: (compiler.misc.inconvertible.types: int, E)
    39 T8022765.java:85:10: compiler.err.annotation.value.not.allowable.type
    40 T8022765.java:86:16: compiler.err.annotation.value.not.allowable.type
    41 T8022765.java:87:10: compiler.err.annotation.value.not.allowable.type
    42 T8022765.java:88:9: compiler.err.annotation.value.not.allowable.type
    43 T8022765.java:89:14: compiler.err.annotation.value.must.be.annotation
    44 T8022765.java:90:20: compiler.err.prob.found.req: (compiler.misc.inconvertible.types: java.lang.String, int)
    45 T8022765.java:92:13: compiler.err.prob.found.req: (compiler.misc.inconvertible.types: java.lang.String, E)
    46 T8022765.java:97:6: compiler.err.annotation.value.not.allowable.type
    47 T8022765.java:97:8: compiler.err.attribute.value.must.be.constant
    48 T8022765.java:98:12: compiler.err.annotation.value.not.allowable.type
    49 T8022765.java:98:14: compiler.err.attribute.value.must.be.constant
    50 T8022765.java:99:6: compiler.err.annotation.value.not.allowable.type
    51 T8022765.java:99:8: compiler.err.attribute.value.must.be.constant
    52 T8022765.java:100:5: compiler.err.annotation.value.not.allowable.type
    53 T8022765.java:100:7: compiler.err.attribute.value.must.be.constant
    54 T8022765.java:101:11: compiler.err.annotation.value.must.be.annotation
    55 T8022765.java:102:17: compiler.err.prob.found.req: (compiler.misc.inconvertible.types: E, int)
    56 T8022765.java:103:11: compiler.err.prob.found.req: (compiler.misc.inconvertible.types: E, java.lang.String)
    57 56 errors

mercurial