On Sat, 9 Oct 2021 11:16:29 GMT, Alexander Zvegintsev <[email protected]>
wrote:
>> This fix simply describes that the `java.awt.im.InputContext` is a dummy
>> implementation, which may not conform its spec.
>
> Alexander Zvegintsev has updated the pull request incrementally with one
> additional commit since the last revision:
>
> throw exceptions instead of doc change
src/java.desktop/share/classes/java/awt/im/InputContext.java line 147:
> 145: // real implementation is in sun.awt.im.InputContext
> 146: if (locale == null) {
> 147: throw new NullPointerException();
Probably we can reuse the Objects.requireNonNull()?
-------------
PR: https://git.openjdk.java.net/jdk/pull/5806