richard.bair at oracle.com
Tue Sep 3 11:28:08 PDT 2013
The only knee-jerk reaction to the service loader is that it can be bad at startup, because for the service loader to work, it has to scan all jar files, which means downloading all jar files. Maybe with Jigsaw we'll have a better mechanism for this such that we can just read the first few bytes of a module and determine whether it supports a certain service or not.
On Sep 3, 2013, at 9:43 AM, Tom Eugelink <tbee at tbee.org> wrote:
> On 2013-09-03 17:49, Richard Bair wrote:
>>> In this case, since JavaFX is Free Software! you can actually suggest
>>> the fix, prototype and propose the patch yourself, limiting the round
>>> trip time substantially.
> That said, in JFXtras I've created an extended FactoryBuilder that dynamically loads builder classes using Java's standard ServiceLoader approach. Would this be of interest for inclusion directly into JavaFX?
> It does require a slightly extended Builder interface though.
> A little blabla about this on this blog entry:
More information about the openjfx-dev