about summary refs log tree commit diff
path: root/pkgs/development/compilers/openjdk
diff options
context:
space:
mode:
authorThiago Kenji Okada <thiagokokada@gmail.com>2023-02-03 21:11:37 +0000
committerThiago Kenji Okada <thiagokokada@gmail.com>2023-02-04 12:25:29 +0000
commit6ba603bcc9cfe1f959651f6d048fca2b2edb36a1 (patch)
treecbdb6219fa1ae73416541bb9640b47005157269f /pkgs/development/compilers/openjdk
parent83a10248e3e6a734c71f326f9e4842dffbe55907 (diff)
downloadnixlib-6ba603bcc9cfe1f959651f6d048fca2b2edb36a1.tar
nixlib-6ba603bcc9cfe1f959651f6d048fca2b2edb36a1.tar.gz
nixlib-6ba603bcc9cfe1f959651f6d048fca2b2edb36a1.tar.bz2
nixlib-6ba603bcc9cfe1f959651f6d048fca2b2edb36a1.tar.lz
nixlib-6ba603bcc9cfe1f959651f6d048fca2b2edb36a1.tar.xz
nixlib-6ba603bcc9cfe1f959651f6d048fca2b2edb36a1.tar.zst
nixlib-6ba603bcc9cfe1f959651f6d048fca2b2edb36a1.zip
openjdk18: disable JavaFX by default
JavaFX is an optional component of Java since version 11, not used by
most applications and also a source of many security issues (i.e.: it
bundles both media codecs and WebKit). Also, it is only available in
some platforms.

So this commit will disable JavaFX by default, that will allow us to
reduce the closure size significantly and reduce the attack surface of
Java applications for most users. Derivations that needs it can always
override the parameter themselves.
Diffstat (limited to 'pkgs/development/compilers/openjdk')
-rw-r--r--pkgs/development/compilers/openjdk/18.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/compilers/openjdk/18.nix b/pkgs/development/compilers/openjdk/18.nix
index 37b51a1ee4ce..4726e145d152 100644
--- a/pkgs/development/compilers/openjdk/18.nix
+++ b/pkgs/development/compilers/openjdk/18.nix
@@ -4,7 +4,7 @@
 , libXi, libXinerama, libXcursor, libXrandr, fontconfig, openjdk18-bootstrap
 , setJavaClassPath
 , headless ? false
-, enableJavaFX ? openjfx.meta.available, openjfx
+, enableJavaFX ? false, openjfx
 , enableGnome2 ? true, gtk3, gnome_vfs, glib, GConf
 }: