Annotations on exception parameters

Werner Dietl wdietl at gmail.com
Tue Nov 27 01:18:28 PST 2012


In "3.3.8 Exception parameters" the JSR 308 design document from Nov.
7 2012 states that annotations on an exception parameter (e.g. ...
catch (@A Exception e) ...) are stored as an exception table index.

I'm wondering whether for uniformity this could be stored like a local
variable or resource variable, where we store the information for the
variables explicitly.
Unifying this aspect would simplify both the specification and its
implementation.
Thoughts?

cu, WMD.

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


More information about the type-annotations-spec-comments mailing list