From 368a7a02859b6f00e72c6fe291bc7d281abad8a4 Mon Sep 17 00:00:00 2001 From: Thiago Kenji Okada Date: Fri, 3 Feb 2023 21:11:37 +0000 Subject: openjdk12: 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. --- pkgs/development/compilers/openjdk/12.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkgs/development/compilers/openjdk/12.nix') diff --git a/pkgs/development/compilers/openjdk/12.nix b/pkgs/development/compilers/openjdk/12.nix index bd3defbd6b9..682bb3263f7 100644 --- a/pkgs/development/compilers/openjdk/12.nix +++ b/pkgs/development/compilers/openjdk/12.nix @@ -4,7 +4,7 @@ , libXcursor, libXrandr, fontconfig, openjdk11, fetchpatch , setJavaClassPath , headless ? false -, enableJavaFX ? openjfx.meta.available, openjfx +, enableJavaFX ? false, openjfx , enableGnome2 ? true, gtk3, gnome_vfs, glib, GConf }: -- cgit 1.4.1