Build fails with java 1.8
GoogleCodeExporter opened this issue · 3 comments
GoogleCodeExporter commented
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
This patch seems to fix it
Original comment by pterjan
on 14 Jan 2015 at 10:00
Attachments:
GoogleCodeExporter commented
Thanks. That looks very plausible.
Original comment by j...@jclark.com
on 15 Jan 2015 at 3:20
- Changed state: Started
GoogleCodeExporter commented
It works for me too indeed.
Original comment by youpi...@gmail.com
on 15 Jan 2015 at 10:50