AJF-25: ThrowsPatterns can be composed
Reported by Pavel Avgustinov:> Firstly, the ‘throws’ pattern in method patterns isn’t handled
Submitted on 7 June 2006 at 14:22
> 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).
Log in to post comments