diff --git a/hotspot-support-kernel-4.patch b/hotspot-support-kernel-4.patch new file mode 100644 index 0000000..0aacbc4 --- /dev/null +++ b/hotspot-support-kernel-4.patch @@ -0,0 +1,11 @@ +--- jdk8/hotspot/make/linux/Makefile 2015-05-05 15:23:20.129959059 +0200 ++++ jdk8/hotspot/make/linux/Makefile 2015-05-05 15:23:52.314222316 +0200 +@@ -229,7 +229,7 @@ + # Solaris 2.5.1, 2.6). + # Disable this check by setting DISABLE_HOTSPOT_OS_VERSION_CHECK=ok. + +-SUPPORTED_OS_VERSION = 2.4% 2.5% 2.6% 3% ++SUPPORTED_OS_VERSION = 2.4% 2.5% 2.6% 3% 4% + OS_VERSION := $(shell uname -r) + EMPTY_IF_NOT_SUPPORTED = $(filter $(SUPPORTED_OS_VERSION),$(OS_VERSION)) + diff --git a/java-1_8_0-openjdk.spec b/java-1_8_0-openjdk.spec index 6f55ce9..047946a 100644 --- a/java-1_8_0-openjdk.spec +++ b/java-1_8_0-openjdk.spec @@ -215,6 +215,8 @@ Patch8: compare-pointer-with-literal.patch Patch9: aarch64-misc.patch # From icedtea: Increase default memory limits Patch10: memory-limits.patch +# Fix hotspot for kernel 4.0 +Patch11: hotspot-support-kernel-4.patch # Fix use of unintialized memory in adlc parser Patch12: adlc-parser.patch # Fix: implicit-pointer-decl @@ -513,6 +515,7 @@ rm -rvf jdk/src/share/native/sun/java2d/cmm/lcms/lcms2* %patch8 -p1 %patch9 -p1 %patch10 -p1 +%patch11 -p1 %patch12 -p1 %patch13 -p1