temurin-bin: init, semeru-bin: init, adoptopenjdk-bin: remove 13, 14, 17#140364
temurin-bin: init, semeru-bin: init, adoptopenjdk-bin: remove 13, 14, 17#140364fpletz merged 2 commits intoNixOS:stagingfrom
Conversation
|
Please check with |
|
@SuperSandro2000 Temurin don't have version 15 while |
|
@SuperSandro2000 |
|
Anything that can be done here by an outsider to help move things along? |
|
I will update it this weekends (or next weekends). |
|
Resolved conflicts. Updated versions and tested again. |
|
~~Mediathekview needs Java 17 for the latest version that also contains a security fix (upgrading log4j). Is there a plan to backport this PR to 21.11?~~ Have found another mitigation for the Backports |
|
Now using |
|
needs a rebase |
|
@taku0 are you still working on this? |
|
I will update this on the weekend. Maybe it is better to focus on temurin and semeru. |
|
Updated. |
|
Could we easily change this to have less boilerplate code? |
mschuwalow
left a comment
There was a problem hiding this comment.
sorry for my last comment, seems like the jre one is still missing for openjdk16. All others should be fine though
|
Addressed the comments. |
|
ping @SuperSandro2000 in case you forgot this one 😉 |
… 14, 17 AdoptOpenJDK Hotspot is now Eclipse Temurin and AdoptOpenJDK OpenJ9 is now IBM Semeru Runtime. Adds `temurin-bin` and `semeru-bin` packages. AdoptOpenJDK 13, 14, and 15 is no longer supported. AdoptOpenJDK 13 and 14 are removed. AdoptOpenJDK 15 is left only for some packages depending it.
|
Updated to the latest version. |
|
Sorry I've not looked at this PR sooner. I've recently dropped maintainership for AdoptOpenJDK in nixpkgs but I've looked at the changes now and they look good to me. Since there are evidently users of this, let's merge this now. Thanks! |
this was originally replaced with temurin in c742218, which landed in staging in acf46b0 (NixOS#140364) but it was also added in b6cb656 (in support of openjdk 18 in da40a44), which landed directly on master in 9413ebb (NixOS#165354). those two conflicted when master was merged into staging-next in a5dfac8 (NixOS#191339), and adoptopenjdk 17 was mistakenly kept during the conflict resolution. the net result is that one would get: $ nix-build -A pkgs.adoptopenjdk-hotspot-bin-17 error: Alias adoptopenjdk-hotspot-bin-17 is still in all-packages.nix ... instead of the desired: $ nix-build -A pkgs.adoptopenjdk-hotspot-bin-17 error: AdoptOpenJDK is now Temurin. Use temurin-bin-17
Motivation for this change
AdoptOpenJDK Hotspot is now Eclipse Temurin and AdoptOpenJDK OpenJ9 is IBM Semeru Runtime.
This PR adds
temurin-binandsemeru-bin, and removesadoptopenjdk-binpackage.Temurin/Semeru 13, 14, and 15 is no longer supported and removed.
Supersedes #140116.
cc: @timothyklim, @edwtjo, @asbachb, @fpletz
Things done
sandbox = trueset innix.conf? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"./result/bin/)Tested with a simple AWT and Swing sample app.