Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6771184

Some methods in text package don't throw BadLocationException when expected

XMLWordPrintable

    • b120
    • generic
    • generic
    • Verified

        This is the umbrella CR for several similar problems when methods don't throw BadLocationException as documented

        The problem is found in the following methods:

        javax.swing.text.Highlighter.addHighlight()
        javax.swing.text.Highlighter.changeHighlight()
        javax.swing.text.NavigationFilter.getNextVisualPositionFrom()

        please see the duplicate bugs 6770648, 6770667 and 6735293
        for the test cases
        The following JCK testcases fail:
        api/javax_swing/text/NavigationFilter/index.html#Methods[NavigationFilter0006]
        api/javax_swing/text/Highlighter/index.html#Highlighter[Highlighter002]
        api/javax_swing/text/Highlighter/index.html#Highlighter[Highlighter006]
        CR 6735293 will be fixed as a separate CR

              rupashka Pavel Porvatov (Inactive)
              alexp Alexander Potochkin (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: