Build Problem on macOS with OpenJDK 13 and Gradle 6.0-rc-1

Kevin Rushforth kevin.rushforth at oracle.com
Fri Oct 25 15:00:00 UTC 2019


This is a known issue that will be fixed by JDK-8232063 [1]. I've 
already tested the fix, and will send a review out shortly after gradle 
6 GA. I note that I initially was going to fix it as part of JDK-8226754 
[2], but during the course of that review we decided to wait until the 
actual switch to gradle 6 since the fix relies on API that is incubating 
in gradle 5.x.

-- Kevin

[1] https://bugs.openjdk.java.net/browse/JDK-8232063
[2] https://bugs.openjdk.java.net/browse/JDK-8226754


On 10/24/2019 10:42 AM, Scott Palmer wrote:
> I’m getting this:
>
> * What went wrong:
> Execution failed for task ':swt:compileJava'.
>> Could not resolve all files for configuration ':swt:compileClasspath'.
>     > Could not find :org.eclipse.swt.cocoa.macosx.x86_64_3.105.3.v20170228-0512:.
>       Searched in the following locations:
>         - https://download.eclipse.org/eclipse/updates/4.6/R-4.6.3-201703010400/plugins/ivy.xml
>       Required by:
>           project :swt
>
> Earlier on I see:
>
>    module: project ':swt' (buildModule=NO)
>
> so I’m not even sure why :swt:compileJava is running.. but it is.
>
> This is with OpenJDK 13, and Gradle 6.0-rc-1.
>
> I know the jump to Gradle 6.0 has not been officially made yet, but I also know it is coming for the JDK 13 support.
>
> When I use OpenJDK 12 and gradlew the build mostly works.
>
> Though even with OpenJDK 12 and gradlew the tests fail:
>
>> Task :base:test
> test.javafx.util.converter.LocalDateTimeStringConverterTest > toString_to_fromString_testRoundtrip[0] FAILED
>      java.time.format.DateTimeParseException: Text '1985-01-12, 12:34 p.m.' could not be parsed, unparsed text found at index 19
>          at java.base/java.time.format.DateTimeFormatter.parseResolved0(DateTimeFormatter.java:2052)
>          at java.base/java.time.format.DateTimeFormatter.parse(DateTimeFormatter.java:1877)
>          at javafx.base/javafx.util.converter.LocalDateTimeStringConverter$LdtConverter.fromString(LocalDateTimeStringConverter.java:208)
>          at javafx.base/javafx.util.converter.LocalDateTimeStringConverter.fromString(LocalDateTimeStringConverter.java:159)
>          at test.javafx.util.converter.LocalDateTimeStringConverterTest.toString_to_fromString_testRoundtrip(LocalDateTimeStringConverterTest.java:131)
>
> 5222 tests completed, 1 failed, 27 skipped
>
>
> Regards,
>
> Scott
>
>



More information about the openjfx-dev mailing list