esgee85 / jing-trang

Automatically exported from code.google.com/p/jing-trang
Other
0 stars 0 forks source link

Build fails with java 1.8 #182

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Build fails with java 1.8:

mod.rng-parse.compile-main:
[...]
    [javac] /builddir/build/BUILD/jing-trang-20131210/build/mod/rng-parse/gensrc/main/com/thaiopensource/relaxng/parse/compact/CompactSyntax.java:1590: error: incompatible types: Annotations cannot be converted to AnnotationsImpl
    [javac]       a = IncludeBody(include, scope, a);
    [javac]                      ^
    [javac]   where AnnotationsImpl,Location,ElementAnnotation,CommentListImpl are type-variables:
    [javac]     AnnotationsImpl extends Annotations<Location,ElementAnnotation,CommentListImpl> declared in class CompactSyntax
    [javac]     Location extends Object declared in class CompactSyntax
    [javac]     ElementAnnotation extends Object declared in class CompactSyntax
    [javac]     CommentListImpl extends CommentList<Location> declared in class CompactSyntax
    [javac] Note: /builddir/build/BUILD/jing-trang-20131210/build/mod/rng-parse/gensrc/main/com/thaiopensource/relaxng/parse/compact/CompactSyntax.java uses unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 1 error
    [javac] 3 warnings
BUILD FAILED

Original issue reported on code.google.com by vsky...@gmail.com on 9 Jun 2014 at 7:38

GoogleCodeExporter commented 8 years ago
This patch seems to fix it

Original comment by pterjan on 14 Jan 2015 at 10:00

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks. That looks very plausible.

Original comment by j...@jclark.com on 15 Jan 2015 at 3:20

GoogleCodeExporter commented 8 years ago
It works for me too indeed.

Original comment by youpi...@gmail.com on 15 Jan 2015 at 10:50