--- old/src/java.desktop/unix/classes/sun/awt/X11InputMethodBase.java 2018-11-06 17:30:38.000000000 +0900 +++ new/src/java.desktop/unix/classes/sun/awt/X11InputMethodBase.java 2018-11-06 17:30:37.000000000 +0900 @@ -124,6 +124,9 @@ // this structure needs to be accessed within AWT_LOCK/UNLOCK protected transient long pData = 0; // accessed by native + // To keep the activated instance for IM resuming + protected static X11InputMethod activatedInstance = null; + // Initialize highlight mapping table static { @SuppressWarnings({"unchecked", "rawtypes"})