On Wed, 26 Aug 2026 00:52:17 GMT, Sergey Bylokhov <[email protected]> wrote:
>> since we might need to backport this, doing spec change is problematic so >> added isHeadless check > > It seems "(Boolean) value" can also causes an unexpected exception for this > new "dragEnabled" property, if the value is unrelated object? It is not an unexpected exception. It matches LookAndFeel.installProperty’s existing contract: > ClassCastException if the property has not been set by the developer and the > supplied value does not match the property type. The existing "opaque" and "autoscrolls" branches do the same thing: ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/32101#discussion_r3859972173
