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 6593 - Neverending loop between PropertySheet and JavaEditor if field, which type is int[] is changed to int[][].
Summary: Neverending loop between PropertySheet and JavaEditor if field, which type is...
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: All All
: P4 normal (vote)
Assignee: Jan Becicka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-05-09 23:41 UTC by Jan Becicka
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 Jan Becicka 2000-05-09 23:41:06 UTC
1. Create field:
int[] a;
2. Open PropertySheet to examine a
3. In Editor change type of a to int[][] and click on Type property in PropertySheet. You have only 2 seconds for click ;-)
4. Now you can see, how Type in PropertySheet and in JavaEditor is periodically changed from int[] to int[][] and backwards.

[Svata] This is quite "special" case: when the property sheet gets property change event, it discards the current contents of the writeable text area and replaces it. Most probably it fires property c
hange event carrying the to-be-discarded value that is in turn propagated to the setType() OpenAPI call and is written into the text. At that time, the property editor is writeable and contains the "n
ew" value. But changing type via OpenAPI fires another property change event --> loops indefinitely.
Comment 1 Marek Grummich 2000-07-25 09:34:59 UTC
Priority is changed to P4 (normal).
Comment 2 Quality Engineering 2003-07-02 17:18:00 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.