Bug 7881 - IType.move() clobbers editing buffer of destination element
Summary: IType.move() clobbers editing buffer of destination element
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 1.0   Edit
Hardware: PC Windows NT
: P3 normal (vote)
Target Milestone: 2.0 M5   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-01-18 07:29 EST by Darshan Shaligram CLA
Modified: 2002-03-26 10:40 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Darshan Shaligram CLA 2002-01-18 07:29:29 EST
This was on WSAD 4.0.2 on a WinNT 4.0 (SP5) machine:

The call in question was like 
this:

IType classA, classB; 
// Both exist, non-null and are ITypes obtained from 
different 
// working-copy ICompilationUnits
classA.move(classB, null, null, false, 
null);

The call succeeds and classA is added as an inner class to
classB, but any user 
interaction with the editor for classB
after the call causes NullPointerExceptions to be 
thrown by
the Buffer.
Comment 1 Jerome Lanneluc CLA 2002-03-26 10:40:21 EST
This works for me in build 20020321.
Closing. Please re-open if you still have the problem in build >= 20020321 and 
paste in the stack trace.