-
Notifications
You must be signed in to change notification settings - Fork 542
8371087: Remove unused dependency on jdk.unsupported from javafx.graphics #1957
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
8371087: Remove unused dependency on jdk.unsupported from javafx.graphics #1957
Conversation
|
👋 Welcome back kcr! A progress list of the required criteria for merging this PR into |
|
@kevinrushforth 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 no new commits pushed to the ➡️ To integrate this PR with the above commit message to the |
Webrevs
|
|
LGTM. |
Maran23
left a comment
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.
Makes sense. Can confirm that the last sun.misc usage is WebEngine.java in the android folder in javafx.web, as also noted in the comment in #1814 (comment).
|
As I noticed JDK-8179462 already exists to remove the flag from javadoc build. |
That sounds indeed reasonable! As mentioned above, there is one |
Agreed. I'll expand JDK-8179462 to remove
Since that file cannot possibly compile without some additional modification to the JDK and/or JavaFX anyway, I don't see any harm removing this option from |
|
/issue add 8179462 |
|
@kevinrushforth |
|
I filed JDK-8371157 to track replacing the obsolete usage of I also filed JDK-8371158 as a follow-on to investigate removing a workaround for setting javac options that is described as only being needed so we can set |
|
@arapte Can you be the primary Reviewer? |
| module javafx.graphics { | ||
| requires java.desktop; | ||
| requires java.xml; | ||
| requires jdk.unsupported; |
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.
Good job!
arapte
left a comment
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.
lgtm
|
/integrate |
|
Going to push as commit a4e5451. |
|
@kevinrushforth Pushed as commit a4e5451. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
This PR removes the unused dependency on
jdk.unsupportedfromjavafx.graphicsas a followup to JDK-8334137, which replaced the use ofsun.misc.Unsafewith FFM in PR #1814.sun.misc.Unsafewas the only use ofjdk.unsupported, so it can now be removed.It also removes the no-longer-needed
-XDignore.symbol.fileflag frombuild.gradle.Progress
Issues
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jfx.git pull/1957/head:pull/1957$ git checkout pull/1957Update a local copy of the PR:
$ git checkout pull/1957$ git pull https://git.openjdk.org/jfx.git pull/1957/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 1957View PR using the GUI difftool:
$ git pr show -t 1957Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jfx/pull/1957.diff
Using Webrev
Link to Webrev Comment