On Mon, 13 Mar 2023 16:46:10 GMT, Artem Semenov <aseme...@openjdk.org> wrote:
> This enhancement covers basic API and shared code that should be implemented > for the Accessibility Announcement feature. src/java.desktop/share/classes/sun/swing/AccessibleAnnounceProvider.java line 40: > 38: * messages do not interrupt the current speech, they are spoken > after the screen reader has spoken the current phrase > 39: */ > 40: @Native private static final int > ANNOUNCE_WITHOUT_INTERRUPTING_CURRENT_OUTPUT = > AccessibleAnnouncer.ANNOUNCE_WITHOUT_INTERRUPTING_CURRENT_OUTPUT; I suppose that adding @Native to AccessibleAnnouncer constants would simplify the code ------------- PR: https://git.openjdk.org/jdk/pull/13001