3 ms·
Correct link is http://hg.openjdk.java.net/jdk6/jdk6/jdk/file/d1f592073a0e/src/windows/native/java/lang/java_props_md.c#l726 http://hg.openjdk.java.net/jdk6/jdk
by Arnavion 12y ago
Correct link is http://hg.openjdk.java.net/jdk6/jdk6/jdk/file/d1f592073a0e/src/windows/native/java/lang/java_props_md.c#l726 http://hg.openjdk.java.net/jdk6/jdk6/jdk/file/d1f592073a0e/s...
In any case, nobody's arguing that os.name in Java is set incorrectly. The argument is that Java programs are using os.name incorrectly to make decisions. If this version of Windows was to be called Windows 9, that function would be (correctly) updated to return "Windows 9" and every Java program that did startsWith("Windows 9") would start misbehaving.