-
-
Notifications
You must be signed in to change notification settings - Fork 14k
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
jetbrains.jdk: openjdk11 (11.0.13-b1751.25) → openjdk17 (17.0.3-b469.37) #183763
jetbrains.jdk: openjdk11 (11.0.13-b1751.25) → openjdk17 (17.0.3-b469.37) #183763
Conversation
Exactly the thing I was looking into today also! Will try to take a look soonish. |
Just as a note, other JetBrains packages should be tested too since the runtime update affect those. |
I was actually thinking about not dropping JBR11 but keeping both for sometime but will see |
Are you going to update all the other Jetbrains IDEs ? Thanks. |
AFAIK all previous versions of editors (at least 2022.1) work great with JRE 17, there might have been some kinks/rough edges but JetBrains decided to move the default forward so no need to keep the previous versions. |
Not really, I don't use any other editor and this PR hasn't gotten reviews/merged as it is. |
@fabianhjr I did take a look into these things and for some reason I still managed to build JBR17 locally. nixpkgs/pkgs/top-level/java-packages.nix Line 126 in 511e56d
So when I'm trying to build JBR17 I'm getting an error with wrong bootstrap version complaining about openjdk16 and asking for JDK 11. I also looked into the sources of JBR 17 and there required bootstrap versions are 17,18,19 AFAIR. Or can I you say what am I doing wrong? |
Do you think you can update them? Other PRs related to jetbrains product are upgrading all the IDEs at once. |
Seems like a darwin/macOS issue due to a typo, I believe it should be using version 17 to bootstrap. Checked the annotations and that line comes from this commit that doesn't mention using 16 to bootstrap 17 and probably went unnoticed until now. |
Ah, nvm, seems like there is something going on with JDK 17 and darwin/macOS. I have no access to that platform, could you try to change that bootstrap version to 17 and check if it works? @AnatolyPopov |
Seems like adopt-openjdk 17 has been stalled on darwin/macOS since march? Could you try to cherry-pick af9e23d for testing tho adopt-openjdk-17 for bootstrapping @AnatolyPopov? /cc @NixOS/darwin-maintainers |
@fabianhjr Thanks for digging into this but first of all I also do not have MacOS/Darwin, I'm on NixOS. I will try to run the build with JBR17 without JCEF a little later and we'll see how it will go. |
I would also skip PHPStorm 2022.2 and use directly 2022.2.1 when it's out, see https://blog.jetbrains.com/phpstorm/2022/08/phpstorm-2022-2-1-preview/ |
@drupol I believe this PR will not include any updates except Intellij unfortunately. |
75fdc12
to
e10d574
Compare
Done so, cherry-picked the "apdoptopenjdk: add 17.0.2" commit and change of bootstrap |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Diff LGTM, one question
There's a hash mismatch on Darwin too, see ofborg. |
> With the IntelliJ IDEA 2022.2 EAP we are moving from JetBrains Runtime 11 (JBR11) to JetBrains Runtime 17 (JBR17). Starting with this build, all IntelliJ IDEA 2022.2 updates will come with JBR17. This will have the following effects: > - A significant performance improvement allowing faster and smoother IDE operation. > - Better security, as JBR17 is based on the latest OpenJDK LTS. > - Better rendering performance on macOS, as JetBrains Runtime 17 leverages Metal API. > - Increased accessibility on macOS, as JBR17 features integration with VoiceOver screen reader. > - Usage of Vector API designed to express vector computations that compile at runtime to vector instructions on supported CPU architectures, thus achieving performance superior to equivalent scalar computations. From: https://blog.jetbrains.com/idea/2022/05/intellij-idea-2022-2-eap-1/#JetBrains_Runtime
afbe366
to
27a4de4
Compare
Rebased due to #165354 merge |
Current Jetbrains tools are broken when it comes to the use SSH remote connection, this is a huge problem for me and I guess for some other people as well. It would be nice to move on with this. WDYT ? |
Seems like fcfdb62 fixes the fetching issue. But the build of openjfx fails on x86_64-linux. |
A darwin contributor is needed to fix on darwin, on linux it works great. |
Darwin maintainers cannot act as gatekeepers here. I propose to merge, and if there are issues on Darwin, then they should open a PR to fix it. |
Who's saying they're... gatekeepers? Seems like a very odd word choice (that has weird implications with it). If it'a a simple fix, there's no reason it can't be added to this PR. (Note: I have no clue if it is.) |
Re: merging without darwin working, this is why we have the support tiers, see https://github.com/NixOS/rfcs/blob/master/rfcs/0046-platform-support-tiers.md. Since this problem has been reported to @NixOS/darwin-maintainers in #183763 (comment), I believe there has been enough time and this PR can be merged even while breaking darwin. I'll remove my request changes to reflect that. |
We should probably mark it as broken on Darwin before merging. |
Marked as broken on darwin |
Oops... I apologize for the word I used, I didn't know it could be misinterpreted, I sincerely hope I haven't offended anyone. What I merely meant here is that if the Darwin team do not reply to solicitations, then we shouldn't wait and move on. I also had the same kind of issue and never got any single reply from the team, so I moved on. This is the reason why I thought that gatekeeper was appropriate, wrongly. I think marking the package as broken for Darwin is a better idea indeed. Hope no hard feelings on this and thanks for the quick reaction on this. |
Agreed -- I didn't realize the call was sent out almost 2 months ago, and that's my fault. Sorry! |
Thanks for the patience everyone, sorry for causing some confusion! |
No worries, hopefully someone with access to the darwin platform can sort the pending issue out. |
Thanks 🙏 |
Description of changes
Two bundled updates, one of runtime (JBR) and IntelliJ IDEA Community Edition
I had been using the JBR 17 update for a while in previous versions of Idea Comumnity (only nuance were some warnings), with upstream moving the default forward this might be a good time to move nixpkgs default runtime forward too.
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)nixos/doc/manual/md-to-db.sh
to update generated release notes