Community
Participate
Working Groups
N20050523-0010: The class org.eclipse.jdt.internal.core.dom.rewrite.TrackedNodePosition uses the method TextEdit#getCoverage to determine the range of the tracked nodes. TextEdit#getCoverage is spec'ed to return null if all text edits are marked as deleted, which is the case if the tracked nodes have been deleted during AST rewrite. The implementations of getStartPosition() and getLength() should handle this case and explicitely return -1.
fixed > 20050525
Verified in i20050527-0010