Bug 5045 - Control.moveAbove() throws NPE if argument is null
Summary: Control.moveAbove() throws NPE if argument is null
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 2.0   Edit
Hardware: PC Linux
: P2 critical (vote)
Target Milestone: ---   Edit
Assignee: Grant Gayed CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-17 12:02 EDT by David Whiteman CLA
Modified: 2001-10-17 16:43 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Whiteman CLA 2001-10-17 12:02:06 EDT
According to the comment in Control.moveAbove() the argument can be null to 
move the receiver to the top of the drawing order.  However, in the 
implementation of moveAbove() in SWT 2.003, the message isDisposed() is sent 
the argument without checking for null.  This is also true for moveBelow()...
Comment 1 Grant Gayed CLA 2001-10-17 16:43:28 EDT
This was fixed a few weeks ago by SSQ.  No change required.