I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 32f25000 authored by zzz's avatar zzz
Browse files

NBI: Tweak to prevent early context instantiation

parent e004b0e6
No related branches found
No related tags found
No related merge requests found
......@@ -112,7 +112,8 @@ public class NativeBigInteger extends BigInteger {
* don't spew log messages. main() below overrides to true.
*/
private static boolean _doLog = System.getProperty("jbigi.dontLog") == null &&
I2PAppContext.getGlobalContext().isRouterContext();
I2PAppContext.getCurrentContext() != null &&
I2PAppContext.getCurrentContext().isRouterContext();
/**
* The following libraries are be available in jbigi.jar in all I2P versions
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment