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 11728 - Synchronization tool should consider classes in java.lang package
Summary: Synchronization tool should consider classes in java.lang package
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-04-25 08:05 UTC by navneet
Modified: 2007-09-26 09:14 UTC (History)
0 users

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 navneet 2001-04-25 08:05:26 UTC
Build number: 3.2 RC3 Build 36
JDK Version: 1.3.0

Summary: Synchronization tool should consider all classes in the java.lang 
package while checking for missing methods.

Steps to recreate:
1. Create an interface with the following defination:
interface if1 {
    public boolean equals ( Object o );
}

2. Start the new class wizard and specify the interface if1 as the interface. 
Do *not* specify a base class.

3. Finish the wizard.

Behaviour:
The synchronization dialog will come up asking to process the missing method 
equals. Since this method is part of the java.lang.Object class which is the 
base class for all the classes, this should have been handled automatically.
Note that if the base class is specified as java.lang.Object, this case is 
handled correctly. Even the case where the base class is specified as Object 
and not java.lang.Object gives the faulty behaviour
Comment 1 Svata Dedic 2001-04-25 15:33:07 UTC
Won't be fixed in 3.2 - unless extremely annoying.
Comment 2 Jan Chalupa 2001-05-05 23:20:53 UTC
Target milestone -> 3.3
Comment 3 Svata Dedic 2001-05-22 16:26:32 UTC
Fixed in dev trunk, marking as a candidate for 3.2.1
Comment 4 Jan Becicka 2001-06-18 13:04:28 UTC
[010616] Verified
Comment 5 navneet 2001-07-11 12:27:52 UTC
Verified