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 6323 - [Synchronization] Intelligent synchronization behavior in case when a method from the interface is overloaded in the implementation class.
Summary: [Synchronization] Intelligent synchronization behavior in case when a method ...
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: All All
: P3 enhancement (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-04-18 01:18 UTC by Petr Slegr
Modified: 2007-09-26 09:14 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 Petr Slegr 2000-04-18 01:18:39 UTC
Let have some interface contains method myMethod (). When the class that implements the interface contains overloaded methods of myMethod (e.g. myMethod (String), myMethod (int),...), synchronizatio
n action will replace first of them.

Although better way would be to extend interface and then implement it, I think that detection of this situation and querying user whether and what method to replace would be useful.
Comment 1 Svata Dedic 2000-11-14 11:03:59 UTC
*** Bug 6808 has been marked as a duplicate of this bug. ***
Comment 2 Ivan Bradac 2001-01-31 10:16:59 UTC
Fixed in FFJ2.0-JP1 : If any method is changed or added in the implemented
interface, a new method is always created in the implementing class upon the
synchronize action.
Comment 3 Tomas Hurka 2001-02-01 17:54:59 UTC
fix applied also to main trunk
Comment 4 Jan Becicka 2002-01-11 17:04:14 UTC
Reopening
Comment 5 Svata Dedic 2002-05-21 17:51:57 UTC
Cleaning up before 4.0 planning
Comment 6 Marek Grummich 2002-07-19 16:37:18 UTC
Target milestone was changed from not determined to TBD
Comment 7 Jan Becicka 2005-10-12 14:35:01 UTC
Synchronization feature was removed.