[YANGTOOLS-190] Yangtools cannot be compiled using Java 8 Created: 18/Jun/14  Updated: 10/Apr/22  Due: 26/Jun/14  Resolved: 26/Jun/14

Status: Resolved
Project: yangtools
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Robert Varga Assignee: Robert Varga
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 1201

 Description   

With:

java version "1.8.0_05"
Java(TM) SE Runtime Environment (build 1.8.0_05-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode)

the yangtools repository is not compilable.



 Comments   
Comment by Robert Varga [ 18/Jun/14 ]

First problem is javadocs, adressed by: https://git.opendaylight.org/gerrit/8106

Comment by Robert Varga [ 18/Jun/14 ]

Next problem is xtend:

[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building binding-generator-impl 0.6.2-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] — maven-clean-plugin:2.5:clean (default-clean) @ binding-generator-impl —
[INFO] Deleting /home/nite/odl/yangtools/code-generator/binding-generator-impl/target
[INFO]
[INFO] — xtend-maven-plugin:2.4.3:compile (default) @ binding-generator-impl —
[ERROR]
ERROR: TransformerGenerator.xtend - /home/nite/odl/yangtools/code-generator/binding-generator-impl/src/main/java/org/opendaylight/yangtools/sal/binding/generator/impl/TransformerGenerator.xtend
1114: Type mismatch: type void is not applicable at this location

Comment by Martin Vitez [ 24/Jun/14 ]

https://git.opendaylight.org/gerrit/#/c/8106/

Generated at Wed Feb 07 20:52:31 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.