[Debian-med-packaging] Bug#894359: Help needed to port beast2-mcmc to Java 9

Emmanuel Bourg ebourg at apache.org
Wed Nov 14 00:28:01 GMT 2018


On Mon, 9 Apr 2018 13:24:51 +0200 Andreas Tille <andreas at an3as.eu> wrote:

>     [javac] import com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl;
>     [javac]                                              ^
>     [javac] /build/beast2-mcmc-2.4.8+dfsg/src/beast/util/XMLParserUtils.java:120: warning: CoreDocumentImpl is internal proprietary API and may be removed in a future release
>     [javac]                     ((CoreDocumentImpl) doc).putIdentifier(id, (Element) node);
>     [javac]                       ^
>     [javac] /build/beast2-mcmc-2.4.8+dfsg/src/beast/util/TreeParser.java:353: error: cannot find symbol
>     [javac]         CharStream charStream = CharStreams.fromString(newick);
>     [javac]                                 ^
>     [javac]   symbol:   variable CharStreams
>     [javac]   location: class TreeParser
>     [javac] /build/beast2-mcmc-2.4.8+dfsg/src/beast/util/treeparser/NewickLexer.java:98: error: method does not override or implement a method from a supertype
>     [javac]     @Override
>     [javac]     ^

Hi Andreas,

I've pushed a fix for this issue and now beast2-mcmc builds fine with
antlr 4.6. Could you give it a try? If it works that would allow us to
move forward without waiting for antlr 4.7.

Emmanuel Bourg



More information about the Debian-med-packaging mailing list