-
Notifications
You must be signed in to change notification settings - Fork 40
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
8348033: Tidy Nashorn code #23
base: main
Are you sure you want to change the base?
Conversation
- fix unused lock variable - close Files.walk stream
👋 Welcome back attila! A progress list of the required criteria for merging this PR into |
❗ This change is not yet ready to be integrated. |
Hi @lagergren, thanks for making a comment in an OpenJDK project! All comments and discussions in the OpenJDK Community must be made available under the OpenJDK Terms of Use. 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 lagergren" for the summary. If you are not an OpenJDK Author, Committer or Reviewer, simply check the box below to accept the OpenJDK Terms of Use for your comments.
Your comment will be automatically restored once you have accepted the OpenJDK Terms of Use. |
Over time, a bunch of unused imports, unnecessary local variables, opportunities to lambdify and use better APIs have sprung up. A tidy pass over Nashorn codebase is overdue, still keeping Java 11 as a target (so, not using any 12+ features yet.)
Progress
Issue
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/nashorn.git pull/23/head:pull/23
$ git checkout pull/23
Update a local copy of the PR:
$ git checkout pull/23
$ git pull https://git.openjdk.org/nashorn.git pull/23/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 23
View PR using the GUI difftool:
$ git pr show -t 23
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/nashorn/pull/23.diff