Bug 49843 - Not reporting error on constructor with no body
Summary: Not reporting error on constructor with no body
Status: VERIFIED 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.0 M7   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-12 06:30 EST by Adrian Colyer CLA
Modified: 2004-02-11 12:47 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 Adrian Colyer CLA 2004-01-12 06:30:29 EST
This program doesn't signal an error when run under 3.0M6

class c {
    c(); //ERR: constructors must have bodies 
}
Comment 1 Philipe Mulet CLA 2004-01-13 07:20:33 EST
Fixed. Added regression test ProblemConstructorTest#test002
Comment 2 Philipe Mulet CLA 2004-01-13 07:20:47 EST
Fixed
Comment 3 David Audel CLA 2004-02-11 12:47:05 EST
verified for 3.0M7