]> source.dussan.org Git - aspectj.git/commitdiff
1.6 VM should mean 'is15VMOrGreater' ! pr164384
authoraclement <aclement>
Fri, 17 Nov 2006 10:31:48 +0000 (10:31 +0000)
committeraclement <aclement>
Fri, 17 Nov 2006 10:31:48 +0000 (10:31 +0000)
util/src/org/aspectj/util/LangUtil.java

index 8f2295a5ac2fdbe898d8e0f35860e73cb294f09e..d9003328b519936ba72941e2d136808c9099b7e3 100644 (file)
@@ -97,7 +97,7 @@ public class LangUtil {
                if (vm==null) vm = System.getProperty("java.vm.version");
                if (vm.startsWith("1.3")) {
                        is14VMOrGreater = false;
-               } else if (vm.startsWith("1.5")) {
+               } else if (vm.startsWith("1.5") || vm.startsWith("1.6")) {      
                        is15VMOrGreater = true;
                }
        }