Why isn't Drools working with Java 8?

后端 未结 5 410
悲&欢浪女
悲&欢浪女 2020-12-17 10:02

I just installed the final version of Java 8. When I try to build my project with Maven, many tests fail if I use Java 8, but pass fine with Java 7. I\'ve tried running it

5条回答
  •  执笔经年
    2020-12-17 10:43

    Looks like a bug in Drools (in the Eclipse compiler which is the default):

    • Bugzilla
    • JIRA (thanks Laune)

    They're looking into fixing it in 6.1.0.Beta2.

    Meanwhile, try this workaround: Override the ecj dependency to version 4.3.1.

提交回复
热议问题