Browse Source

1.6 VM should mean 'is15VMOrGreater' ! pr164384

tags/V1_5_3_final
aclement 17 years ago
parent
commit
2a540e3451
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      util/src/org/aspectj/util/LangUtil.java

+ 1
- 1
util/src/org/aspectj/util/LangUtil.java View File

if (vm==null) vm = System.getProperty("java.vm.version"); if (vm==null) vm = System.getProperty("java.vm.version");
if (vm.startsWith("1.3")) { if (vm.startsWith("1.3")) {
is14VMOrGreater = false; is14VMOrGreater = false;
} else if (vm.startsWith("1.5")) {
} else if (vm.startsWith("1.5") || vm.startsWith("1.6")) {
is15VMOrGreater = true; is15VMOrGreater = true;
} }
} }

Loading…
Cancel
Save