bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug swing/24216] New: AbstractDocument.remove fires incorrect DocumentE


From: abalkiss at redhat dot com
Subject: [Bug swing/24216] New: AbstractDocument.remove fires incorrect DocumentEvent
Date: 5 Oct 2005 15:28:22 -0000

The remove operation fires a DocumentEvent whose getChange() method returns an
ElementChange that has incorrect offset information for the children in
getChildrenRemoved().

Run the attached testcase.

**Expected output:
added child from: 0 to: 57
removed child from: 0 to: 5
removed child from: 5 to: 57

**Actual output:
added child from: 0 to: 57
removed child from: 0 to: 6
removed child from: 6 to: 57


-- 
           Summary: AbstractDocument.remove fires incorrect DocumentEvent
           Product: classpath
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: swing
        AssignedTo: abalkiss at gcc dot gnu dot org
        ReportedBy: abalkiss at redhat dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24216





reply via email to

[Prev in Thread] Current Thread [Next in Thread]