Fri, 27 Aug 2010 17:59:08 -0700
6980707: Reduce use of IOException in JavaCompiler
Reviewed-by: darcy
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.annotation.value.not.allowable.type # cannot happen: precluded by complete type-specific tests
4 compiler.err.assignment.from.super-bound # DEAD
5 compiler.err.assignment.to.extends-bound # DEAD
6 compiler.err.cant.apply.symbol.1
7 compiler.err.cant.read.file # (apt.JavaCompiler?)
8 compiler.err.cant.select.static.class.from.param.type
9 compiler.err.illegal.char.for.encoding
10 compiler.err.internal.error.cant.instantiate # Attr: should not happen
11 compiler.err.io.exception # (javah.JavahTask?)
12 compiler.err.limit.code # Code
13 compiler.err.limit.code.too.large.for.try.stmt # Gen
14 compiler.err.limit.dimensions # Gen
15 compiler.err.limit.locals # Code
16 compiler.err.limit.parameters # Gen
17 compiler.err.limit.pool # Gen,JavaCompiler
18 compiler.err.limit.pool.in.class # UNUSED?
19 compiler.err.limit.stack # Code
20 compiler.err.limit.string # Gen
21 compiler.err.limit.string.overflow # JavaCompiler
22 compiler.err.name.reserved.for.internal.use # UNUSED
23 compiler.err.no.annotation.member
24 compiler.err.no.encl.instance.of.type.in.scope # cannot occur; always followed by assert false;
25 compiler.err.no.match.entry # UNUSED?
26 compiler.err.not.annotation.type # cannot occur given preceding checkType
27 compiler.err.not.within.bounds.explain # UNUSED?
28 compiler.err.prob.found.req.1 # Check: DEAD, in unused method
29 compiler.err.proc.bad.config.file # JavacProcessingEnvironment
30 compiler.err.proc.cant.access # completion failure
31 compiler.err.proc.cant.create.loader # security exception from service loader
32 compiler.err.proc.no.service # JavacProcessingEnvironment: no service loader available
33 compiler.err.proc.processor.bad.option.name # cannot happen? masked by javac.err.invalid.A.key
34 compiler.err.proc.processor.constructor.error
35 compiler.err.proc.service.problem # JavacProcessingEnvironment: catch Throwable from service loader
36 compiler.err.signature.doesnt.match.intf # UNUSED
37 compiler.err.signature.doesnt.match.supertype # UNUSED
38 compiler.err.source.cant.overwrite.input.file
39 compiler.err.stack.sim.error
40 compiler.err.type.var.more.than.once # UNUSED
41 compiler.err.type.var.more.than.once.in.result # UNUSED
42 compiler.err.undetermined.type
43 compiler.err.unexpected.type
44 compiler.err.unknown.enum.constant # in bad class file
45 compiler.err.unsupported.cross.fp.lit # Scanner: host system dependent
46 compiler.misc.arg.length.mismatch
47 compiler.misc.assignment.from.super-bound
48 compiler.misc.assignment.to.extends-bound
49 compiler.misc.bad.class.file.header # bad class file
50 compiler.misc.bad.class.signature # bad class file
51 compiler.misc.bad.const.pool.tag # bad class file
52 compiler.misc.bad.const.pool.tag.at # bad class file
53 compiler.misc.bad.enclosing.method # bad class file
54 compiler.misc.bad.runtime.invisible.param.annotations # bad class file
55 compiler.misc.bad.signature # bad class file
56 compiler.misc.bad.type.annotation.value
57 compiler.misc.base.membership # UNUSED
58 compiler.misc.ccf.found.later.version
59 compiler.misc.ccf.unrecognized.attribute
60 compiler.misc.class.file.not.found # ClassReader
61 compiler.misc.class.file.wrong.class
62 compiler.misc.fatal.err.cant.locate.ctor # Resolve, from Lower
63 compiler.misc.fatal.err.cant.locate.field # Resolve, from Lower
64 compiler.misc.fatal.err.cant.locate.meth # Resolve, from Lower
65 compiler.misc.fatal.err.cant.close.loader # JavacProcessingEnvironment
66 compiler.misc.file.does.not.contain.package
67 compiler.misc.illegal.start.of.class.file
68 compiler.misc.inferred.do.not.conform.to.params # UNUSED (hard to see if very complex inference scenario might require this though, so leaving it in, as per JLS3)
69 compiler.misc.kindname.annotation
70 compiler.misc.kindname.enum
71 compiler.misc.kindname.package
72 compiler.misc.kindname.static
73 compiler.misc.kindname.type.variable
74 compiler.misc.kindname.type.variable.bound
75 compiler.misc.kindname.value
76 compiler.misc.no.conforming.assignment.exists
77 compiler.misc.non.denotable.type
78 compiler.misc.no.unique.minimal.instance.exists
79 compiler.misc.resume.abort # prompt for a response
80 compiler.misc.source.unavailable # DiagnosticSource
81 compiler.misc.token.bad-symbol
82 compiler.misc.token.character
83 compiler.misc.token.double
84 compiler.misc.token.end-of-input
85 compiler.misc.token.float
86 compiler.misc.token.integer
87 compiler.misc.token.long-integer
88 compiler.misc.token.string
89 compiler.misc.type.captureof
90 compiler.misc.type.captureof.1
91 compiler.misc.type.none
92 compiler.misc.type.req.exact
93 compiler.misc.type.variable.has.undetermined.type
94 compiler.misc.unable.to.access.file # ClassFile
95 compiler.misc.undecl.type.var # ClassReader
96 compiler.misc.undetermined.type
97 compiler.misc.unicode.str.not.supported # ClassReader
98 compiler.misc.verbose.retro # UNUSED
99 compiler.misc.verbose.retro.with # UNUSED
100 compiler.misc.verbose.retro.with.list # UNUSED
101 compiler.misc.version.not.available # JavaCompiler; implies build error
102 compiler.misc.where.description.captured
103 compiler.misc.where.description.intersection.1
104 compiler.misc.where.typevar.1
105 compiler.misc.wrong.version # ClassReader
106 compiler.warn.annotation.method.not.found # ClassReader
107 compiler.warn.annotation.method.not.found.reason # ClassReader
108 compiler.warn.big.major.version # ClassReader
109 compiler.warn.illegal.char.for.encoding
110 compiler.warn.invalid.archive.file
111 compiler.warn.override.bridge
112 compiler.warn.position.overflow # CRTable: caused by files with long lines >= 1024 chars
113 compiler.warn.proc.type.already.exists # JavacFiler: just mentioned in TODO
114 compiler.warn.unchecked.assign # DEAD, replaced by compiler.misc.unchecked.assign
115 compiler.warn.unchecked.cast.to.type # DEAD, replaced by compiler.misc.unchecked.cast.to.type
116 compiler.warn.unexpected.archive.file # Paths: zip file with unknown extn