Fri, 29 Apr 2011 16:05:29 +0100
7039937: Improved catch analysis fails to handle a common idiom in the libraries
Summary: Disable generation of 'unreachable catch' warnings for catch statements catching Exception/Throwable
Reviewed-by: jjg
jjg@610 | 1 | compiler.err.already.annotated # internal compiler error? |
jjg@610 | 2 | compiler.err.already.defined.this.unit # seems to be masked by compiler.err.duplicate.class |
jjg@610 | 3 | compiler.err.annotation.value.not.allowable.type # cannot happen: precluded by complete type-specific tests |
jjg@610 | 4 | compiler.err.assignment.from.super-bound # DEAD |
jjg@610 | 5 | compiler.err.assignment.to.extends-bound # DEAD |
mcimadamore@689 | 6 | compiler.err.cant.apply.symbol |
jjg@610 | 7 | compiler.err.cant.read.file # (apt.JavaCompiler?) |
jjg@610 | 8 | compiler.err.cant.select.static.class.from.param.type |
jjg@610 | 9 | compiler.err.illegal.char.for.encoding |
jjg@610 | 10 | compiler.err.internal.error.cant.instantiate # Attr: should not happen |
jjg@610 | 11 | compiler.err.io.exception # (javah.JavahTask?) |
jjg@610 | 12 | compiler.err.limit.code # Code |
jjg@610 | 13 | compiler.err.limit.code.too.large.for.try.stmt # Gen |
jjg@610 | 14 | compiler.err.limit.dimensions # Gen |
jjg@610 | 15 | compiler.err.limit.locals # Code |
jjg@610 | 16 | compiler.err.limit.parameters # Gen |
jjg@610 | 17 | compiler.err.limit.pool # Gen,JavaCompiler |
jjg@610 | 18 | compiler.err.limit.pool.in.class # UNUSED? |
jjg@610 | 19 | compiler.err.limit.stack # Code |
jjg@610 | 20 | compiler.err.limit.string # Gen |
jjg@610 | 21 | compiler.err.limit.string.overflow # JavaCompiler |
jjg@610 | 22 | compiler.err.name.reserved.for.internal.use # UNUSED |
jjg@610 | 23 | compiler.err.no.annotation.member |
jjg@610 | 24 | compiler.err.no.encl.instance.of.type.in.scope # cannot occur; always followed by assert false; |
jjg@610 | 25 | compiler.err.no.match.entry # UNUSED? |
jjg@610 | 26 | compiler.err.not.annotation.type # cannot occur given preceding checkType |
jjg@610 | 27 | compiler.err.prob.found.req.1 # Check: DEAD, in unused method |
jjg@610 | 28 | compiler.err.proc.bad.config.file # JavacProcessingEnvironment |
jjg@610 | 29 | compiler.err.proc.cant.access # completion failure |
jjg@952 | 30 | compiler.err.proc.cant.access.1 # completion failure, no stack trace |
jjg@610 | 31 | compiler.err.proc.cant.create.loader # security exception from service loader |
jjg@610 | 32 | compiler.err.proc.no.service # JavacProcessingEnvironment: no service loader available |
jjg@610 | 33 | compiler.err.proc.processor.bad.option.name # cannot happen? masked by javac.err.invalid.A.key |
jjg@610 | 34 | compiler.err.proc.processor.constructor.error |
jjg@610 | 35 | compiler.err.proc.service.problem # JavacProcessingEnvironment: catch Throwable from service loader |
jjg@610 | 36 | compiler.err.signature.doesnt.match.intf # UNUSED |
jjg@610 | 37 | compiler.err.signature.doesnt.match.supertype # UNUSED |
jjg@610 | 38 | compiler.err.source.cant.overwrite.input.file |
jjg@610 | 39 | compiler.err.stack.sim.error |
jjg@610 | 40 | compiler.err.type.var.more.than.once # UNUSED |
jjg@610 | 41 | compiler.err.type.var.more.than.once.in.result # UNUSED |
jjg@610 | 42 | compiler.err.undetermined.type |
jjg@610 | 43 | compiler.err.unexpected.type |
jjg@610 | 44 | compiler.err.unknown.enum.constant # in bad class file |
jjg@610 | 45 | compiler.err.unsupported.cross.fp.lit # Scanner: host system dependent |
mcimadamore@822 | 46 | compiler.err.wrong.target.for.polymorphic.signature.definition # Transitional 292 |
jjg@610 | 47 | compiler.misc.assignment.from.super-bound |
jjg@610 | 48 | compiler.misc.assignment.to.extends-bound |
jjg@610 | 49 | compiler.misc.bad.class.file.header # bad class file |
jjg@610 | 50 | compiler.misc.bad.class.signature # bad class file |
jjg@610 | 51 | compiler.misc.bad.const.pool.tag # bad class file |
jjg@610 | 52 | compiler.misc.bad.const.pool.tag.at # bad class file |
jjg@952 | 53 | compiler.misc.bad.enclosing.class # bad class file |
jjg@610 | 54 | compiler.misc.bad.enclosing.method # bad class file |
jjg@610 | 55 | compiler.misc.bad.runtime.invisible.param.annotations # bad class file |
jjg@610 | 56 | compiler.misc.bad.signature # bad class file |
jjg@610 | 57 | compiler.misc.base.membership # UNUSED |
jjg@610 | 58 | compiler.misc.ccf.found.later.version |
jjg@610 | 59 | compiler.misc.ccf.unrecognized.attribute |
jjg@610 | 60 | compiler.misc.class.file.not.found # ClassReader |
jjg@610 | 61 | compiler.misc.class.file.wrong.class |
jjg@610 | 62 | compiler.misc.fatal.err.cant.locate.ctor # Resolve, from Lower |
jjg@610 | 63 | compiler.misc.fatal.err.cant.locate.field # Resolve, from Lower |
jjg@610 | 64 | compiler.misc.fatal.err.cant.locate.meth # Resolve, from Lower |
jjg@663 | 65 | compiler.misc.fatal.err.cant.close.loader # JavacProcessingEnvironment |
jjg@610 | 66 | compiler.misc.file.does.not.contain.package |
jjg@610 | 67 | compiler.misc.illegal.start.of.class.file |
jjg@610 | 68 | compiler.misc.kindname.annotation |
jjg@610 | 69 | compiler.misc.kindname.enum |
jjg@610 | 70 | compiler.misc.kindname.package |
jjg@610 | 71 | compiler.misc.kindname.static |
jjg@610 | 72 | compiler.misc.kindname.type.variable |
jjg@610 | 73 | compiler.misc.kindname.type.variable.bound |
jjg@610 | 74 | compiler.misc.kindname.value |
jjg@610 | 75 | compiler.misc.no.unique.minimal.instance.exists |
jjg@610 | 76 | compiler.misc.resume.abort # prompt for a response |
jjg@610 | 77 | compiler.misc.source.unavailable # DiagnosticSource |
jjg@610 | 78 | compiler.misc.token.bad-symbol |
jjg@610 | 79 | compiler.misc.token.character |
jjg@610 | 80 | compiler.misc.token.double |
jjg@610 | 81 | compiler.misc.token.end-of-input |
jjg@610 | 82 | compiler.misc.token.float |
jjg@610 | 83 | compiler.misc.token.integer |
jjg@610 | 84 | compiler.misc.token.long-integer |
jjg@610 | 85 | compiler.misc.token.string |
jjg@610 | 86 | compiler.misc.type.captureof |
jjg@610 | 87 | compiler.misc.type.captureof.1 |
jjg@610 | 88 | compiler.misc.type.none |
jjg@610 | 89 | compiler.misc.type.req.exact |
jjg@610 | 90 | compiler.misc.type.variable.has.undetermined.type |
jjg@610 | 91 | compiler.misc.unable.to.access.file # ClassFile |
jjg@610 | 92 | compiler.misc.undecl.type.var # ClassReader |
jjg@610 | 93 | compiler.misc.undetermined.type |
jjg@610 | 94 | compiler.misc.unicode.str.not.supported # ClassReader |
jjg@610 | 95 | compiler.misc.verbose.retro # UNUSED |
jjg@610 | 96 | compiler.misc.verbose.retro.with # UNUSED |
jjg@610 | 97 | compiler.misc.verbose.retro.with.list # UNUSED |
jjg@610 | 98 | compiler.misc.version.not.available # JavaCompiler; implies build error |
jjg@610 | 99 | compiler.misc.where.description.captured |
jjg@610 | 100 | compiler.misc.where.description.intersection.1 |
jjg@610 | 101 | compiler.misc.where.typevar.1 |
jjg@610 | 102 | compiler.misc.wrong.version # ClassReader |
jjg@610 | 103 | compiler.warn.annotation.method.not.found # ClassReader |
jjg@610 | 104 | compiler.warn.annotation.method.not.found.reason # ClassReader |
jjg@610 | 105 | compiler.warn.big.major.version # ClassReader |
jjg@776 | 106 | compiler.warn.future.attr # ClassReader |
jjg@610 | 107 | compiler.warn.illegal.char.for.encoding |
jjg@610 | 108 | compiler.warn.invalid.archive.file |
jjg@610 | 109 | compiler.warn.override.bridge |
jjg@610 | 110 | compiler.warn.position.overflow # CRTable: caused by files with long lines >= 1024 chars |
jjg@610 | 111 | compiler.warn.proc.type.already.exists # JavacFiler: just mentioned in TODO |
jjg@610 | 112 | compiler.warn.unchecked.assign # DEAD, replaced by compiler.misc.unchecked.assign |
jjg@610 | 113 | compiler.warn.unchecked.cast.to.type # DEAD, replaced by compiler.misc.unchecked.cast.to.type |
jjg@610 | 114 | compiler.warn.unexpected.archive.file # Paths: zip file with unknown extn |