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