-
Notifications
You must be signed in to change notification settings - Fork 398
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
Accommodate org.mozilla.rhino 1.8.0 API breakage #2030
Conversation
@speckyspooky One of the changes of Rhino 1.8.0 in comparison to 1.7.x is that ES6 is now the default, see https://github.com/mozilla/rhino/releases/tag/Rhino1_8_0_Release. Can this break old reports which do not explicitly specify the ES version and assume an older ES version? BTW the Rhino homepage still says that 1.7.5 is the latest release. |
- Update tests expectations as well.
I'm not the expert here. I'm just trying to get builds to work and keep libraries up-to-date. I didn't get an answer to this question: I don't see a 1.7.5 release here: |
@hvbtup @speckyspooky @wimjongman I'm not 100% sure I should merge this. Builds will remain broken until this is merged, and I don't think trying to stick to rhino 1.7.15 is a great option. Note that the API changes in 1.8.0 are such that I changed the lower bound to 1.8.0, i.e., the new constructor we are using did not exist in 1.7.15: |
In case it's not clear, I've already workaround around the missing OSGi metadata for the 1.8.0 version so we don't strictly require anything from rhino. I was mostly just curious about the intent and about future expectations for future releases. |
Sorry, that was a typo. I meant1.7.15. Seems like the maintainers of Rhino have difficulties with updating their docs for new releases. |
@merks I'm, not sure what the issue is and what to do. Are you saying your changes are not needed, or are they needed when we upgrade to 1.8 |
I'm saying that I don't need the rhino folks to do anything in order to produce a bundle for 1.8.0 because that's already done in Orbit. All the changes in this PR are necessary in order to compile against rhino 1.8.0 and in order for the tests to pass when running using rhino 1.8.0. The only alternative to all these changes is to continue to use rhino 1.7.15 which in my opinion is a bad option. So I think we should just hit the big green |
Yes, let's go! |
@hvbtup |
No description provided.