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 8210 - If change Return type for method in source editor , it is not rewrite Return type in Properties of method.
Summary: If change Return type for method in source editor , it is not rewrite Return ...
Status: CLOSED INVALID
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: Sun Solaris
: P3 normal (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-11-06 16:01 UTC by Marian Mirilovic
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 Marian Mirilovic 2000-11-06 16:01:50 UTC
autoreproduce :
change Return type in source editor , and if open Properties of method the
return type is the same as it was set  by Return type in Properties of method,
It is not changed.
Comment 1 Svata Dedic 2000-11-06 16:27:59 UTC
The return type is not updated immediately, but after the background parsing
task finishes; the tasks starts approx 2 seconds after the last edit, and it
*may* run for about another 1-3 seconds. So if the property is updated within 5
seconds from the last edit operation, it's fine.
Another cause that is As Designed (tm) and may result in the described behaviour
is a syntax error in the source. If an error is discovered, the Java hierarchy
is not updated for safety reasons - large parts of the source might be omitted
from the hierarchy whichs is not desirable. Try to save the file - save
operation will commit the changes to the hierarchy and updates explorer,
properties etc.
Comment 2 Marian Mirilovic 2000-11-14 11:24:59 UTC
The return type is update after 5 seconds or more , but is update.
Comment 3 Marian Mirilovic 2002-10-11 17:59:19 UTC
closed