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

8283339: TypeError: undefined is not an Object after JDK-8240299 #17

Closed
wants to merge 3 commits into from

Conversation

cushon
Copy link
Contributor

@cushon cushon commented Mar 23, 2022

Contributed-by: Nicholas Burbaum nburbaum@google.com


Progress

  • Change must not contain extraneous whitespace
  • Change must be properly reviewed

Issue

  • JDK-8283339: TypeError: undefined is not an Object after JDK-8240299

Reviewers

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.java.net/nashorn pull/17/head:pull/17
$ git checkout pull/17

Update a local copy of the PR:
$ git checkout pull/17
$ git pull https://git.openjdk.java.net/nashorn pull/17/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 17

View PR using the GUI difftool:
$ git pr show -t 17

Using diff file

Download this PR as a diff file:
https://git.openjdk.java.net/nashorn/pull/17.diff

Contributed-by: Nicholas Burbaum <nburbaum@google.com>
@bridgekeeper
Copy link

bridgekeeper bot commented Mar 23, 2022

👋 Welcome back cushon! 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 openjdk bot added the rfr label Mar 23, 2022
@szegedi
Copy link
Collaborator

szegedi commented Mar 29, 2022

I see that Nicholas has no OCA on file, but I'll presume that we can proceed without him signing one since:

  • we can consider him a Participant instead of Contributor as per OpenJDK Bylaws as this I believe qualifies as a "small patch", and
  • he would fall under OCA Google signed (visible on the OCAs submitted prior to 2021 page.)

@@ -0,0 +1 @@
test
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please add a newline at the end of file. It's weird the test passes since print(a) on line 34 in the test does emit a newline.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done, thanks for the review!

@cushon cushon requested a review from szegedi March 29, 2022 20:52
@openjdk
Copy link

openjdk bot commented Mar 30, 2022

@cushon This change now passes all automated pre-integration checks.

After integration, the commit message for the final commit will be:

8283339: TypeError: undefined is not an Object after JDK-8240299

Reviewed-by: attila

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 main branch. If another commit should be pushed before you perform the /integrate command, your PR will be automatically rebased. If you prefer to avoid any potential 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 (@szegedi) but any other Committer may sponsor as well.

➡️ To flag this PR as ready for integration with the above commit message, type /integrate in a new comment. (Afterwards, your sponsor types /sponsor in a new comment to perform the integration).

@openjdk openjdk bot added the ready label Mar 30, 2022
@cushon
Copy link
Contributor Author

cushon commented Mar 30, 2022

/integrate

@openjdk openjdk bot added the sponsor label Mar 30, 2022
@openjdk
Copy link

openjdk bot commented Mar 30, 2022

@cushon
Your change (at version a6dd21d) is now ready to be sponsored by a Committer.

@cushon
Copy link
Contributor Author

cushon commented Mar 30, 2022

I pushed one more commit to fix the newly-added file to have Google copyright (which is standard, see e.g. this thread).

@openjdk openjdk bot removed the sponsor label Mar 30, 2022
@cushon
Copy link
Contributor Author

cushon commented Apr 1, 2022

@szegedi thanks for the review! I don't have committer status, so when you're ready for this to be merged I think you'll need to sponsor it before it can be merged by commenting /sponsor

@szegedi
Copy link
Collaborator

szegedi commented Apr 1, 2022

I believe you need to re-integrate after the last commit, and then I can sponsor it. You can see that the bot removed the "sponsor" label after you added the commit after integration.

@cushon
Copy link
Contributor Author

cushon commented Apr 1, 2022

/integrate

@openjdk openjdk bot added the sponsor label Apr 1, 2022
@openjdk
Copy link

openjdk bot commented Apr 1, 2022

@cushon
Your change (at version 2afb0a1) is now ready to be sponsored by a Committer.

@szegedi
Copy link
Collaborator

szegedi commented Apr 1, 2022

/sponsor

@openjdk
Copy link

openjdk bot commented Apr 1, 2022

Going to push as commit ba9bc19.

@openjdk openjdk bot added the integrated label Apr 1, 2022
@openjdk openjdk bot closed this Apr 1, 2022
@openjdk
Copy link

openjdk bot commented Apr 1, 2022

@szegedi @cushon Pushed as commit ba9bc19.

💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored.

@szegedi
Copy link
Collaborator

szegedi commented Apr 24, 2022

Hey @cushon, just wanted to let you know that this is now released in Nashorn 15.4. Thanks again for the contribution!

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

Successfully merging this pull request may close these issues.

2 participants