On Sep 18, 2015, at 6:21 PM, Andy Seaborne <[email protected]> wrote:
> 
>> How would people have the chance to call JenaSystem::set before those static 
>> initializers run? Or am I misunderstanding the use of the hook?
> 
> The documentation
> 
>   /**
>    * Set the {@link JenaSubsystemRegistry}.
>    * To have any effect, this function must be called before any other Jena 
> code,
>    * and especially before calling {@code JenaSystem.init()}.
>    */
> 
> Touch Jena and it initialises.

Yes, this is what I don’t understand. If JenaSystem.init() is getting called in 
static initializers (and it is) then that means I must somehow call 
JenaSystem.set() in static code, too, or I don’t see how it happen before 
JenaSystem.init(). Even then, it doesn’t seem that I can guarantee that my 
JenaSystem.set() call will precede JenaSystem.init() getting called.

---
A. Soroka
The University of Virginia Library


Reply via email to