[llvm-commits] [vmkit] r52320 - /vmkit/trunk/lib/JnJVM/Classpath/ClasspathVMSystemProperties.cpp
Nicolas Geoffray
nicolas.geoffray at lip6.fr
Mon Jun 16 07:04:24 PDT 2008
Author: geoffray
Date: Mon Jun 16 09:04:24 2008
New Revision: 52320
URL: http://llvm.org/viewvc/llvm-project?rev=52320&view=rev
Log:
os.version in Java is the OS release for uname.
Modified:
vmkit/trunk/lib/JnJVM/Classpath/ClasspathVMSystemProperties.cpp
Modified: vmkit/trunk/lib/JnJVM/Classpath/ClasspathVMSystemProperties.cpp
URL: http://llvm.org/viewvc/llvm-project/vmkit/trunk/lib/JnJVM/Classpath/ClasspathVMSystemProperties.cpp?rev=52320&r1=52319&r2=52320&view=diff
==============================================================================
--- vmkit/trunk/lib/JnJVM/Classpath/ClasspathVMSystemProperties.cpp (original)
+++ vmkit/trunk/lib/JnJVM/Classpath/ClasspathVMSystemProperties.cpp Mon Jun 16 09:04:24 2008
@@ -37,7 +37,7 @@
uname(&infos);
setProperty(vm, prop, "os.name", infos.sysname);
setProperty(vm, prop, "os.arch", infos.machine);
- setProperty(vm, prop, "os.version", infos.version);
+ setProperty(vm, prop, "os.version", infos.release);
if (!strcmp(infos.machine, "ppc")) {
setProperty(vm, prop, "gnu.cpu.endian","big");
} else {
More information about the llvm-commits
mailing list