harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r958711 - /harmony/enhanced/java/trunk/drlvm/vm/vmcore/src/init/vm_init.cpp
Date Mon, 28 Jun 2010 20:31:54 GMT
Author: hindessm
Date: Mon Jun 28 20:31:54 2010
New Revision: 958711

URL: http://svn.apache.org/viewvc?rev=958711&view=rev
Log:
Add windows 7 to supported list.  See:
  http://harmony.markmail.org/thread/nrkew74jmeppuwtu

Modified:
    harmony/enhanced/java/trunk/drlvm/vm/vmcore/src/init/vm_init.cpp

Modified: harmony/enhanced/java/trunk/drlvm/vm/vmcore/src/init/vm_init.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/java/trunk/drlvm/vm/vmcore/src/init/vm_init.cpp?rev=958711&r1=958710&r2=958711&view=diff
==============================================================================
--- harmony/enhanced/java/trunk/drlvm/vm/vmcore/src/init/vm_init.cpp (original)
+++ harmony/enhanced/java/trunk/drlvm/vm/vmcore/src/init/vm_init.cpp Mon Jun 28 20:31:54 2010
@@ -295,8 +295,9 @@ static jint check_platform() {
     if((osvi.dwMajorVersion == 4 && osvi.dwMinorVersion == 0) ||  // NT 4.0
        (osvi.dwMajorVersion == 5 && osvi.dwMinorVersion == 0) ||  // Windows 2000
        (osvi.dwMajorVersion == 5 && osvi.dwMinorVersion == 1) ||  // Windows XP
-       (osvi.dwMajorVersion == 5 && osvi.dwMinorVersion == 2) ||  // Windows.NET
           
-       (osvi.dwMajorVersion == 6 && osvi.dwMinorVersion == 0)) {  // Windows Vista
           
+       (osvi.dwMajorVersion == 5 && osvi.dwMinorVersion == 2) ||  // Windows.NET
+       (osvi.dwMajorVersion == 6 && osvi.dwMinorVersion == 0) ||  // Windows Vista
+       (osvi.dwMajorVersion == 6 && osvi.dwMinorVersion == 1)) {  // Windows 7
             return JNI_OK;
     }
     printf("Windows %d.%d is not supported\n", osvi.dwMajorVersion, osvi.dwMinorVersion);



Mime
View raw message