Author: nextgens
Date: 2006-02-14 16:31:35 +0000 (Tue, 14 Feb 2006)
New Revision: 8044

Modified:
   trunk/freenet/src/freenet/node/Version.java
   trunk/freenet/src/net/i2p/util/NativeBigInteger.java
Log:
Doh ... now it WILL WORK !

Modified: trunk/freenet/src/freenet/node/Version.java
===================================================================
--- trunk/freenet/src/freenet/node/Version.java 2006-02-14 16:03:23 UTC (rev 
8043)
+++ trunk/freenet/src/freenet/node/Version.java 2006-02-14 16:31:35 UTC (rev 
8044)
@@ -20,7 +20,7 @@
        public static final String protocolVersion = "1.0";

        /** The build number of the current revision */
-       private static final int buildNumber = 447;
+       private static final int buildNumber = 448;

        /** Oldest build of Fred we will talk to */
        private static final int lastGoodBuild = 403;

Modified: trunk/freenet/src/net/i2p/util/NativeBigInteger.java
===================================================================
--- trunk/freenet/src/net/i2p/util/NativeBigInteger.java        2006-02-14 
16:03:23 UTC (rev 8043)
+++ trunk/freenet/src/net/i2p/util/NativeBigInteger.java        2006-02-14 
16:31:35 UTC (rev 8044)
@@ -131,13 +131,7 @@
     private static String resolveCPUType() {
                try {
                        
if(System.getProperty("os.arch").toLowerCase().matches("(i?[x0-9]86_64|amd64)")){
-                               
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{
-                                       System.out.println("Detected x86_64! 
using compatibility mode");
-                                       return JBIGI_OPTIMIZATION_X86_64_32;    
-                               }
                        }else   
if(System.getProperty("os.arch").toLowerCase().matches("(ppc)")){
                                        System.out.println("Detected PowerPC!");
                                        return JBIGI_OPTIMIZATION_PPC;
@@ -146,7 +140,7 @@
                                if (c instanceof AMDCPUInfo) {
                                        AMDCPUInfo amdcpu = (AMDCPUInfo) c;
                                        if (amdcpu.IsAthlon64Compatible())
-                                               return 
JBIGI_OPTIMIZATION_X86_64;
+                                               return 
JBIGI_OPTIMIZATION_X86_64_32;
                                        if (amdcpu.IsAthlonCompatible())
                                                return 
JBIGI_OPTIMIZATION_ATHLON;
                                        if (amdcpu.IsK6_3_Compatible())


Reply via email to