Skip to content
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

oraclejdk8jce oraclejre8jce: add JCE versions JDK8 & JRE8 #9361

Closed
wants to merge 1 commit into from

Conversation

mbbx6spp
Copy link
Contributor

Currently not JCE installed version of Oracle JDK8 or JRE8 are provided. This change addresses that by added new packages named:

  • oraclejdk8jce: this is the JCE installed version of oraclejdk8
  • oraclejre8jce: this is the JCE installed version of oraclejre8

This also fixes the installjce logic where in JDK/JRE8 the name of the unlimited JCE policy directory added a suffix of JDK8 by adding wildcard.

I tested this off of commit 1357692 with this patch applied checking the JARs in jre/lib/security subdir are different in the non-JCE version with the JCE installed version like so:

nix-env -f . -iA oraclejdk8
declare jhome=$(dirname $(readlink -f $(which java)))/..
shasum ${jhome}/jre/lib/security/*.jar

# check that these SHA sums are different to following:

nix-env -f . -iA oraclejdk8jce
declare jhome=$(dirname $(readlink -f $(which java)))/..
shasum ${jhome}/jre/lib/security/*.jar

Cheers.

@mbbx6spp
Copy link
Contributor Author

The build failure is not related to this patch:
https://travis-ci.org/NixOS/nixpkgs/builds/76407132#L138

error: while querying the derivation named ‘meshlab-1.3.3’:

while evaluating the attribute ‘patches’ of the derivation ‘meshlab-1.3.3’ at /home/travis/.nox/nixpkgs/pkgs/applications/graphics/meshlab/default.nix:4:3:

getting attributes of path ‘/home/travis/.nox/nixpkgs/pkgs/applications/graphics/meshlab/include-unistd.diff’: No such file or directory

I will investigate if there are any pending fixes for this already.

Currently not JCE installed version of Oracle JDK8 or JRE8 are provided. This
change addresses that by added new packages named:

* `oraclejdk8jce`: this is the JCE installed version of oraclejdk8
* `oraclejre8jce`: this is the JCE installed version of oraclejre8

This also fixes the `installjce` logic where in JDK/JRE8 the name of the
unlimited JCE policy directory added a suffix of JDK8 by adding wildcard.

I tested this off of commit `1357692` with this patch applied checking the
JARs in `jre/lib/security` subdir are different in the non-JCE version with
the JCE installed version like so:

```bash
nix-env -f . -iA oraclejdk8
declare jhome=$(dirname $(readlink -f $(which java)))/..
shasum ${jhome}/jre/lib/security/*.jar

nix-env -f . -iA oraclejdk8jce
declare jhome=$(dirname $(readlink -f $(which java)))/..
shasum ${jhome}/jre/lib/security/*.jar
```
@rasendubi
Copy link
Member

(triage) Doesn't seem to be fixed yet.

@grahamc
Copy link
Member

grahamc commented Dec 30, 2016

Closing due to no reply on the triage, feel free to reopen / ask for it to be reopened :)

@grahamc grahamc closed this Dec 30, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants