RFR: JDK-8317308 JavaFX Developer build broken on Windows - NativeLibrary file contains invalid character ':'

Florian Kirmaier fkirmaier at openjdk.org
Fri Sep 29 16:31:07 UTC 2023


On Fri, 29 Sep 2023 10:40:52 GMT, Florian Kirmaier <fkirmaier at openjdk.org> wrote:

> The format of the timestamp has changed to ISO 8601. This contains the “:” Character.
> A copy of the dll is saved at <home>/.openjfx/cache/" + jfxVersion + "/" + arch .
> On Windows, the character ‘:’ is invalid in files, causing internal errors.
> 
> This only happens on developer/non-hudson builds, because on hudson-builds, the timestamp is omitted.
> 
> I just replaced the disallowed character when creating the native library.

I think there is a logic - somewhere in the build.gradle, to clean the runtime-version, to make sure the build doesn't run in the same issue. If you run ./gradlew -PMAVEN_PUBLISH=true pulishToMavenLocal then the artifacts are also cleaned of the ':'.

-------------

PR Comment: https://git.openjdk.org/jfx/pull/1251#issuecomment-1741077783


More information about the openjfx-dev mailing list