]> source.dussan.org Git - aspectj.git/commitdiff
450634: support Windows 8 when computing best batch file format
authorAndy Clement <aclement@gopivotal.com>
Thu, 8 Jan 2015 16:28:35 +0000 (08:28 -0800)
committerAndy Clement <aclement@gopivotal.com>
Thu, 8 Jan 2015 16:28:35 +0000 (08:28 -0800)
build/src/$installer$/org/aspectj/Main.java
lib/build/build.jar

index a6a038c3249ad7e772860785acc176a36afcb156..b5da78d4934f579100d5456bb873f303646a2796 100644 (file)
@@ -687,7 +687,7 @@ class InstallContext {
 
        public boolean onWindowsPro() {
                return getOS().equals("Windows NT") || getOS().equals("Windows 2000") || getOS().equals("Windows XP")
-                               || getOS().equals("Windows Vista") || getOS().equals("Windows 7");
+                               || getOS().equals("Windows Vista") || getOS().equals("Windows 7") || getOS().startsWith("Windows 8");
        }
 
        public boolean onMacintosh() {
index 380218b6b6f6a6b2eb4000e640cd11776e5d11d4..d08b25042e276e9cd534380109c767fa0f8bcf0d 100644 (file)
Binary files a/lib/build/build.jar and b/lib/build/build.jar differ