Author: xor
Date: 2007-12-29 13:39:56 +0000 (Sat, 29 Dec 2007)
New Revision: 16840
Modified:
trunk/freenet/src/freenet/node/Node.java
Log:
Fix a glitch in the previous commit. Sorry.
Modified: trunk/freenet/src/freenet/node/Node.java
===================================================================
--- trunk/freenet/src/freenet/node/Node.java 2007-12-29 13:34:33 UTC (rev
16839)
+++ trunk/freenet/src/freenet/node/Node.java 2007-12-29 13:39:56 UTC (rev
16840)
@@ -1604,7 +1604,7 @@
} else {
if(jvmVendor.startsWith("Free Software Foundation")) {
try {
- jvmVersion =
System.getProperty("java.vm.version").split(" ")[0].replace(".","");
+ jvmVersion =
System.getProperty("java.vm.version").split(" ")[0].replaceAll("[.]","");
int jvmVersionInt =
Integer.parseInt(jvmVersion);
if(jvmVersionInt <= 422 &&
jvmVersionInt >= 100) // make sure that no bogus values cause true