[kepler-dev] [Bug 2089] - Problem with docs source code with Java 1.5

bugzilla-daemon@ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Fri Jan 27 15:36:27 PST 2006


------- Additional Comments From cxh at eecs.berkeley.edu  2006-01-27 15:36 -------
I'm not sure what's up, but it looks like kepler fails to compile
under Java 1.4.1_01 for me under linux:
    [javac] Compiling 796 source files to /tmp/cxh/kepler/build/classes
    [javac] /tmp/cxh/kepler/build/src/doc/doclets/ActorClassWriter.java:80:
cannot resolve symbol
    [javac] symbol  : constructor ClassWriter
    [javac] location: class com.sun.tools.doclets.standard.ClassWriter
    [javac]         super(configuration, path, filename, classdoc, prev, next,
    [javac]         ^
    [javac] /tmp/cxh/kepler/build/src/doc/doclets/ActorClassWriter.java:133:
cannot resolve symbol
    [javac] symbol  : variable metakeywords
    [javac] location: class com.sun.tools.doclets.standard.ConfigurationStandard
    [javac]             configuration.metakeywords.getMetaKeywords(classdoc));
    [javac]                          ^
    [javac] /tmp/cxh/kepler/build/src/doc/taglets/DescriptionTaglet.java:159:
cannot resolve symbol
    [javac] symbol  : method holder ()
    [javac] location: interface com.sun.javadoc.Tag
    [javac]         if(! (tags[0].holder() instanceof FieldDoc)) {
    [javac]                   ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -deprecation for details.
    [javac] 3 errors

/tmp/cxh/kepler/build.xml:489: Compile failed; see the compiler error output for

Total time: 20 seconds
cxh at fortytwo 50% java -version
java version "1.4.1_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-b01)
Java HotSpot(TM) Client VM (build 1.4.1_01-b01, mixed mode)

This is with a fresh tree.
Kepler compiles fine under Java 1.4.2_04 under Windows.

Perhaps this code only works under Java 1.4.2 and not 1.4.1?
I know there was some traffic about Java 1.5 as well on the mailing list,
I believe Kepler will compile under 1.5.

More information about the Kepler-dev mailing list