Reported by Pavel Avgustinov:

> Firstly, the ‘throws’ pattern in method patterns isn’t handled
> correctly. The production specifies:
>
> “throws” ClassNamePattern -> ThrowsPattern {cons(“ThrowsPattern”)}
>
> which is not enough: Rather than a simple ClassNamePattern, a
> comma-separated list of patterns should be accepted (i.e. call(* *()
> throws A&&B, C||D) is valid syntax).

Submitted on 7 June 2006 at 14:22

Log in to post comments