this enhancement

Comment From: philwebb

Thanks for the PR. I think we can simplify this by bypassing all initialization if the property is set. The initialization code doesn't actually need to run at all. The reason we currently do it is to kick off in the background so that something called later runs quickly.

Probably just returning early from this method if the property is set will be enough.

Comment From: snicoll

Thanks @ayudovin, this is now merged in master with a polish commit.

Comment From: ayudovin

@snicoll, Thank you!

Comment From: gdespres

Hi,

Boolean.getBoolean(IGNORE_BACKGROUNDPREINITIALIZER_PROPERTY_NAME) is always false. The call to the method System.getProperty is missing. You can confirm it ?

Comment From: dsyer

Have a look at the java docs for Boolean.getBoolean().

Comment From: gdespres

Thanks @dsyer, it's a misunderstanding of this method.

I didn't known this feature.