langtools/test/tools/javac/diags/examples.not-yet.txt
author vromero
Fri, 06 May 2016 16:06:27 -0400
changeset 37854 a76a06106d02
parent 36526 3b41f1c69604
child 38519 d70d50ec27bb
permissions -rw-r--r--
8153268: javac accepts enums being referenced by 'uses' statement Reviewed-by: jjg

compiler.err.already.annotated                          # internal compiler error?
compiler.err.already.defined.this.unit                  # seems to be masked by compiler.err.duplicate.class
compiler.err.annotation.value.not.allowable.type        # cannot happen: precluded by complete type-specific tests
compiler.err.bad.functional.intf.anno                   # seems to be masked by compiler.err.annotation.type.not.applicable
compiler.err.cant.read.file                             # (apt.JavaCompiler?)
compiler.err.cant.select.static.class.from.param.type
compiler.err.dc.unterminated.string                     # cannot happen
compiler.err.illegal.char.for.encoding
compiler.err.invalid.repeatable.annotation              # should not happen
compiler.err.invalid.repeatable.annotation.invalid.value # "can't" happen
compiler.err.invalid.repeatable.annotation.multiple.values # can't happen
compiler.err.io.exception                               # (javah.JavahTask?)
compiler.err.limit.code                                 # Code
compiler.err.limit.code.too.large.for.try.stmt          # Gen
compiler.err.limit.dimensions                           # Gen
compiler.err.limit.locals                               # Code
compiler.err.limit.parameters                           # Gen
compiler.err.limit.pool                                 # Gen,JavaCompiler
compiler.err.limit.pool.in.class                        # UNUSED?
compiler.err.limit.stack                                # Code
compiler.err.limit.string                               # Gen
compiler.err.limit.string.overflow                      # JavaCompiler
compiler.err.name.reserved.for.internal.use             # UNUSED
compiler.err.no.annotation.member
compiler.err.no.encl.instance.of.type.in.scope          # cannot occur; always followed by assert false;
compiler.err.no.match.entry                             # UNUSED?
compiler.err.not.annotation.type                        # cannot occur given preceding checkType
compiler.err.proc.bad.config.file                       # JavacProcessingEnvironment
compiler.err.proc.cant.access                           # completion failure
compiler.err.proc.cant.access.1                         # completion failure, no stack trace
compiler.err.proc.cant.create.loader                    # security exception from service loader
compiler.err.proc.no.service                            # JavacProcessingEnvironment: no service loader available
compiler.err.proc.processor.bad.option.name             # cannot happen? masked by javac.err.invalid.A.key
compiler.err.proc.service.problem                       # JavacProcessingEnvironment: catch Throwable from service loader
compiler.err.signature.doesnt.match.intf                # UNUSED
compiler.err.signature.doesnt.match.supertype           # UNUSED
compiler.err.source.cant.overwrite.input.file
compiler.err.stack.sim.error
compiler.err.type.var.more.than.once                    # UNUSED
compiler.err.type.var.more.than.once.in.result          # UNUSED
compiler.err.unexpected.type
compiler.err.unsupported.cross.fp.lit                   # Scanner: host system dependent
compiler.misc.bad.class.signature                       # bad class file
compiler.misc.bad.const.pool.tag                        # bad class file
compiler.misc.bad.const.pool.tag.at                     # bad class file
compiler.misc.bad.enclosing.class                       # bad class file
compiler.misc.bad.enclosing.method                      # bad class file
compiler.misc.bad.runtime.invisible.param.annotations   # bad class file
compiler.misc.bad.signature                             # bad class file
compiler.misc.bad.type.annotation.value
compiler.misc.base.membership                           # UNUSED
compiler.misc.class.file.not.found                      # ClassReader
compiler.misc.class.file.wrong.class
compiler.misc.fatal.err.cant.locate.ctor                # Resolve, from Lower
compiler.misc.fatal.err.cant.locate.field               # Resolve, from Lower
compiler.misc.fatal.err.cant.locate.meth                # Resolve, from Lower
compiler.misc.fatal.err.cant.close	                # JavaCompiler
compiler.misc.file.does.not.contain.package
compiler.misc.illegal.start.of.class.file
compiler.misc.inferred.do.not.conform.to.lower.bounds   # cannot happen?
compiler.misc.kindname.annotation
compiler.misc.kindname.enum
compiler.misc.kindname.package
compiler.misc.kindname.static
compiler.misc.kindname.type.variable
compiler.misc.kindname.type.variable.bound
compiler.misc.kindname.value
compiler.misc.incompatible.eq.lower.bounds              # cannot happen?
compiler.misc.no.unique.minimal.instance.exists
compiler.misc.no.unique.maximal.instance.exists         # cannot happen?
compiler.misc.resume.abort                              # prompt for a response
compiler.misc.source.unavailable                        # DiagnosticSource
compiler.misc.token.bad-symbol
compiler.misc.token.character
compiler.misc.token.double
compiler.misc.token.end-of-input
compiler.misc.token.float
compiler.misc.token.integer
compiler.misc.token.long-integer
compiler.misc.token.string
compiler.misc.type.captureof
compiler.misc.type.captureof.1
compiler.misc.type.none
compiler.misc.type.req.exact
compiler.misc.unable.to.access.file                     # ClassFile
compiler.misc.undecl.type.var                           # ClassReader
compiler.misc.unicode.str.not.supported                 # ClassReader
compiler.misc.malformed.vararg.method                   # ClassReader
compiler.misc.version.not.available                     # JavaCompiler; implies build error
compiler.misc.where.description.captured
compiler.misc.where.typevar.1
compiler.misc.wrong.version                             # ClassReader
compiler.warn.annotation.method.not.found               # ClassReader
compiler.warn.annotation.method.not.found.reason        # ClassReader
compiler.warn.big.major.version                         # ClassReader
compiler.warn.future.attr                               # ClassReader
compiler.warn.illegal.char.for.encoding
compiler.warn.invalid.archive.file
compiler.warn.override.bridge
compiler.warn.position.overflow                         # CRTable: caused by files with long lines >= 1024 chars
compiler.warn.proc.type.already.exists                  # JavacFiler: just mentioned in TODO
compiler.warn.unchecked.assign                          # DEAD, replaced by compiler.misc.unchecked.assign
compiler.warn.unchecked.cast.to.type                    # DEAD, replaced by compiler.misc.unchecked.cast.to.type
compiler.warn.unexpected.archive.file                   # Paths: zip file with unknown extn
compiler.warn.unknown.enum.constant                     # in bad class file
compiler.warn.unknown.enum.constant.reason              # in bad class file
compiler.warn.override.equals.but.not.hashcode          # when a class overrides equals but not hashCode method from Object
compiler.warn.file.from.future                          # warning for future modification times on files
compiler.err.cant.inherit.from.anon                     # error for subclass of anonymous class
compiler.misc.bad.class.file                            # class file is malformed
compiler.misc.bad.const.pool.entry                      # constant pool entry has wrong type

