-
Notifications
You must be signed in to change notification settings - Fork 6.1k
8359760: Remove the jdk.jsobject module #26393
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
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 18 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details. As you do not have Committer status in this project an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@RogerRiggs, @irisclark, @AlanBateman) but any other Committer may sponsor as well. ➡️ To flag this PR as ready for integration with the above commit message, type |
@kevinrushforth The following labels will be automatically applied to this pull request:
When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing lists. If you would like to change these labels, use the /label pull request command. |
/skara label client |
@kevinrushforth |
@RogerRiggs @AlanBateman Can you review this PR to remove the |
Webrevs
|
I did a quick scan and the updates to the conf, the removal, and the test changes look okay. Happy to review the CSR when you have it ready. |
@@ -302,8 +302,6 @@ jdk.jshell | |||
jdk.jshell.execution | |||
jdk.jshell.spi | |||
jdk.jshell.tool | |||
module:jdk.jsobject |
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.
There is a similar pair in test/langtools/jdk/javadoc/doclet/testRecordTypes/jdk17/element-list.
Can it be removed? Unless it causes a test failure.
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.
I wondered about that, and originally was going to remove it, but then noticed that the test in question parses the JDK 17 API docs (which does have the jdk.jsobject
module).
private static final String externalDocs =
"https://docs.oracle.com/en/java/javase/17/docs/api";
I suspect that the test will run just fine if I remove it. I don't mind either way. What would you recommend?
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.
I ran the test and then removed those lines and the test still passed.
I'd remove them to avoiding leaving a (little) mess behind.
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.
As expected, the above test passes fine if I remove the jsobject entries from test/langtools/jdk/javadoc/doclet/testRecordTypes/jdk17/element-list
. I'll go ahead and remove them, since it seems like good cleanup.
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.
@hns Would it be possible to confirm that it's okay to remove this from the doclet tests?
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 list is used as list of external linkable modules/packages for the -linkoffline
option. Since the list is for JDK 17 the entry could be left in the list, but as the test doesn't try to link to the module removing it doesn't make any difference.
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.
Maybe my previous comment was a bit unclear. Both options are okay, leaving the entries and removing them.
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.
Thanks. In that case, I'll stick with the current state of the PR which removes them.
Thanks. The CSR is now ready to review: https://bugs.openjdk.org/browse/JDK-8362628 |
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.
look good.
/integrate |
@kevinrushforth |
/sponsor |
Going to push as commit 594c080.
Your commit was automatically rebased without conflicts. |
@irisclark @kevinrushforth Pushed as commit 594c080. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
This PR removes the terminally-deprecated
jdk.jsobject
module from the JDK. This module is now shipped with JavaFX, and has been since JavaFX 24.The following files still reference
jdk.jsobject
(or thenetscape.javascript
package). They are not modified because these files reflect the state of earlier releases, which do have thejdk.jsobject
module.I have run tier1, tier2, and tier3 tests, as well as local tests with JavaFX WebView.
Progress
Issues
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/26393/head:pull/26393
$ git checkout pull/26393
Update a local copy of the PR:
$ git checkout pull/26393
$ git pull https://git.openjdk.org/jdk.git pull/26393/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 26393
View PR using the GUI difftool:
$ git pr show -t 26393
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/26393.diff
Using Webrev
Link to Webrev Comment