JDK-8317308 : JavaFX Developer build broken on Windows - NativeLibrary file contains invalid character ':'
  • Type: Bug
  • Component: javafx
  • Sub-Component: build
  • Affected Version: jfx21
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2023-09-29
  • Updated: 2023-10-05
  • Resolved: 2023-09-29
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
jfx22 b12Fixed
Related Reports
Relates :  
Relates :  
Description
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.

This bug was introduced in jfx21
Comments
[~fkirmaier] After further discussion, let's not consider this fix for a backport. As mentioned in this PR comment: https://github.com/openjdk/jfx/pull/1251#issuecomment-1741236596 [~jgneff] will propose a fix for the root cause. That fix needs to be backported anyway, and once done, this fix becomes unnecessary. This fix can stay in mainline (since it is not harmful), but there will then be no need to backport it.
29-09-2023

Changeset: 25862787 Author: Florian Kirmaier <fkirmaier@openjdk.org> Committer: Kevin Rushforth <kcr@openjdk.org> Date: 2023-09-29 13:32:53 +0000 URL: https://git.openjdk.org/jfx/commit/25862787d2e1b6c4da17089a1d5695c4e4b9fd6e
29-09-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jfx/pull/1251 Date: 2023-09-29 10:40:52 +0000
29-09-2023

[~fkirmaier] After this is integrated into main line, I think this would be a good candidate to be backported to jfx21u so that developer builds of 21.0.x will also not run into this problem. If you want to make the request, I'll approve it.
29-09-2023

I had to do something similar in our CI build scripts (which are outside the jfx repo).
29-09-2023