Gradle not working on Jigsaw

Stephen Felts stephen.felts at oracle.com
Thu Oct 20 16:38:37 UTC 2016


I also note that Gradle 3.0 still has both

lib/asm-all-5.1.jar!org/objectweb/asm/ClassReader.class

and

lib/groovy-all-2.4.7.jar!groovyjarjarasm/asm/ClassReader.class

that fail if the version is > 52.

This isn't related to the failure below but they should be fixed.


-----Original Message-----
From: Stephen Felts 
Sent: Wednesday, October 19, 2016 10:43 PM
To: jigsaw-dev at openjdk.java.net
Subject: Gradle not working on Jigsaw

I have the line

def branch = file('..').name

in build.gradle.

Running 'gradle' on build 140

Jdk-9 - runs fine

JDK-9 Jigsaw gets
* What went wrong:
A problem occurred evaluating root project 'dir'.
> No such property: name for class: java.io.File

To run on Jigsaw, I also need to set _JAVA_OPTIONS to include --add-exports-private=java.base/java.lang=ALL-UNNAMED
--add-exports-private=java.base/java.util=ALL-UNNAMED



More information about the jigsaw-dev mailing list