-
Bug
-
Resolution: Fixed
-
P3
-
6, 7
-
b120
-
generic
-
generic
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2185273 | 8 | Pavel Porvatov | P3 | Closed | Won't Fix |
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
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
- backported by
-
JDK-2185273 Some methods in text package don't throw BadLocationException when expected
-
- Closed
-
- duplicates
-
JDK-6770648 javax.swing.text.Highlighter.addHighlight() doesn't throw BadLocationException when expected
-
- Closed
-
-
JDK-6770667 javax.swing.text.Highlighter.changeHighlight() doesn't throw BadLocationException when expected
-
- Closed
-
- relates to
-
JDK-6735293 javax.swing.text.NavigationFilter.getNextVisualPositionFrom() not always throws BadLocationException
-
- Closed
-
-
JDK-7016396 (spec) JCK test mentioned in 6735293 is still failing
-
- Closed
-