-
Bug
-
Resolution: Fixed
-
P3
-
18
-
b20
The specification for java.awt.im.InputContext
https://docs.oracle.com/en/java/javase/16/docs/api/java.desktop/java/awt/im/InputContext.html
doesn't seem to hint that the base (default) implementations of its methods are empty and don't comply to their specification.
For example spec for many of the methods asserts that NPE should be thrown if arg is null, however this is not correct for the default impls.
The spec (class level or of all the methods) needs to be clarified regarding behavior of the default implementations.
https://docs.oracle.com/en/java/javase/16/docs/api/java.desktop/java/awt/im/InputContext.html
doesn't seem to hint that the base (default) implementations of its methods are empty and don't comply to their specification.
For example spec for many of the methods asserts that NPE should be thrown if arg is null, however this is not correct for the default impls.
The spec (class level or of all the methods) needs to be clarified regarding behavior of the default implementations.