Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instrumentation fails on Java 14 #17

Open
JCWasmx86 opened this issue May 27, 2020 · 1 comment
Open

Instrumentation fails on Java 14 #17

JCWasmx86 opened this issue May 27, 2020 · 1 comment
Labels

Comments

@JCWasmx86
Copy link
Contributor

Steps to reproduce:

git clone https://github.com/i-net-software/JWebAssembly.git
cd JWebAssembly
gradle clean&&gradle test

Output:
...Omitted... (Everything normal)

Task :test
java14instrumentation.txt

I tried commenting out in build.gradle:

apply plugin: 'jacoco'
jacocoTestReport {
    tasks.coveralls.dependsOn it
    reports {
        xml.enabled = true  // coveralls plugin depends on xml format report
        html.enabled = true
    }
}
check.dependsOn tasks.coveralls

Now the tests are running and some are failing:
FailingTests.txt
testReports.zip

Next I installed java 11:
openjdk 11.0.7-ea 2020-04-14
OpenJDK Runtime Environment (build 11.0.7-ea+9-post-Debian-1)
OpenJDK 64-Bit Server VM (build 11.0.7-ea+9-post-Debian-1, mixed mode, sharing)

Instrumentation failed and those tests, too.

Java 14 Version:
openjdk 14.0.1 2020-04-14
OpenJDK Runtime Environment (build 14.0.1+7-Debian-1)
OpenJDK 64-Bit Server VM (build 14.0.1+7-Debian-1, mixed mode, sharing)

OS:
Linux 5.6.0-1-amd64 #1 SMP Debian 5.6.7-1 (2020-04-29) x86_64 GNU/Linux

@Horcrux7
Copy link
Member

Java 11 or higher required Lambdas for some of the tests. Lambdas are currently not supported (see main page). Currently only Java 8 works with all JUnit tests.

I hope I can implement Lambdas in 1-2 month.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants