On Tue, 12 Oct 2021 06:07:53 GMT, Sergey Bylokhov <s...@openjdk.org> wrote:
>> 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()? Sure. ------------- PR: https://git.openjdk.java.net/jdk/pull/5806