Router: Put FULL_VERSION in router.version property

This commit is contained in:
zzz
2018-03-12 19:34:36 +00:00
parent df075ca4f5
commit 4f5e3226de

View File

@@ -397,7 +397,9 @@ public class Router implements RouterClock.ClockShiftListener {
// Apps may use this as an easy way to determine if they are in the router JVM
// But context.isRouterContext() is even easier...
// Both of these as of 0.7.9
System.setProperty("router.version", RouterVersion.VERSION);
// As of 0.9.34, this is FULL_VERSION, not VERSION, which was the same as CoreVersion.VERSION
// and thus not particularly useful.
System.setProperty("router.version", RouterVersion.FULL_VERSION);
// crypto init may block for 10 seconds waiting for entropy
// we want to do this before context.initAll()