Uploaded image for project: 'Harmony'
  1. Harmony
  2. HARMONY-2756

[classlib][swing] j.s.text.AbstractDocument.BranchElement.getElementIndex may return -1 instead of 0 in RI

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • None
    • Classlib
    • None
    • Patch Available

    Description

      javax.swing.text.AbstractDocument.BranchElement.getElementIndex may return -1 in Harmony in case where RI returns 0.

      Attachments

        1. H2756-AbstractDocument_BranchElementTest.patch
          5 kB
          Alexey A. Ivanov
        2. H2756-AbstractDocument.patch
          2 kB
          Alexey A. Ivanov
        3. HTest2756.java
          0.6 kB
          Alexey A. Ivanov

        Issue Links

          Activity

            People

              hindessm Mark Hindess
              aaivanov Alexey A. Ivanov
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: