API change request (RT-23413)

Greg Brown greg.x.brown at oracle.com
Fri Jul 20 11:31:52 PDT 2012


> Would you need this method in that case, or is the flag sufficient?

Just the flag.

> I kind of like the flag idea in that nobody gets burned, they opt into this behavior when they know they have a situation that it works for.

Agreed.

> The downside is that since it isn't enabled by default (?) people first run into a performance problem and then investigate it and then flip the flag. 

Right. That's why my first inclination was to make this the default behavior, since most callers won't re-use FXMLLoader instances and thus won't get burned by it. But to be on the safe side, requiring callers to proactively enable it is probably best.

G



More information about the openjfx-dev mailing list