Clarification request: is it #int(int, int)(throws IOException, SQLException) or something else?
Alex Buckley
alex.buckley at oracle.com
Tue Jun 1 14:55:58 PDT 2010
On 6/1/2010 3:58 AM, Reinier Zwitserloot wrote:
> Is it:
>
> A) #int(int, int)(throws IOException | SQLException) [parens, bar]
> B) #int(int, int)(throws IOException, SQLException) [parens, comma]
> C) #int(int, int) throws IOException | SQLException [no parens, bar]
> D) #int(int, int) throws IOException, SQLException [no parens, comma -
> this would be unparsable syntax]
> E) #int(int, int)(IOException, SQLException) [no throws, comma]
> F) #int(int, int)(IOException | SQLException) [no throws, bar]
>
> Versions A, B en E all occur in the spec, between clarifications, examples,
> and official syntax. I'm fairly sure version C has been discussed on this
> mailing list before.
B. The fundamental unit is the existing Throws production, which is then
parenthesized. You're right about an erroneous instance of A; it will be
removed.
Alex
More information about the lambda-dev
mailing list