Menu

v0.94a: Compilation error

Developers
widheg
2009-11-08
2012-10-08
  • widheg

    widheg - 2009-11-08

    Hi!
    I just downloaded Recoder 0.94a but get the following compilation error:
    .\recoder\java\expression\ExpressionStatement.java:17: types
    recoder.java.LoopInitializer and recoder.java.Expression are incompatible;
    both define deepClone(), but with unrelated return types
    public interface ExpressionStatement extends Expression, LoopInitializer {

    I try to build using javac using no specific switches to javac.

    Thanks!

     
  • Tobias Gutzmann

    Tobias Gutzmann - 2009-11-08

    Hej,

    it's a bug in javac. See
    and

    for information. Workaround: Use the eclipse-compiler. The JDK 7 compiler is
    said to have the bug fixed as well, but I haven't tried it.

    Best regards,
    Tobias
    [http://sourceforge.net/apps/mediawiki/recoder/index.php?title=FAQ#Problems_
    using_javac](http://sourceforge.net/apps/mediawiki/recoder/index.php?title=FAQ
    %23Problems_using_javac)
    http://bugs.sun.com/bugdatabase/viewbug.do?bug_id=6294779
     

Log in to post a comment.