You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2001/11/02 05:26:23 UTC

DO NOT REPLY [Bug 4582] New: - Ant causes a "Relocation error" in the JDK1.1.8 J2SE

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4582>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4582

Ant causes a "Relocation error" in the JDK1.1.8 J2SE

           Summary: Ant causes a "Relocation error" in the JDK1.1.8 J2SE
           Product: Ant
           Version: 1.4.1
          Platform: PC
        OS/Version: Windows 9x
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Build Process
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: dan@haygoods.org


Ant causes a "Relocation error" in the JDK1.1.8 J2SE release on my Win98SE 
machine.

The build test file and output are shown below.

Build Test File (build.xml)
=====
<!-- Simple Ant build script to test an Ant installation -->
<project name="TestInstall" default="run" basedir=".">

  <target name="init">
    <available file="ASimpleHelloObject.java" property="ASimpleHelloObject"/>
  </target>

  <target name="ASimpleHelloObject" unless="ASimpleHelloObject" depends="init">
    <echo file="ASimpleHelloObject.java">
public class ASimpleHelloObject
{
    public static void main(String[] args)
    {
        System.out.println("ASimpleHelloObject.main was called");
    }
}
    </echo>
    <echo message="Wrote ASimpleHelloObject.java" />
  </target>

  <target name="compile" depends="ASimpleHelloObject">
    <javac destdir="." srcdir="." debug="on" classpath=".">
        <include name="ASimpleHelloObject.java"/>
    </javac>
  </target>

  <target name="run" depends="compile">
    <java classname="ASimpleHelloObject" classpath="." />
    <echo message="Ant appears to be successfully installed" />
  </target>

</project>
=====

Output
=====
C:\Java\work>%ant_home%\bin\ant.bat
Buildfile: build.xml
A nonfatal internal JIT (3.00.072b(x)) error 'Relocation error: NULL relocation
target' has occurred in :
  'org/apache/crimson/parser/Parser2.maybeComment (Z)Z': Interpreting method.
  Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg
i


init:

ASimpleHelloObject:
     [echo] Wrote ASimpleHelloObject.java

compile:
    [javac] Compiling 1 source file to C:\Java\work

run:
     [java] ASimpleHelloObject.main was called
     [echo] Ant appears to be successfully installed

BUILD SUCCESSFUL

Total time: 3 seconds
C:\Java\work>%ant_home%\bin\ant.bat
Buildfile: build.xml
A nonfatal internal JIT (3.00.072b(x)) error 'Relocation error: NULL relocation
target' has occurred in :
  'org/apache/crimson/parser/Parser2.maybeComment (Z)Z': Interpreting method.
  Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg
i


init:

ASimpleHelloObject:

compile:

run:
     [java] ASimpleHelloObject.main was called
     [echo] Ant appears to be successfully installed

BUILD SUCCESSFUL

Total time: 2 seconds
C:\Java\work>
=====

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>