2010-07-22 11:02:54 -07:00
|
|
|
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
|
2013-01-16 16:30:11 +00:00
|
|
|
compiler.err.bad.functional.intf.anno # seems to be masked by compiler.err.annotation.type.not.applicable
|
2010-07-22 11:02:54 -07:00
|
|
|
compiler.err.cant.read.file # (apt.JavaCompiler?)
|
|
|
|
compiler.err.cant.select.static.class.from.param.type
|
2012-11-14 17:23:10 -08:00
|
|
|
compiler.err.dc.unterminated.string # cannot happen
|
2010-07-22 11:02:54 -07:00
|
|
|
compiler.err.illegal.char.for.encoding
|
2013-01-14 13:50:01 -08:00
|
|
|
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
|
2010-07-22 11:02:54 -07:00
|
|
|
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
|
2011-03-30 18:18:11 -07:00
|
|
|
compiler.err.proc.cant.access.1 # completion failure, no stack trace
|
2010-07-22 11:02:54 -07:00
|
|
|
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
|
2011-03-30 18:18:11 -07:00
|
|
|
compiler.misc.bad.enclosing.class # bad class file
|
2010-07-22 11:02:54 -07:00
|
|
|
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
|
2013-01-23 13:27:24 -08:00
|
|
|
compiler.misc.bad.type.annotation.value
|
2010-07-22 11:02:54 -07:00
|
|
|
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
|
2011-09-21 21:56:53 -07:00
|
|
|
compiler.misc.fatal.err.cant.close # JavaCompiler
|
2010-07-22 11:02:54 -07:00
|
|
|
compiler.misc.file.does.not.contain.package
|
|
|
|
compiler.misc.illegal.start.of.class.file
|
2013-01-21 20:13:56 +00:00
|
|
|
compiler.misc.inferred.do.not.conform.to.lower.bounds # cannot happen?
|
2010-07-22 11:02:54 -07:00
|
|
|
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
|
2012-09-25 11:56:46 +01:00
|
|
|
compiler.misc.incompatible.eq.lower.bounds # cannot happen?
|
2016-10-04 16:25:19 +02:00
|
|
|
compiler.misc.module.name.mismatch
|
2010-07-22 11:02:54 -07:00
|
|
|
compiler.misc.no.unique.minimal.instance.exists
|
2013-01-21 20:13:56 +00:00
|
|
|
compiler.misc.no.unique.maximal.instance.exists # cannot happen?
|
2016-12-01 09:02:42 +00:00
|
|
|
compiler.err.module.non.zero.opens # bad class file
|
|
|
|
compiler.misc.module.non.zero.opens # bad class file
|
2010-07-22 11:02:54 -07:00
|
|
|
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
|
2015-03-13 13:15:24 +05:30
|
|
|
compiler.misc.malformed.vararg.method # ClassReader
|
2010-07-22 11:02:54 -07:00
|
|
|
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
|
2010-12-07 14:13:25 -08:00
|
|
|
compiler.warn.future.attr # ClassReader
|
2010-07-22 11:02:54 -07:00
|
|
|
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
|
2016-08-22 09:59:43 +02:00
|
|
|
compiler.err.no.zipfs.for.archive # would need zip/jar file
|
2011-04-29 16:06:28 +01:00
|
|
|
compiler.warn.unknown.enum.constant # in bad class file
|
|
|
|
compiler.warn.unknown.enum.constant.reason # in bad class file
|
2013-02-18 14:33:25 +00:00
|
|
|
compiler.warn.override.equals.but.not.hashcode # when a class overrides equals but not hashCode method from Object
|
2014-02-26 18:05:02 -08:00
|
|
|
compiler.warn.file.from.future # warning for future modification times on files
|
2014-04-04 19:13:53 -04:00
|
|
|
compiler.err.cant.inherit.from.anon # error for subclass of anonymous class
|
2014-03-19 11:34:27 -04:00
|
|
|
compiler.misc.bad.class.file # class file is malformed
|
2014-04-22 19:52:15 +01:00
|
|
|
compiler.misc.bad.const.pool.entry # constant pool entry has wrong type
|
2016-03-02 18:25:01 -05:00
|
|
|
compiler.warn.access.to.member.from.serializable.lambda # in order to generate it we need to modify a restricted package
|
8142968: Module System implementation
Initial integration of JEP 200, JEP 260, JEP 261, and JEP 282
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Co-authored-by: Vicente Romero <vicente.romero@oracle.com>
Co-authored-by: Andreas Lundblad <andreas.lundblad@oracle.com>
Co-authored-by: Andrey Nazarov <andrey.x.nazarov@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Kumar Srinivasan <kumar.x.srinivasan@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: jjg, jlahoda, vromero, mcimadamore, bpatel, ksrini, darcy, anazarov, dfuchs
2016-03-17 19:04:28 +00:00
|
|
|
|
2016-05-18 11:38:20 +05:30
|
|
|
# The following module-related messages will have to stay on the not-yet list for various reasons:
|
|
|
|
compiler.warn.locn.unknown.file.on.module.path # Never issued ATM (short circuited with an if (false))
|
|
|
|
compiler.err.no.output.dir # -d is always specified by test infrastructure
|
|
|
|
compiler.err.output.dir.must.be.specified.with.dash.m.option # -d is always specified by test infrastructure
|
|
|
|
compiler.warn.outdir.is.in.exploded.module # No control over -d specified by test infrastructure
|
|
|
|
compiler.err.invalid.module.specifier # Not possible (?)
|
|
|
|
compiler.err.locn.cant.get.module.name.for.jar # bad binary ? Infer module name failure
|
2016-08-16 09:45:19 +05:30
|
|
|
compiler.misc.anachronistic.module.info # requires binaries compiled with EA compilers.
|
2016-05-18 11:38:20 +05:30
|
|
|
compiler.misc.bad.module-info.name # bad class file
|
|
|
|
compiler.err.locn.bad.module-info # bad class file
|
|
|
|
compiler.err.locn.cant.read.file # bad class file
|
2016-06-27 12:29:41 -07:00
|
|
|
compiler.misc.module.info.invalid.super.class # bad class file
|
2016-05-18 11:38:20 +05:30
|
|
|
compiler.err.locn.cant.read.directory # file system issue
|
2016-08-10 15:47:46 -07:00
|
|
|
compiler.err.locn.invalid.arg.for.xpatch # command line option error
|
2016-05-18 11:38:20 +05:30
|
|
|
compiler.misc.unnamed.module # fragment uninteresting in and of itself
|
|
|
|
compiler.misc.kindname.module # fragment uninteresting in and of itself
|
|
|
|
compiler.misc.locn.module_path # fragment uninteresting in and of itself
|
|
|
|
compiler.misc.locn.module_source_path # fragment uninteresting in and of itself
|
|
|
|
compiler.misc.locn.system_modules # fragment uninteresting in and of itself
|
|
|
|
compiler.misc.locn.upgrade_module_path # fragment uninteresting in and of itself
|
|
|
|
|
|
|
|
# The following are new module-related messages, that need new examples to be created
|
8142968: Module System implementation
Initial integration of JEP 200, JEP 260, JEP 261, and JEP 282
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Co-authored-by: Vicente Romero <vicente.romero@oracle.com>
Co-authored-by: Andreas Lundblad <andreas.lundblad@oracle.com>
Co-authored-by: Andrey Nazarov <andrey.x.nazarov@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Kumar Srinivasan <kumar.x.srinivasan@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: jjg, jlahoda, vromero, mcimadamore, bpatel, ksrini, darcy, anazarov, dfuchs
2016-03-17 19:04:28 +00:00
|
|
|
compiler.err.duplicate.module.on.path
|
|
|
|
compiler.err.locn.module-info.not.allowed.on.patch.path
|
|
|
|
compiler.misc.cant.resolve.modules
|
|
|
|
compiler.misc.file.does.not.contain.module
|