This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 61718 - Extract method doesn't detect super(); call
Summary: Extract method doesn't detect super(); call
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-03 10:22 UTC by Milan Kubec
Modified: 2013-09-02 14:21 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Milan Kubec 2005-08-03 10:22:55 UTC
[dev-200508021800, JDK 1.5.0_04]

Selection which includes super(); call is allowed to be extracted to different
method, which is illegal, because super(); must be first call in constructor.
There should be some test for this situation.
Comment 1 Jan Becicka 2005-08-09 15:40:51 UTC
It is P4 imo. It is not specified, that this kind of semantic analyzis should be
done.