small patch required for bug preventing version 445
from starting

JVM Sun 1.5.0_update 6 64bit

see 1.5 API specs for Integer.getInteger(String nm)

--- src/net/i2p/util/NativeBigInteger.java     
2006-02-14 02:12:44.000000000 -0500
+++ ../update.java      2006-02-14 02:16:57.000000000
-0500
@@ -131,7 +131,7 @@
     private static String resolveCPUType() {
                try {

if(System.getProperty("os.arch").toLowerCase().matches("(i?[x0-9]86_64|amd64)")){
-                              
if(Integer.getInteger(System.getProperty("sun.arch.data.model")).equals(new
Integer(64))){
+                              
if(Integer.getInteger("sun.arch.data.model").equals(new
Integer(64))){

System.out.println("Detected x86_64 running on a 64
bit jvm!");
                                        return
JBIGI_OPTIMIZATION_X86_64;
                                }else{




__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Reply via email to