On Wed, 14 Jan 2026 19:08:10 GMT, Andy Goryachev <[email protected]> wrote:

>> modules/javafx.base/src/main/java/com/sun/javafx/binding/SelectBinding.java 
>> line 199:
>> 
>>> 197:                 return numberVal.doubleValue();
>>> 198:             } else if (val != null) {
>>> 199:                 Logging.getLogger().warning("Value of select-binding 
>>> has wrong type, returning default value.");
>> 
>> minor: I would re-phrase it as something like "Expecting a Number value" 
>> (here and elsewhere)
>
> Exception message says "expecting XXX" in Bindings, but not here, I am just 
> curious why?

I updated the log messages in SelectBinding to be consistent with the others

-------------

PR Review Comment: https://git.openjdk.org/jfx/pull/2032#discussion_r2695381928

Reply via email to