From 6ce66f32e34cc5e780cf352299d80d38998d3778 Mon Sep 17 00:00:00 2001 From: Steve Loughran Date: Thu, 11 Nov 2004 15:49:14 +0000 Subject: [PATCH] Comments about Java versions git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277012 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/platform.html | 34 +++++++++++++++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/docs/manual/platform.html b/docs/manual/platform.html index dd9ef997a..2547e139d 100644 --- a/docs/manual/platform.html +++ b/docs/manual/platform.html @@ -7,6 +7,37 @@

Platform Issues

+

Java versions

+

Java 1.5

+ +You may need a bigger stack than default, especially if you are using the built in +XSLT engine. We recommend you use Apache Xalan; indeed, some tasks (JUnit report in XML, +for example) may not work against the shipping XSL engine. + +

Java 1.2

+ + +You may sometimes see messages like +
+A nonfatal internal JIT (3.10.107(x)) error 'chgTarg: Conditional' has
+occurred in :
+  'org/apache/tools/ant/Project.addReference
+(Ljava/lang/String;Ljava/lang/Object;)V': Interpreting method.
+  Please report this error in detail to
+  http://java.sun.com/cgi-bin/bugreport.cgi
+
+These are caused by subtle incompatibilities between the Java1.4+ compiled +release; bugs in the Java runtime that Sun won't fix. Possible solutions:- +
    +
  1. Upgrade your JVM. +
  2. Recompile Ant on a Java1.2 machine +
  3. Add -Djava.compiler=NONE to +the value of your ANT_OPTS environment variable. This turns the JIT off. +
  4. Ignore the messages. +
+ + +

Unix and Linux

@@ -47,7 +78,8 @@ confusing patternsets.

Ant can often not delete a directory which is open in an Explorer window. There is nothing we can do about this short of spawning a program to kill -the shell before deleting directories. +the shell before deleting directories. +Nor can files that are in use be overwritten.

Cygwin