Skip to content

Instrumentation fails on Java 14 #17

Open

Description

@JCWasmx86

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

Activity

  1. Horcrux7 commented on May 27, 2020

    @Horcrux7
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions