-
Notifications
You must be signed in to change notification settings - Fork 482
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
8234959: FXMLLoader does not populate ENGINE_SCOPE Bindings with FILENAME and ARGV #122
Conversation
…9: FXMLLoader does not populate ENGINE_SCOPE Bindings with FILENAME and ARGV
…59: FXMLLoader does not populate ENGINE_SCOPE Bindings with FILENAME and ARGV
Hi ronyfla, welcome to this OpenJDK project and thanks for contributing! We do not recognize you as Contributor and need to ensure you have signed the Oracle Contributor Agreement (OCA). If you have not signed the OCA, please follow the instructions. Please fill in your GitHub username in the "Username" field of the application. Once you have signed the OCA, please let us know by writing If you already are an OpenJDK Author, Committer or Reviewer, please click here to open a new issue so that we can record that fact. Please use "Add GitHub user ronyfla" as summary for the issue. If you are contributing this work on behalf of your employer and your employer has signed the OCA, please let us know by writing |
/signed |
Thank you! Please allow for up to two weeks to process your OCA, although it is usually done within one to two business days. Also, please note that pull requests that are pending an OCA check will not usually be evaluated, so your patience is appreciated! |
OK, forgot to submit an explanatory text related to this fix. Posted [1] which explains the problem and the suggested solution for discussion.
There are three possible types of script code definitions possible in fxml files:
[1] "Ad suggested test unit for 'JDK-8234959 FXMLLoader does not populate ENGINE_SCOPE Bindings with FILENAME and ARGV'": https://mail.openjdk.java.net/pipermail/openjfx-dev/2020-February/025104.html |
Sorry, mixed up the link with the test unit WIP! :( This is the correct link with the explanatory text related to this suggested fix. Posted [1] which explains the problem and the suggested solution for discussion. |
Webrevs
|
/reviewers 2 |
@kevinrushforth |
@aghaisas can you also review this? |
Overall this looks good to me. As I mentioned in PR #123 you should fold that the unit test into this PR. |
Removed executable bits from gradlew (which I manually have added to become able to run ./gradlew) and pushed it, however the commit has not appeared. Not wanting to add more noise, I stop until advised differently. |
Btw, I recommend to run |
Mailing list message from Rony G. Flatscher on openjfx-dev: Hi Kevin, On 02.03.2020 17:51, Kevin Rushforth wrote:
thank you very much for this hint! As you can probably tell I have never really worked with git (other than pulling open source BTW, mistakingly (pressed "Reply" instead of "Reply-to-all") sent my answer to your e-mail address The original message was received at Mon, 2 Mar 2020 17:50:57 GMT ?? ----- The following addresses had permanent fatal errors ----- ?? ----- Transcript of session follows ----- Best regards ---rony |
Is there anything I can do to keep the ball rolling ? |
I just need time to do final testing of this, along with the review of the updated test. @aghaisas will also review. |
The changes look good to me. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The fix looks good. I left a few comments on the test. One of them is substantive, the rest are formatting. Once you make those changes, I'll approve it.
tests/system/src/testscriptapp1/java/mymod/myapp1/FXMLScriptDeployment.java
Outdated
Show resolved
Hide resolved
tests/system/src/testscriptapp1/java/mymod/myapp1/FXMLScriptDeployment.java
Outdated
Show resolved
Hide resolved
tests/system/src/testscriptapp1/java/mymod/myapp1/FXMLScriptDeployment.java
Outdated
Show resolved
Hide resolved
tests/system/src/testscriptapp1/java/mymod/pseudoScriptEngine/InvocationInfos.java
Outdated
Show resolved
Hide resolved
// fire three events on the button | ||
btn.fire(); | ||
btn.fireEvent(new ActionEvent()); | ||
btn.fireEvent(new MouseEvent( MouseEvent.MOUSE_CLICKED, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor: remove the extra space after the last (
tests/system/src/testscriptapp1/java/mymod/myapp1/FXMLScriptDeployment.java
Outdated
Show resolved
Hide resolved
tests/system/src/testscriptapp1/java/mymod/pseudoScriptEngine/RgfPseudoScriptEngine.java
Outdated
Show resolved
Hide resolved
tests/system/src/testscriptapp1/java/mymod/pseudoScriptEngine/RgfPseudoScriptEngine.java
Outdated
Show resolved
Hide resolved
One more minor observation. I noticed the following have DOS line endings:
Since they aren't source code files, |
Mailing list message from Rony G. Flatscher on openjfx-dev: Kevin and Ajit, thank you very much for your reviews! Will apply the changes (including changing CRLF to LF) ASAP. ---rony On 23.03.2020 22:45, Kevin Rushforth wrote:
|
@ronyfla This change now passes all automated pre-integration checks. When the change also fulfills all project specific requirements, type
Since the source branch of this PR was last updated there have been 33 commits pushed to the As you are not a known OpenJDK Author, an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@kevinrushforth, @aghaisas) but any other Committer may sponsor as well. ➡️ To flag this PR as ready for integration with the above commit message, type |
/integrate |
Kevin, Ajit, could you please /sponsor this PR? TIA, ---rony |
/sponsor |
@aghaisas @ronyfla The following commits have been pushed to master since your change was applied:
Your commit was automatically rebased without conflicts. Pushed as commit 6d098fe. |
…9: FXMLLoader does not populate ENGINE_SCOPE Bindings with FILENAME and ARGV
Progress
Issue
Reviewers
Download
$ git fetch https://git.openjdk.java.net/jfx pull/122/head:pull/122
$ git checkout pull/122