AWT has a feature named auto shutdown which terminates AWT event thread in case there is no platform peer existing. But current IMF SPI spec does not force input methods to dispose native peers even when they are no longer needed. These remaining peers prevent AWT from performing auto shutdown, which is manifested in 4515058.
To fix this, we propose to change SPI to force input methods to conform either the following two options:
1) Specify 'daemon property' (cf. 4670707) for displayable components, or
2) Explicitly make displayable components undisplayable