<Swing Dev> [9] Review request for 8058305 BadLocationException is not thrown by javax.swing.text.View.getNextVisualPositionFrom() for invalid positions

Alexander Scherbatiy alexandr.scherbatiy at oracle.com
Thu Sep 25 14:20:30 UTC 2014


Hello,

Could you review the fix:
   bug: https://bugs.openjdk.java.net/browse/JDK-8058305
   webrev: http://cr.openjdk.java.net/~alexsch/8058305/webrev.00

   According to the  View.getNextVisualPositionFrom(...) method javadoc 
http://docs.oracle.com/javase/8/docs/api/javax/swing/text/View.html
   the BadLocationException should be thrown if the given position is 
not a valid position within the document

   The issue is covered by JCK tests.

Thanks,
Alexandr.




More information about the swing-dev mailing list