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 26017 - Constructor of Servant class is not refreshed in some cases
Summary: Constructor of Servant class is not refreshed in some cases
Status: VERIFIED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: corba (show other bugs)
Version: 3.x
Hardware: All All
: P4 blocker (vote)
Assignee: issues@obsolete
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-25 14:51 UTC by David Kaspar
Modified: 2002-08-26 15:02 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 David Kaspar 2002-07-25 14:51:43 UTC
How to reproduce:
1) Create ServerMain
2) Create 2 implementation. 
For instance: First a.AImpl and Second: b.AImpl - they must have the same 
class name but different package
3) Add Servant under RootPOA and 
specify its class name as a.AImpl
4) NOTE - Constructor of this class is 
automatically filled.
5) Press OK
6) Customize created Servant 
node
7) Select second class name (b.AImpl)
8) Press Close
9) Look at 
ServerMain source file in editor
10) ERROR - Constructor is not 
updated!

In the file there is this line:
b.AImpl myServant = new 
a.AImpl();

But there should be this line:
b.AImpl myServant = new 
b.AImpl();
Comment 1 Dusan Balek 2002-08-26 14:54:14 UTC
Fixed in main trunk.
Comment 2 David Kaspar 2002-08-26 15:02:22 UTC
Verified in main trunk