# The following are new module-related messages, that need new examples to be created
compiler.err.addmods.all.module.path.invalid
compiler.err.cant.find.module
compiler.err.cyclic.requires
compiler.err.duplicate.exports
compiler.err.duplicate.module
compiler.err.duplicate.module.on.path
compiler.err.duplicate.provides
compiler.err.duplicate.requires
compiler.err.duplicate.uses
compiler.err.expected.module
compiler.err.illegal.argument.for.option
compiler.err.invalid.module.specifier
compiler.err.locn.bad.module-info
compiler.err.locn.cant.get.module.name.for.jar
compiler.err.locn.cant.read.directory
compiler.err.locn.cant.read.file
compiler.err.locn.invalid.arg.for.xpatch
compiler.err.locn.module-info.not.allowed.on.patch.path
compiler.err.module-info.with.xmodule.classpath
compiler.err.module-info.with.xmodule.sourcepath
compiler.err.module.decl.sb.in.module-info.java
compiler.err.module.name.mismatch
compiler.err.module.not.found
compiler.err.module.not.found.in.module.source.path
compiler.err.modules.not.supported.in.source
compiler.err.modulesourcepath.must.be.specified.with.dash.m.option
compiler.err.multi-module.outdir.cannot.be.exploded.module
compiler.err.no.output.dir
compiler.err.not.def.access.package.cant.access
compiler.err.output.dir.must.be.specified.with.dash.m.option
compiler.err.package.clash.from.requires
compiler.err.package.empty.or.not.found
compiler.err.package.in.other.module
compiler.err.processorpath.no.processormodulepath
compiler.err.service.definition.is.inner
compiler.err.service.definition.is.enum
compiler.err.service.implementation.doesnt.have.a.no.args.constructor
compiler.err.service.implementation.is.abstract
compiler.err.service.implementation.is.inner
compiler.err.service.implementation.no.args.constructor.not.public
compiler.err.service.implementation.not.in.right.module
compiler.err.too.many.modules
compiler.err.unexpected.after.module
compiler.err.unnamed.pkg.not.allowed.named.modules
compiler.err.xaddexports.malformed.entry
compiler.err.xaddexports.too.many
compiler.err.xaddreads.malformed.entry
compiler.err.xaddreads.too.many
compiler.err.xmodule.no.module.sourcepath
compiler.misc.bad.module-info.name
compiler.misc.cant.resolve.modules
compiler.misc.file.does.not.contain.module
compiler.misc.kindname.module
compiler.misc.locn.module_path
compiler.misc.locn.module_source_path
compiler.misc.locn.system_modules
compiler.misc.locn.upgrade_module_path
compiler.misc.unnamed.module
compiler.warn.dir.path.element.not.directory
compiler.warn.locn.unknown.file.on.module.path
compiler.warn.outdir.is.in.exploded.module
compiler.warn.service.provided.but.not.exported.or.used