Browse Source

Added warning about incompatibility with vm version "Blackdown-1.3.0-RC1".

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268184 13f79535-47bb-0310-9956-ffa450edef68
master
metasim 24 years ago
parent
commit
3ddbc0b6c9
1 changed files with 8 additions and 0 deletions
  1. +8
    -0
      src/antidote/org/apache/tools/ant/gui/Main.java

+ 8
- 0
src/antidote/org/apache/tools/ant/gui/Main.java View File

@@ -70,6 +70,14 @@ public class Main {
*/
public static void main(String[] args) {
XMLHelper.init();

String vmVersion = System.getProperty("java.vm.vendor");
if(vmVersion.indexOf("Blackdown") > 0 &&
vmVersion.indexOf("RC") > 0) {
System.err.println("Warning: Antidote will not work with VM version Blackdown-1.3.0-RC1.");
System.err.println("Your version: " + vmVersion);
}

try {
JFrame f = new JFrame("Antidote");
AppContext context = new AppContext(f);


Loading…
Cancel
Save