History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEABKL-5429
Type: New Feature New Feature
Status: Open Open
Priority: Minor Minor
Assignee: Nikolay Chashnikov
Reporter: Alexander Strotzky
Votes: 0
Watchers: 1
Available Workflow Actions

Mark as Stalled
Operations

If you were logged in you would be able to see more operations.
IDEA: Backlog

GWT: Warn if user adds a panel to itself

Created: 12 Mar 08 14:19   Updated: 11 Jul 08 10:35
Component/s: GWT Support
Affects Version/s: None
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Build: 7,744
Severity: Low


 Description  « Hide
The following code will result in a confusing runtime error (myPanel is a com.google.gwt.user.client.ui.Panel or a subclass of it):
myPanel.add(myPanel);

So, add an inspection that reports panels added to themselves.

A generalization of this is detecting more complicated cycles (e.g. panel A added to B, B added to C, C added to A).
Implement this also if it doesn't take a long time to implement.
If it does, then this time could probably be spend on more important things.



 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.