RFR: 8269698: Specification for methods of java.awt.im.InputContext should mention that they do nothing [v2]
Alexander Zvegintsev
azvegint at openjdk.java.net
Tue Oct 12 13:39:26 UTC 2021
On Tue, 12 Oct 2021 06:07:53 GMT, Sergey Bylokhov <serb at 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
More information about the client-libs-dev
mailing list