--- old/src/java.desktop/share/classes/java/awt/im/spi/InputMethodContext.java 2015-04-01 18:37:54.575360600 +0300 +++ new/src/java.desktop/share/classes/java/awt/im/spi/InputMethodContext.java 2015-04-01 18:37:54.150306600 +0300 @@ -66,6 +66,19 @@ TextHitInfo caret, TextHitInfo visiblePosition); /** + * Creates an input method event from the arguments given + * and dispatches it to the client component. For arguments, + * see {@link java.awt.event.InputMethodEvent#InputMethodEvent}. + */ + default + public void dispatchInputMethodEvent(int id, + AttributedCharacterIterator text, int committedCharacterCount, + TextHitInfo caret, TextHitInfo visiblePosition, + int replaceStart, int replaceEnd) { + throw new UnsupportedOperationException(); + } + + /** * Creates a top-level window for use by the input method. * The intended behavior of this window is: *