Bug 405796 - [type wizards] The New Java Class lets you extend a final class
Summary: [type wizards] The New Java Class lets you extend a final class
Status: CLOSED DUPLICATE of bug 199667
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.2.2   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-16 09:58 EDT by Deepak CLA
Modified: 2013-04-16 10:24 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Deepak CLA 2013-04-16 09:58:38 EDT
The New Java Class wizard  lets you extend a final class. 

1. Create a Java Class and select final modifier to make the class final.
2. Create another Java Class with New Java Class  and select Superclass as the final class in 1. 

An error message is not displayed and a class that extends a final class gets created. An error message is indicated in the class extending the final class after the class has been created, but not in the New Java Class wizard.
Comment 1 Dani Megert CLA 2013-04-16 10:24:47 EDT

*** This bug has been marked as a duplicate of bug 199667 ***