Skip to content

Commit

Permalink
oraclejdk: 8u251 -> 8u261
Browse files Browse the repository at this point in the history
  • Loading branch information
Ma27 committed Jul 20, 2020
1 parent 309bcc4 commit c5dd1fb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pkgs/development/compilers/oraclejdk/jdk8-linux.nix
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import ./jdk-linux-base.nix {
productVersion = "8";
patchVersion = "251";
sha256.i686-linux = "0c6d25c09459e435570204f1a22a1cb765ce5d62c5bced92c9a9546b7be337f2";
sha256.x86_64-linux = "777a8d689e863275a647ae52cb30fd90022a3af268f34fc5b9867ce32f1b374e";
sha256.armv7l-linux = "f1b0c979e1b61ec52ebd5e1d0b754d7681d8623b09ac90c69718a553ef9b0cd1";
sha256.aarch64-linux = "58baeaab7da97dd5a6b02ad2dcd77c14b3b6ba014029ee67dbc2bd5f0fa98d1b";
patchVersion = "261";
sha256.i686-linux = "1bl12hd5i53m8d4j8rwkk3bavmzw0ndr88ch5lf5syi7vs5pfjpm";
sha256.x86_64-linux = "0d7a92csz8ws5h0pzqmrxq3sz286s57vw0dqq3ciwsqz14df012s";
sha256.armv7l-linux = "13dih7zyfgj90bkhnfxhpm88d9kqqrj6w5rzpidmxrjwrsnlndp9";
sha256.aarch64-linux = "0zzhs4pcnjss2561b8zrrnacpkb8p49ca0lpdw7hzgsjjj1y146n";
jceName = "jce_policy-8.zip";
sha256JCE = "0n8b6b8qmwb14lllk2lk1q1ahd3za9fnjigz5xn65mpg48whl0pk";
}

6 comments on commit c5dd1fb

@Ma27
Copy link
Member Author

@Ma27 Ma27 commented on c5dd1fb Aug 2, 2020

Choose a reason for hiding this comment

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

OTOH the update was necessary because

  • it was part of oracles security patches
  • 8u251 isn't available anymore, so people deploying stuff that requires oraclejdk will have a problem if they don't have the zip-archive locally.

Something with security certificates.

Just tested and didn't encounter this error. What exactly were you doing?

@Ma27
Copy link
Member Author

@Ma27 Ma27 commented on c5dd1fb Aug 2, 2020

Choose a reason for hiding this comment

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

I see. Sorry for the inconvenience, I'll take a look at this!

@Ma27
Copy link
Member Author

@Ma27 Ma27 commented on c5dd1fb Aug 2, 2020

Choose a reason for hiding this comment

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

Ah I see :) Do you want to file a PR for that?

@Ma27
Copy link
Member Author

@Ma27 Ma27 commented on c5dd1fb Aug 2, 2020

Choose a reason for hiding this comment

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

Give me a minute then :)

@Ma27
Copy link
Member Author

@Ma27 Ma27 commented on c5dd1fb Aug 2, 2020

Choose a reason for hiding this comment

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

Fixed on master in 3c155bb, on release-20.03 in d971fd7.

@kini
Copy link
Member

@kini kini commented on c5dd1fb Dec 16, 2020

Choose a reason for hiding this comment

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

  • 8u251 isn't available anymore, so people deploying stuff that requires oraclejdk will have a problem if they don't have the zip-archive locally.

FWIW, 8u251 and many other older versions are still available at https://www.oracle.com/java/technologies/javase/javase8u211-later-archive-downloads.html, though as it says on the page, "WARNING: These older versions of the JRE and JDK are provided to help developers debug issues in older systems. They are not updated with the latest security patches and are not recommended for use in production."

Still, even if you wanted users to go to this other page to download old versions of the JDK, that'd still require a commit to nixpkgs to change the error message to contain the other URL (the archive downloads page), so at that point, one might as well bump the version to the latest, unless there's some reason not to.

Please sign in to comment.