Storing annotations on exception parameters

Werner Dietl wdietl at gmail.com
Tue Nov 27 17:49:21 PST 2012


As discussed on the type-annotations-spec-experts list (see
http://mail.openjdk.java.net/pipermail/type-annotations-spec-experts/2012-November/000038.html)
Section 3.3.8 of the JSR 308 specification will stay unchanged.

For local variables, method:

com.sun.tools.javac.jvm.Code.fillLocalVarPosition(LocalVar)

determines the necessary information.

Could somebody point me to a place where I could determine the
exception table index for an exception parameter?
I found method

com.sun.tools.javac.jvm.Gen.genCatch(JCCatch, Env<GenContext>, int,
int, List<Integer>)

but I didn't see an exception table index there.

Thanks,
cu, WMD.

-- 
http://www.google.com/profiles/wdietl


More information about the type-annotations-dev mailing list