Skip to content
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

Open
wants to merge 21 commits into
base: main
Choose a base branch
from
Open

Conversation

szegedi
Copy link
Collaborator

@szegedi szegedi commented Jan 18, 2025

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

  • Change must be properly reviewed (1 review required, with at least 1 Reviewer)
  • Change must not contain extraneous whitespace

Issue

Reviewers without OpenJDK IDs

  • @lagergren (no known openjdk.org user name / role)

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

@bridgekeeper
Copy link

bridgekeeper bot commented Jan 18, 2025

👋 Welcome back attila! A progress list of the required criteria for merging this PR into main will be added to the body of your pull request. There are additional pull request commands available for use with this pull request.

@openjdk
Copy link

openjdk bot commented Jan 18, 2025

❗ This change is not yet ready to be integrated.
See the Progress checklist in the description for automated requirements.

@openjdk openjdk bot added the rfr label Jan 18, 2025
@lagergren
Copy link

lagergren commented Jan 19, 2025

I don't seem to have reviewer privileges, or at least I can't click anything when I open the Review code tab. Is it possible for you to add me somewhere to the Nashorn contributors?

Copy link

@lagergren lagergren left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Insn't the ant test suite (or however it now was powered) run as part of the checkin tests for the Nashorn project? Unless jcheck handles that, but it runs for a suspiciously short time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

2 participants