-
Notifications
You must be signed in to change notification settings - Fork 165
Open
Description
Hello. I am using JSweet and its Maven plugin. When trying to generate JS code, I stumble upon the following error from the compiler:
[INFO] --- jsweet-maven-plugin:3.1.0:jsweet (default-cli) @ maja ---
[INFO] JSweet transpiler version 3.1.0 (build date: 2021-04-21 20:24:55)
[WARNING] dependency type not-jar excluded from candies detection: Dependency {groupId=org.junit.jupiter, artifactId=junit-jupiter, version=5.9.2, type=jar}
[WARNING] dependency type not-jar excluded from candies detection: Dependency {groupId=org.assertj, artifactId=assertj-core, version=3.24.2, type=jar}
dependency type not-jar excluded from candies detection: Dependency {groupId=org.assertj, artifactId=assertj-core, version=3.24.2, type=jar}
I'm not sure if the transpiler didn't catch onto the fact that junit/assertj are not needed for the production build, but the greater issue here is the following error:
Unable to make field public com.sun.tools.javac.code.Type com.sun.tools.javac.tree.JCTree.type accessible: module jdk.compiler does not "exports com.sun.tools.javac.tree" to unnamed module @604b1e1d
I think that JSweet is not compatible with Java16, but it doesn't seem like this is stated anywhere. Regardless, J16 support would be amazing.
Reactions are currently unavailable