On Wed, 30 Oct 2024 20:40:01 GMT, Kevin Rushforth <k...@openjdk.org> wrote:

>> That's an interesting suggestion: trading a new method for a lambda (the 
>> prior code used a lambda to pass to the doPrivileged, so it's also less of a 
>> delta). I'll take a look at it and see if it looks better to me.
>
> I decided to make this change. Thanks for the suggestion.

This looks useful.
I wonder if it would make sense to create a utility method in some common Util 
class?


public static boolean initBoolean(BooleanSupplier c) { return c.getAsBoolean(); 
}

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

PR Review Comment: https://git.openjdk.org/jfx/pull/1608#discussion_r1823367399

Reply via email to