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 165511 - [67cat] Safely delete is broken for parameterless constructor with implicit super calls
Summary: [67cat] Safely delete is broken for parameterless constructor with implicit s...
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker with 1 vote (vote)
Assignee: Jan Pokorsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-19 15:32 UTC by misterm
Modified: 2009-05-21 12:35 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description misterm 2009-05-19 15:32:16 UTC
[ BUILD # : 090516 ]
[ JDK VERSION : 1.6.* ]

Given:

public class SuperClass {
   public SuperClass() {}
   public SuperClass(Object o) {}
}

and 

public class SubClass extends SuperClass {
}

Trying to safely delete SuperClass() should fail, but works now,
leaving SubClass uncompilable.
Comment 1 Jan Pokorsky 2009-05-20 09:07:58 UTC
fixed http://hg.netbeans.org/jet-main/rev/53b3af26b2c7
Comment 2 Quality Engineering 2009-05-21 08:24:14 UTC
Integrated into 'main-golden', will be available in build *200905210201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/53b3af26b2c7
User: Jan Pokorsky <jpokorsky@netbeans.org>
Log: #165511, #165512: do not skip synthetic constructor usages
Comment 3 misterm 2009-05-21 12:35:39 UTC
Verified in 20090521