langtools/test/tools/javac/diags/examples.not-yet.txt
author mcimadamore
Mon, 07 Mar 2011 14:31:50 +0000
changeset 8635 383a416a2bdf
parent 8229 39266c1b1b0e
child 9077 6ee59e40b258
permissions -rw-r--r--
7020044: Project Coin: diamond erroneous allowed on some anonymous inner classes Summary: Disallow diamond on anonymous innner class creation expression (as per JSR 334's EDR) Reviewed-by: jjg
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6149
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
     1
compiler.err.already.annotated                          # internal compiler error?
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
     2
compiler.err.already.defined.this.unit                  # seems to be masked by compiler.err.duplicate.class
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
     3
compiler.err.annotation.value.not.allowable.type        # cannot happen: precluded by complete type-specific tests
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
     4
compiler.err.assignment.from.super-bound                # DEAD
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
     5
compiler.err.assignment.to.extends-bound                # DEAD
6710
b14e6fe7b290 5088624: cannot find symbol message should be more intelligent
mcimadamore
parents: 6592
diff changeset
     6
compiler.err.cant.apply.symbol
6149
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
     7
compiler.err.cant.read.file                             # (apt.JavaCompiler?)
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
     8
compiler.err.cant.select.static.class.from.param.type
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
     9
compiler.err.illegal.char.for.encoding
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    10
compiler.err.internal.error.cant.instantiate            # Attr: should not happen
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    11
compiler.err.io.exception                               # (javah.JavahTask?)
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    12
compiler.err.limit.code                                 # Code
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    13
compiler.err.limit.code.too.large.for.try.stmt          # Gen
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    14
compiler.err.limit.dimensions                           # Gen
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    15
compiler.err.limit.locals                               # Code
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    16
compiler.err.limit.parameters                           # Gen
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    17
compiler.err.limit.pool                                 # Gen,JavaCompiler
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    18
compiler.err.limit.pool.in.class                        # UNUSED?
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    19
compiler.err.limit.stack                                # Code
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    20
compiler.err.limit.string                               # Gen
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    21
compiler.err.limit.string.overflow                      # JavaCompiler
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    22
compiler.err.name.reserved.for.internal.use             # UNUSED
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    23
compiler.err.no.annotation.member
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    24
compiler.err.no.encl.instance.of.type.in.scope          # cannot occur; always followed by assert false;
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    25
compiler.err.no.match.entry                             # UNUSED?
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    26
compiler.err.not.annotation.type                        # cannot occur given preceding checkType
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    27
compiler.err.prob.found.req.1                           # Check: DEAD, in unused method
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    28
compiler.err.proc.bad.config.file                       # JavacProcessingEnvironment
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    29
compiler.err.proc.cant.access                           # completion failure
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    30
compiler.err.proc.cant.create.loader                    # security exception from service loader
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    31
compiler.err.proc.no.service                            # JavacProcessingEnvironment: no service loader available
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    32
compiler.err.proc.processor.bad.option.name             # cannot happen? masked by javac.err.invalid.A.key
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    33
compiler.err.proc.processor.constructor.error
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    34
compiler.err.proc.service.problem                       # JavacProcessingEnvironment: catch Throwable from service loader
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    35
compiler.err.signature.doesnt.match.intf                # UNUSED
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    36
compiler.err.signature.doesnt.match.supertype           # UNUSED
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    37
compiler.err.source.cant.overwrite.input.file
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    38
compiler.err.stack.sim.error
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    39
compiler.err.type.var.more.than.once                    # UNUSED
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    40
compiler.err.type.var.more.than.once.in.result          # UNUSED
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    41
compiler.err.undetermined.type
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    42
compiler.err.unexpected.type
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    43
compiler.err.unknown.enum.constant                      # in bad class file
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    44
compiler.err.unsupported.cross.fp.lit                   # Scanner: host system dependent
8038
4a2973290d71 6949040: java.dyn package must be compiled with -target 7 or better
mcimadamore
parents: 8031
diff changeset
    45
compiler.err.wrong.target.for.polymorphic.signature.definition     # Transitional 292
6149
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    46
compiler.misc.assignment.from.super-bound
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    47
compiler.misc.assignment.to.extends-bound
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    48
compiler.misc.bad.class.file.header                     # bad class file
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    49
compiler.misc.bad.class.signature                       # bad class file
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    50
compiler.misc.bad.const.pool.tag                        # bad class file
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    51
compiler.misc.bad.const.pool.tag.at                     # bad class file
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    52
compiler.misc.bad.enclosing.method                      # bad class file
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    53
compiler.misc.bad.runtime.invisible.param.annotations   # bad class file
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    54
compiler.misc.bad.signature                             # bad class file
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    55
compiler.misc.base.membership                           # UNUSED
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    56
compiler.misc.ccf.found.later.version
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    57
compiler.misc.ccf.unrecognized.attribute
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    58
compiler.misc.class.file.not.found                      # ClassReader
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    59
compiler.misc.class.file.wrong.class
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    60
compiler.misc.fatal.err.cant.locate.ctor                # Resolve, from Lower
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    61
compiler.misc.fatal.err.cant.locate.field               # Resolve, from Lower
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    62
compiler.misc.fatal.err.cant.locate.meth                # Resolve, from Lower
6581
f58f0ce45802 6980707: Reduce use of IOException in JavaCompiler
jjg
parents: 6348
diff changeset
    63
compiler.misc.fatal.err.cant.close.loader               # JavacProcessingEnvironment
6149
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    64
compiler.misc.file.does.not.contain.package
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    65
compiler.misc.illegal.start.of.class.file
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    66
compiler.misc.kindname.annotation
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    67
compiler.misc.kindname.enum
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    68
compiler.misc.kindname.package
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    69
compiler.misc.kindname.static
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    70
compiler.misc.kindname.type.variable
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    71
compiler.misc.kindname.type.variable.bound
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    72
compiler.misc.kindname.value
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    73
compiler.misc.no.unique.minimal.instance.exists
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    74
compiler.misc.resume.abort                              # prompt for a response
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    75
compiler.misc.source.unavailable                        # DiagnosticSource
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    76
compiler.misc.token.bad-symbol
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    77
compiler.misc.token.character
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    78
compiler.misc.token.double
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    79
compiler.misc.token.end-of-input
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    80
compiler.misc.token.float
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    81
compiler.misc.token.integer
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    82
compiler.misc.token.long-integer
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    83
compiler.misc.token.string
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    84
compiler.misc.type.captureof
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    85
compiler.misc.type.captureof.1
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    86
compiler.misc.type.none
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    87
compiler.misc.type.req.exact
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    88
compiler.misc.type.variable.has.undetermined.type
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    89
compiler.misc.unable.to.access.file                     # ClassFile
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    90
compiler.misc.undecl.type.var                           # ClassReader
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    91
compiler.misc.undetermined.type
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    92
compiler.misc.unicode.str.not.supported                 # ClassReader
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    93
compiler.misc.verbose.retro                             # UNUSED
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    94
compiler.misc.verbose.retro.with                        # UNUSED
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    95
compiler.misc.verbose.retro.with.list                   # UNUSED
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    96
compiler.misc.version.not.available                     # JavaCompiler; implies build error
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    97
compiler.misc.where.description.captured
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    98
compiler.misc.where.description.intersection.1
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
    99
compiler.misc.where.typevar.1
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
   100
compiler.misc.wrong.version                             # ClassReader
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
   101
compiler.warn.annotation.method.not.found               # ClassReader
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
   102
compiler.warn.annotation.method.not.found.reason        # ClassReader
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
   103
compiler.warn.big.major.version                         # ClassReader
7624
c31b0ea95b37 6999210: javac should be able to warn of anomalous conditions in classfiles
jjg
parents: 6710
diff changeset
   104
compiler.warn.future.attr                               # ClassReader
6149
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
   105
compiler.warn.illegal.char.for.encoding
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
   106
compiler.warn.invalid.archive.file
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
   107
compiler.warn.override.bridge
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
   108
compiler.warn.position.overflow                         # CRTable: caused by files with long lines >= 1024 chars
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
   109
compiler.warn.proc.type.already.exists                  # JavacFiler: just mentioned in TODO
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
   110
compiler.warn.unchecked.assign                          # DEAD, replaced by compiler.misc.unchecked.assign
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
   111
compiler.warn.unchecked.cast.to.type                    # DEAD, replaced by compiler.misc.unchecked.cast.to.type
48de3564aa13 6968063: provide examples of code that generate diagnostics
jjg
parents:
diff changeset
   112
compiler.warn.unexpected.archive.file                   # Paths: zip file with unknown extn