You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@groovy.apache.org by Pascal Schumacher <pa...@gmx.net> on 2016/02/21 16:12:59 UTC

JDK 9 Indy Test Failures

Hello everybody,

since a few weeks the "normal" groovy build and tests pass on JDK9.

But when invoke-dynamic is used some groovy-sh tests fail:

http://ci.groovy-lang.org/viewLog.html?buildId=31836&tab=buildResultsDiv&buildTypeId=Groovy_Jdk9Build&guest=1

with:

java.lang.IncompatibleClassChangeError: Found class java.util.jar.JarFile$JarEntryIterator, but interface was expected
     at org.codehaus.groovy.tools.shell.util.PackageHelperImpl.getPackageNamesFromJar(PackageHelperImpl.groovy:283)

As far as I understand this error normally occurs, when you have binary 
incompatible changes. But that should not be the case.

Any ideas why this error occurs and why it only occurs when using indy?

Cheers,
Pascal