[Swift-devel] Errors compiling 0.92 with Java 1.5

Michael Wilde wilde at mcs.anl.gov
Wed Jan 12 19:53:54 CST 2011


I get the errors below when I build 0.92 with this Java and ant on RENCI engage-submit:

--
e$ which java
/opt/osg/1.0.0/jdk1.5/bin/java
e$ java -version
java version "1.5.0_14"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_14-b03)
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_14-b03, mixed mode)
e$ which javac
/opt/osg/1.0.0/jdk1.5/bin/javac
e$ ant -version
Apache Ant version 1.6.5 compiled on June 2 2005
e$
--

The same svn rev seems to uild clean with 1.6 on PADS.

I dont think this necessarily needs to be fixed; but at least documented if we no longer work with 1.5. (I recall we said we wont support 1.4 -- or was that 1.5?)

- Mike

Errors:

compile:
     [echo] [util]: COMPILE
    [mkdir] Created dir: /home/wilde/swift/src/0.92/cog/modules/util/build
    [javac] Compiling 53 source files to /home/wilde/swift/src/0.92/cog/modules/util/build
    [javac] /home/wilde/swift/src/0.92/cog/modules/util/src/org/globus/cog/util/CopyOnWriteArrayList.java:71: method does not override a method from its superclass
    [javac]     @Override
    [javac]      ^
    [javac] /home/wilde/swift/src/0.92/cog/modules/util/src/org/globus/cog/util/CopyOnWriteArrayList.java:105: method does not override a method from its superclass
    [javac] 	@Override
    [javac]          ^
    [javac] /home/wilde/swift/src/0.92/cog/modules/util/src/org/globus/cog/util/CopyOnWriteArrayList.java:144: method does not override a method from its superclass
    [javac] 	@Override
    [javac]          ^
    [javac] /home/wilde/swift/src/0.92/cog/modules/util/src/org/globus/cog/util/CopyOnWriteArrayList.java:227: method does not override a method from its superclass
    [javac]     @Override
    [javac]      ^
    [javac] /home/wilde/swift/src/0.92/cog/modules/util/src/org/globus/cog/util/CopyOnWriteArrayList.java:232: method does not override a method from its superclass
    [javac]     @Override
    [javac]      ^
    [javac] /home/wilde/swift/src/0.92/cog/modules/util/src/org/globus/cog/util/CopyOnWriteArrayList.java:237: method does not override a method from its superclass
    [javac]     @Override
    [javac]      ^
    [javac] /home/wilde/swift/src/0.92/cog/modules/util/src/org/globus/cog/util/CopyOnWriteArrayList.java:242: method does not override a method from its superclass
    [javac]     @Override
    [javac]      ^
    [javac] /home/wilde/swift/src/0.92/cog/modules/util/src/org/globus/cog/util/CopyOnWriteArrayList.java:247: method does not override a method from its superclass
    [javac]     @Override
    [javac]      ^
    [javac] /home/wilde/swift/src/0.92/cog/modules/util/src/org/globus/cog/util/CopyOnWriteArrayList.java:252: method does not override a method from its superclass
    [javac]     @Override
    [javac]      ^
    [javac] /home/wilde/swift/src/0.92/cog/modules/util/src/org/globus/cog/util/CopyOnWriteArrayList.java:257: method does not override a method from its superclass
    [javac]     @Override
    [javac]      ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 10 errors

BUILD FAILED
/home/wilde/swift/src/0.92/cog/modules/swift/build.xml:73: The following error occurred while executing this line:
/home/wilde/swift/src/0.92/cog/mbuild.xml:444: The following error occurred while executing this line:
/home/wilde/swift/src/0.92/cog/mbuild.xml:79: The following error occurred while executing this line:
/home/wilde/swift/src/0.92/cog/mbuild.xml:52: The following error occurred while executing this line:
/home/wilde/swift/src/0.92/cog/modules/swift/dependencies.xml:4: The following error occurred while executing this line:
/home/wilde/swift/src/0.92/cog/mbuild.xml:163: The following error occurred while executing this line:
/home/wilde/swift/src/0.92/cog/mbuild.xml:168: The following error occurred while executing this line:
/home/wilde/swift/src/0.92/cog/modules/karajan/build.xml:59: The following error occurred while executing this line:
/home/wilde/swift/src/0.92/cog/mbuild.xml:444: The following error occurred while executing this line:
/home/wilde/swift/src/0.92/cog/mbuild.xml:79: The following error occurred while executing this line:
/home/wilde/swift/src/0.92/cog/mbuild.xml:52: The following error occurred while executing this line:
/home/wilde/swift/src/0.92/cog/modules/karajan/dependencies.xml:4: The following error occurred while executing this line:
/home/wilde/swift/src/0.92/cog/mbuild.xml:163: The following error occurred while executing this line:
/home/wilde/swift/src/0.92/cog/mbuild.xml:168: The following error occurred while executing this line:
/home/wilde/swift/src/0.92/cog/modules/abstraction/build.xml:58: The following error occurred while executing this line:
/home/wilde/swift/src/0.92/cog/mbuild.xml:444: The following error occurred while executing this line:
/home/wilde/swift/src/0.92/cog/mbuild.xml:79: The following error occurred while executing this line:
/home/wilde/swift/src/0.92/cog/mbuild.xml:52: The following error occurred while executing this line:
/home/wilde/swift/src/0.92/cog/modules/abstraction/dependencies.xml:4: The following error occurred while executing this line:
/home/wilde/swift/src/0.92/cog/mbuild.xml:163: The following error occurred while executing this line:
/home/wilde/swift/src/0.92/cog/mbuild.xml:168: The following error occurred while executing this line:
/home/wilde/swift/src/0.92/cog/modules/abstraction-common/build.xml:63: The following error occurred while executing this line:
/home/wilde/swift/src/0.92/cog/mbuild.xml:444: The following error occurred while executing this line:
/home/wilde/swift/src/0.92/cog/mbuild.xml:79: The following error occurred while executing this line:
/home/wilde/swift/src/0.92/cog/mbuild.xml:52: The following error occurred while executing this line:
/home/wilde/swift/src/0.92/cog/modules/abstraction-common/dependencies.xml:7: The following error occurred while executing this line:
/home/wilde/swift/src/0.92/cog/mbuild.xml:163: The following error occurred while executing this line:
/home/wilde/swift/src/0.92/cog/mbuild.xml:168: The following error occurred while executing this line:
/home/wilde/swift/src/0.92/cog/modules/util/build.xml:59: The following error occurred while executing this line:
/home/wilde/swift/src/0.92/cog/mbuild.xml:465: The following error occurred while executing this line:
/home/wilde/swift/src/0.92/cog/mbuild.xml:228: Compile failed; see the compiler error output for details.

Total time: 20 seconds
e$ which java
/opt/osg/1.0.0/jdk1.5/bin/java
e$ java -version
java version "1.5.0_14"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_14-b03)
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_14-b03, mixed mode)
e$ cd
e$ ls
bin           ftdock         glenslogs.tar.gz  osgcat.sh   osgfact  out.ps   out.qstat  swift   t1.stderr  t1.sub   t2.sub
buildnrun.sh  glasslogs.tgz  mygroup           osgcat.sh~  out      out.ps2  pfgroup    t1.log  t1.stdout  t1.sub~
e$ which javac
/opt/osg/1.0.0/jdk1.5/bin/javac
e$ ant -version
Apache Ant version 1.6.5 compiled on June 2 2005
e$ 


-- 
Michael Wilde
Computation Institute, University of Chicago
Mathematics and Computer Science Division
Argonne National Laboratory




More information about the Swift-devel mailing list