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

Summary: Extract method doesn't detect super(); call
Product: java Reporter: Milan Kubec <mkubec>
Component: HintsAssignee: Svata Dedic <sdedic>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

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.