Bug 69353 - [1.5] Should reject usage of type parameter in catch block
Summary: [1.5] Should reject usage of type parameter in catch block
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1 M1   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-06 07:11 EDT by Philipe Mulet CLA
Modified: 2005-01-11 11:01 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipe Mulet CLA 2004-07-06 07:11:35 EDT
Cheetah06

The compiler should not allow usage of type parameters in catch blocks, since 
it is forbidden by JLS3 (14.20).
Comment 1 Philipe Mulet CLA 2004-07-06 07:21:56 EDT
Added check and regression test GenericTypeTest#test225.