changeset 42216 | 621af0ebf6c4 |
parent 37787 | de878aeb7ed2 |
--- a/jdk/src/java.desktop/macosx/classes/sun/lwawt/macosx/CAccessibleText.java Mon Nov 14 09:03:07 2016 -0800 +++ b/jdk/src/java.desktop/macosx/classes/sun/lwawt/macosx/CAccessibleText.java Mon Nov 14 09:59:36 2016 -0800 @@ -293,6 +293,7 @@ }, c); } + @SuppressWarnings("deprecation") static int[] getVisibleCharacterRange(final Accessible a) { final Accessible sa = CAccessible.getSwingAccessible(a); if (!(sa instanceof JTextComponent)) return null;