nixpkgs/pkgs/development/compilers/openjdk
Matt McHenry 02fe1207ab openjdk9: init at 9.0.0+180
* openjdk 8: code cleanup

as recommended by 0xABAB in #27194

* openjdk 9: init at ea build 176

this starts with copy of 8.nix and just updates hashes and replaces 8
with 9.  it also tweaks the version handling because we aren't dealing
with an update version yet.

* openjdk 9: adapt patches from openjdk 8

fix-java-home: surrounding code changed slightly

swing-use-gtk-jdk9: location of the file being patched changed due to
modularization

read-truststore-from-env: the code that handles the trustStore was
refactored out into a helper class in upstream commit
http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/904861872c0e

adlc_updater: this isn't present anymore

* openjdk 9: make two more warnings-as-errors non-fatal

this requires that we switch to configureFlagsArray to deal with
whitespace

the errors being suppressed are show below:

* For target support_native_java.desktop_libawt_xawt_awt_Robot.o:
/tmp/nix-build-openjdk-9ea-b176.drv-0/jdk9-jdk-9+176/jdk/src/java.desktop/unix/native/libawt_xawt/awt/awt_Robot.c: In function 'isXCompositeDisplay':
/tmp/nix-build-openjdk-9ea-b176.drv-0/jdk9-jdk-9+176/jdk/src/java.desktop/unix/native/libawt_xawt/awt/awt_Robot.c:152:50: error: embedded '\0' in format
[-Werror=format-contains-nul]
     snprintf(NET_WM_CM_Sn, sizeof(NET_WM_CM_Sn), "_NET_WM_CM_S%d\0", screenNumber);
                                                  ^
/tmp/nix-build-openjdk-9ea-b176.drv-0/jdk9-jdk-9+176/jdk/src/java.desktop/unix/native/libawt_xawt/awt/awt_Robot.c:152:50: error: embedded '\0' in format
[-Werror=format-contains-nul]
cc1: all warnings being treated as errors
* For target support_native_jdk.hotspot.agent_libsa_ps_core.o:
/tmp/nix-build-openjdk-9ea-b176.drv-0/jdk9-jdk-9+176/hotspot/src/jdk.hotspot.agent/linux/native/libsaproc/ps_core.c: In function 'read_exec_segments':
/tmp/nix-build-openjdk-9ea-b176.drv-0/jdk9-jdk-9+176/hotspot/src/jdk.hotspot.agent/linux/native/libsaproc/ps_core.c:834:7: error: ignoring return value of 'pread', declared
with attribute warn_unused_result [-Werror=unused-result]
       pread(ph->core->exec_fd, interp_name, exec_php->p_filesz, exec_php->p_offset);
       ^
cc1: all warnings being treated as errors

* openjdk 9: ea+176 -> ea+180

* openjdk 9: TODO disable infinality patches, at least to start

the code being patched here seems to have changed substantially or
perhaps even disappeared altogether.  need to investigate whether
these patches are still relevant.

* openjdk 9: update installPhase for modularization

* separate jdk and jre images are now present under build/*/images

* samples have been removed (JEP 298)
  -- TODO that JEP says demos will be gone too, but it seems some are still present?

* bina directory is no longer present

* openjdk 9: TODO handle *.pf files or purge this code completely

* openjdk 9: update minimal jre components

in particular, the name of the config option for headless has changed,
per https://bugs.openjdk.java.net/browse/JDK-8163102

* TODO about echo -n vs printWords, #27427
2017-09-22 08:27:34 -04:00
..
004_add-fontconfig.patch openjdk: add infinality patch to improve font-rendering 2015-11-03 14:59:16 +01:00
005_enable-infinality.patch openjdk: add infinality patch to improve font-rendering 2015-11-03 14:59:16 +01:00
7.nix stdenv-setup and misc pkgs: Revert to space-deliminated propagated-* files 2017-07-26 09:07:55 -04:00
8.nix openjdk9: init at 9.0.0+180 2017-09-22 08:27:34 -04:00
9.nix openjdk9: init at 9.0.0+180 2017-09-22 08:27:34 -04:00
bootstrap.nix Merge commit staging+systemd into closure-size 2015-10-03 13:33:37 +02:00
cppflags-include-fix.patch openjdk: Update to 7u6b24 2013-01-22 12:58:07 -05:00
currency-date-range-jdk8.patch Add openjdk8 2015-01-20 09:02:07 +01:00
currency-date-range.patch openjdk : Patch to extend valid currency change dates to 20 years. 2014-12-30 16:42:42 +01:00
fix-java-home-jdk8.patch openjdk8: work around gnupatch latest feature of not following symlinks, even when --follow-symlinks is specified. 2015-05-19 18:22:38 +02:00
fix-java-home-jdk9.patch openjdk9: init at 9.0.0+180 2017-09-22 08:27:34 -04:00
fix-java-home.patch openjdk: Hackery to ensure that tools.jar is found 2014-01-25 03:04:46 +01:00
generate-cacerts.pl openjdk: Create a cacerts file from pkgs.cacerts 2012-10-25 23:33:09 -04:00
make-bootstrap.nix openjdk-make-bootstrap: Use openjdk8 2015-06-07 21:02:02 -07:00
paxctl.patch openjdk: Add support for grsecurity 2014-05-15 13:25:49 +02:00
read-truststore-from-env-jdk8.patch Add openjdk8 2015-01-20 09:02:07 +01:00
read-truststore-from-env-jdk9.patch openjdk9: init at 9.0.0+180 2017-09-22 08:27:34 -04:00
read-truststore-from-env.patch openjdk: Introduce JAVAX_NET_SSL_TRUSTSTORE env 2014-12-12 01:14:09 +01:00
swing-use-gtk-jdk9.patch openjdk9: init at 9.0.0+180 2017-09-22 08:27:34 -04:00
swing-use-gtk.patch openjdk8: add a patch to use GTK when available by default 2016-10-02 23:57:10 +03:00