8317370: JavaFX runtime version is wrong at runtime - #1253
Conversation
|
👋 Welcome back jgneff! A progress list of the required criteria for merging this PR into |
|
I'll take a closer look, and also test this, when I can. This looks like the right approach to me. It should not cause any problems. with either the earlier fix for JDK-8317308 nor with a somewhat similar fix I did in our (outside the repo) CI build scripts a couple months ago, but it makes both of those fixes unnecessary. /reviewers 2 |
|
@kevinrushforth |
Webrevs
|
|
This pull request makes three changes:
|
|
@FlorianKirmaier Florian, I would appreciate any comments you might have, too, or even a formal review if you have the time. Don't feel obligated, though, as you've already helped enough by discovering and patching the bug. 🏆 |
|
@tiainen can you review? |
kevinrushforth
left a comment
There was a problem hiding this comment.
The fix and new test both look good. Testing is green.
Can you also change the following in UPDATING-VERSION.md?
modify the testMajorVersion method to increment the feature version number from `N` to `N+1`.
to something like:
modify the `FEATURE` variable to increment the feature version number
from `N` to `N+1`.
|
Thanks, Kevin. I'll fix that. To all reviewers: I added tests of the method VersionInfo.setupSystemProperties to the test cases in my personal repository. It's kind of overkill, and not necessary to prevent this bug, but let me know if I should add them anyway. |
Yeah, I probably wouldn't add them. |
|
Based on the changes, it looks great - fewer variables, less code, more tests. The ":" is now also removed from the version String - so my previous change would no longer be required. I tested making a build, and it works well! So from my point of view, it looks quite great! |
tiainen
left a comment
There was a problem hiding this comment.
Tested on our build infrastructure and build and tests all worked fine.
|
@jgneff This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. After integration, the commit message for the final commit will be: You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 7 new commits pushed to the
Please see this link for an up-to-date comparison between the source branch of this pull request and the ➡️ To integrate this PR with the above commit message to the |
|
/integrate |
|
Going to push as commit 1616924.
Your commit was automatically rebased without conflicts. |
|
/backport jfx21u |
|
@jgneff Could not automatically backport
Please fetch the appropriate branch/commit and manually resolve these conflicts by using the following commands in your personal fork of openjdk/jfx21u. Note: these commands are just some suggestions and you can use other equivalent commands you know. Once you have resolved the conflicts as explained above continue with creating a pull request towards the openjdk/jfx21u with the title |
Please review these changes to the build timestamp and to the JavaFX runtime version available in the system properties.
Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jfx.git pull/1253/head:pull/1253$ git checkout pull/1253Update a local copy of the PR:
$ git checkout pull/1253$ git pull https://git.openjdk.org/jfx.git pull/1253/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 1253View PR using the GUI difftool:
$ git pr show -t 1253Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jfx/pull/1253.diff
Webrev
Link to Webrev Comment