1 compiler.err.already.annotated                          # internal compiler error?
   2 compiler.err.already.defined.this.unit                  # seems to be masked by compiler.err.duplicate.class
   3 compiler.err.bad.functional.intf.anno                   # seems to be masked by compiler.err.annotation.type.not.applicable
   4 compiler.err.annotation.value.not.allowable.type        # should be detected in advance by the annotation value visitor
   5 compiler.err.cant.read.file                             # (apt.JavaCompiler?)
   6 compiler.err.cant.select.static.class.from.param.type
   7 compiler.err.dc.unterminated.string                     # cannot happen
   8 compiler.err.file.patched.and.msp                       # needs the same dir on --module-source-path and --patch-module
   9 compiler.err.illegal.char.for.encoding
  10 compiler.err.invalid.repeatable.annotation              # should not happen
  11 compiler.err.invalid.repeatable.annotation.invalid.value # "can't" happen
  12 compiler.err.invalid.repeatable.annotation.multiple.values # can't happen
  13 compiler.err.io.exception                               # (javah.JavahTask?)
  14 compiler.err.limit.code                                 # Code
  15 compiler.err.limit.code.too.large.for.try.stmt          # Gen
  16 compiler.err.limit.dimensions                           # Gen
  17 compiler.err.limit.locals                               # Code
  18 compiler.err.limit.parameters                           # Gen
  19 compiler.err.limit.pool                                 # Gen,JavaCompiler
  20 compiler.err.limit.pool.in.class                        # UNUSED?
  21 compiler.err.limit.stack                                # Code
  22 compiler.err.limit.string                               # Gen
  23 compiler.err.limit.string.overflow                      # JavaCompiler
  24 compiler.err.module.non.zero.opens                      # bad class file
  25 compiler.err.name.reserved.for.internal.use             # UNUSED
  26 compiler.err.no.annotation.member
  27 compiler.err.no.encl.instance.of.type.in.scope          # cannot occur; always followed by assert false;
  28 compiler.err.no.match.entry                             # UNUSED?
  29 compiler.err.not.annotation.type                        # cannot occur given preceding checkType
  30 compiler.err.not.def.access.package.cant.access
  31 compiler.err.proc.bad.config.file                       # JavacProcessingEnvironment
  32 compiler.err.proc.cant.access                           # completion failure
  33 compiler.err.proc.cant.access.1                         # completion failure, no stack trace
  34 compiler.err.proc.cant.create.loader                    # security exception from service loader
  35 compiler.err.proc.no.service                            # JavacProcessingEnvironment: no service loader available
  36 compiler.err.proc.processor.bad.option.name             # cannot happen? masked by javac.err.invalid.A.key
  37 compiler.err.proc.service.problem                       # JavacProcessingEnvironment: catch Throwable from service loader
  38 compiler.err.proc.cant.load.class                       # JavacProcessingEnvironment: cant load the class/jar file
  39 compiler.err.signature.doesnt.match.intf                # UNUSED
  40 compiler.err.signature.doesnt.match.supertype           # UNUSED
  41 compiler.err.source.cant.overwrite.input.file
  42 compiler.err.stack.sim.error
  43 compiler.err.type.var.more.than.once                    # UNUSED
  44 compiler.err.type.var.more.than.once.in.result          # UNUSED
  45 compiler.err.unexpected.type
  46 compiler.err.unsupported.cross.fp.lit                   # Scanner: host system dependent
  47 compiler.misc.bad.class.signature                       # bad class file
  48 compiler.misc.bad.const.pool.tag                        # bad class file
  49 compiler.misc.bad.const.pool.tag.at                     # bad class file
  50 compiler.misc.bad.const.pool.index                      # bad class file
  51 compiler.misc.bad.constant.range                        # bad class file
  52 compiler.misc.bad.constant.value                        # bad class file
  53 compiler.misc.bad.enclosing.class                       # bad class file
  54 compiler.misc.bad.enclosing.method                      # bad class file
  55 compiler.misc.bad.runtime.invisible.param.annotations   # bad class file
  56 compiler.misc.bad.signature                             # bad class file
  57 compiler.misc.bad.requires.flag                         # bad class file
  58 compiler.misc.bad.type.annotation.value
  59 compiler.misc.base.membership                           # UNUSED
  60 compiler.misc.class.file.not.found                      # ClassReader
  61 compiler.misc.class.file.wrong.class
  62 compiler.misc.exception.message                         # uncommon completion failure based on a string
  63 compiler.misc.fatal.err.cant.locate.ctor                # Resolve, from Lower
  64 compiler.misc.fatal.err.cant.locate.field               # Resolve, from Lower
  65 compiler.misc.fatal.err.cant.locate.meth                # Resolve, from Lower
  66 compiler.misc.fatal.err.cant.close                      # JavaCompiler
  67 compiler.misc.feature.not.supported.in.source.plural    # cannot happen (for now)
  68 compiler.misc.file.does.not.contain.package
  69 compiler.misc.illegal.start.of.class.file
  70 compiler.misc.inferred.do.not.conform.to.lower.bounds   # cannot happen?
  71 compiler.misc.kindname.annotation
  72 compiler.misc.kindname.enum
  73 compiler.misc.kindname.package
  74 compiler.misc.kindname.static
  75 compiler.misc.kindname.type.variable
  76 compiler.misc.kindname.type.variable.bound
  77 compiler.misc.kindname.value
  78 compiler.misc.module.name.mismatch
  79 compiler.misc.module.non.zero.opens                     # bad class file
  80 compiler.misc.no.unique.minimal.instance.exists
  81 compiler.misc.no.unique.maximal.instance.exists         # cannot happen?
  82 compiler.misc.not.def.access.package.cant.access
  83 compiler.misc.package.not.visible
  84 compiler.misc.resume.abort                              # prompt for a response
  85 compiler.misc.source.unavailable                        # DiagnosticSource
  86 compiler.misc.token.bad-symbol
  87 compiler.misc.token.character
  88 compiler.misc.token.double
  89 compiler.misc.token.end-of-input
  90 compiler.misc.token.float
  91 compiler.misc.token.integer
  92 compiler.misc.token.long-integer
  93 compiler.misc.token.string
  94 compiler.misc.type.captureof
  95 compiler.misc.type.captureof.1
  96 compiler.misc.type.none
  97 compiler.misc.type.req.exact
  98 compiler.misc.unable.to.access.file                     # ClassFile
  99 compiler.misc.undecl.type.var                           # ClassReader
 100 compiler.misc.unicode.str.not.supported                 # ClassReader
 101 compiler.misc.user.selected.completion.failure          # manual completion failure
 102 compiler.misc.malformed.vararg.method                   # ClassReader
 103 compiler.misc.version.not.available                     # JavaCompiler; implies build error
 104 compiler.misc.where.description.captured
 105 compiler.misc.where.typevar.1
 106 compiler.misc.wrong.version                             # ClassReader
 107 compiler.warn.annotation.method.not.found               # ClassReader
 108 compiler.warn.annotation.method.not.found.reason        # ClassReader
 109 compiler.warn.big.major.version                         # ClassReader
 110 compiler.warn.future.attr                               # ClassReader
 111 compiler.warn.illegal.char.for.encoding
 112 compiler.warn.incubating.modules                        # requires adjusted classfile
 113 compiler.warn.invalid.archive.file
 114 compiler.warn.override.bridge
 115 compiler.warn.position.overflow                         # CRTable: caused by files with long lines >= 1024 chars
 116 compiler.warn.proc.type.already.exists                  # JavacFiler: just mentioned in TODO
 117 compiler.warn.unchecked.assign                          # DEAD, replaced by compiler.misc.unchecked.assign
 118 compiler.warn.unchecked.cast.to.type                    # DEAD, replaced by compiler.misc.unchecked.cast.to.type
 119 compiler.warn.unexpected.archive.file                   # Paths: zip file with unknown extn
 120 compiler.err.no.zipfs.for.archive                       # would need zip/jar file
 121 compiler.warn.unknown.enum.constant                     # in bad class file
 122 compiler.warn.unknown.enum.constant.reason              # in bad class file
 123 compiler.warn.override.equals.but.not.hashcode          # when a class overrides equals but not hashCode method from Object
 124 compiler.warn.file.from.future                          # warning for future modification times on files
 125 compiler.err.cant.inherit.from.anon                     # error for subclass of anonymous class
 126 compiler.misc.bad.class.file                            # class file is malformed
 127 compiler.misc.bad.const.pool.entry                      # constant pool entry has wrong type
 128 compiler.warn.access.to.member.from.serializable.lambda # in order to generate it we need to modify a restricted package
 129 compiler.warn.invalid.path                              # this warning is generated only in Windows systems
 130 compiler.err.invalid.path                               # this error is generated only in Windows systems
 131 compiler.note.multiple.elements                         # needs user code
 132 compiler.err.preview.feature.disabled.classfile         # preview feature support: needs compilation against classfile
 133 compiler.warn.preview.feature.use.classfile             # preview feature support: needs compilation against classfile
 134 compiler.note.preview.plural.additional                 # preview feature support: diag test causes intermittent failures (see JDK-8201498)
 135 compiler.misc.bad.intersection.target.for.functional.expr  # currently not generated, should be removed?
 136 compiler.misc.not.an.intf.component
 137 
 138 # The following module-related messages will have to stay on the not-yet list for various reasons:
 139 compiler.warn.locn.unknown.file.on.module.path                # Never issued ATM (short circuited with an if (false))
 140 compiler.err.no.output.dir                                    # -d is always specified by test infrastructure
 141 compiler.err.output.dir.must.be.specified.with.dash.m.option  # -d is always specified by test infrastructure
 142 compiler.warn.outdir.is.in.exploded.module                    # No control over -d specified by test infrastructure
 143 compiler.err.invalid.module.specifier                         # Not possible (?)
 144 compiler.err.locn.cant.get.module.name.for.jar                # bad binary ? Infer module name failure
 145 compiler.misc.anachronistic.module.info                       # requires binaries compiled with EA compilers.
 146 compiler.misc.bad.module-info.name                            # bad class file
 147 compiler.err.locn.bad.module-info                             # bad class file
 148 compiler.err.locn.cant.read.file                              # bad class file
 149 compiler.misc.module.info.invalid.super.class                 # bad class file
 150 compiler.err.locn.cant.read.directory                         # file system issue
 151 compiler.err.locn.invalid.arg.for.xpatch                      # command line option error
 152 compiler.misc.unnamed.module                                  # fragment uninteresting in and of itself
 153 compiler.misc.kindname.module                                 # fragment uninteresting in and of itself
 154 compiler.misc.locn.module_path                                # fragment uninteresting in and of itself
 155 compiler.misc.locn.module_source_path                         # fragment uninteresting in and of itself
 156 compiler.misc.locn.system_modules                             # fragment uninteresting in and of itself
 157 compiler.misc.locn.upgrade_module_path                        # fragment uninteresting in and of itself
 158 compiler.misc.inferred.do.not.conform.to.eq.bounds            # hard to generate, could probably be removed
 159 compiler.err.feature.not.supported.in.source                  # Generated for using diamond before source 7
 160 
 161 # The following are new module-related messages, that need new  examples to be created
 162 compiler.err.duplicate.module.on.path
 163 compiler.err.locn.module-info.not.allowed.on.patch.path
 164 compiler.misc.cant.resolve.modules
 165 compiler.misc.file.does.not.contain.module
 166 
 167 # records related messages
 168 compiler.err.duplicate.argument.to.super
 169 compiler.err.expected3
 170 compiler.misc.bad.super.fields
 171 compiler.misc.super.field.mismatch
 172 compiler.err.accessor.return.type.doesnt.match
 173 compiler.err.canonical.with.name.mismatch
 174 compiler.err.cant.extend.record
 175 compiler.err.constructor.with.same.erasure.as.canonical
 176 compiler.err.local.record
 177 compiler.err.method.must.be.public
 178 compiler.err.nested.records.must.be.static
 179 compiler.err.non.sealed.with.no.sealed.supertype
 180 compiler.err.permits.in.no.sealed.class
 181 compiler.err.record.can.only.declare.methods.as.members
 182 compiler.err.record.cant.be.abstract
 183 compiler.err.record.cant.declare.duplicate.fields
 184 compiler.err.record.cant.declare.field.modifiers
 185 compiler.err.record.fields.must.be.in.header
 186 compiler.err.record.not.allowed
 187 compiler.misc.bad.record.super
 188 compiler.misc.feature.sealed.types
 189 
 190 # these keys were in javac.properties and examples are hard to be produced for them
 191 # basically because in most cases the compilation ends with an exception
 192 compiler.err.bad.value.for.option
 193 compiler.err.empty.A.argument
 194 compiler.err.error.writing.file
 195 compiler.err.file.not.directory
 196 compiler.err.file.not.file
 197 compiler.err.file.not.found
 198 compiler.err.invalid.A.key
 199 compiler.err.invalid.flag
 200 compiler.err.invalid.profile
 201 compiler.err.invalid.source
 202 compiler.err.invalid.target
 203 compiler.err.multiple.values.for.module.source.path
 204 compiler.err.no.source.files.classes
 205 compiler.err.no.value.for.option
 206 compiler.err.option.not.allowed.with.target
 207 compiler.err.option.too.many
 208 compiler.err.profile.bootclasspath.conflict
 209 compiler.err.release.bootclasspath.conflict
 210 compiler.err.repeated.value.for.module.source.path
 211 compiler.err.repeated.value.for.patch.module
 212 compiler.err.req.arg
 213 compiler.err.sourcepath.modulesourcepath.conflict
 214 compiler.err.two.class.loaders.1
 215 compiler.err.two.class.loaders.2
 216 compiler.err.unmatched.quote
 217 compiler.err.unsupported.release.version
 218 compiler.warn.profile.target.conflict
 219 compiler.warn.source.target.conflict
 220 compiler.warn.target.default.source.conflict
 221 compiler.err.preview.not.latest
 222 compiler.err.preview.without.source.or.release