Rhino 1.9/2.0 and JDK 17 #2170
Replies: 3 comments 1 reply
-
|
I think it might be worth creating a feature branch for 2.0 which we could regularly rebase on top of master. I don't think we should rush to 2.0 because we want to try and get pretty much all the API change we need into that, and that might take time. In the meantime we may want to add changes to some pre-2.0 release to help smooth the transition, and we should try to avoid blocking potential smaller feature releases that might still be valuable in the interim. I don't want @rbri, or us, to be unable to make a sensible release, or to have to refactor multiple times, because we're in the middle of developing 2.0 features and haven't got the APIs settled yet. |
Beta Was this translation helpful? Give feedback.
-
|
I think it's also worth having a discussion of what we want to do before we make a 2.0 release. Since we probably want to get all the external API changes into that release I think we should definitely include:
|
Beta Was this translation helpful? Give feedback.
-
At least regarding HtmlUnit i like to move forward at the beginning of next year to version 5 - and JDK 17. So change of the jdk is fine for me. And regarding the features i'm fine with breaking something as long as we go forward with js. My fork is in sync with the head and I do not have to manage backward compatibility at the code level. I only like to be compatible with the current browsers... |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
It would be very nice to adopt JDK 17, for multiple reasons: record, multiline strings, switch expressions. In the last few years, my feeling is that the Java ecosystem is moving on the latest LTS release at a good time frame and asking people to use JDK 17 is pretty reasonable today - Spring is doing it, for example.
It's been a while since 1.8 and there's a ton of changes already in, but some of the stuff that @aardvark179 is working on, such as those discussed in #2054, will require some breakage of the API.
My proposal is that we release a 1.9 from master soon-ish, without any major breaking changes, and then start integrating all the things that working requires breaking changes for a future 2.0 release, with the JDK 17 requirement.
Let's discuss! 🙂
Beta Was this translation helpful? Give feedback.
All reactions