diff options
author | Richard Leitner <richard.leitner@skidata.com> | 2019-12-30 15:35:59 +0100 |
---|---|---|
committer | Richard Leitner <richard.leitner@skidata.com> | 2020-01-28 15:09:31 +0100 |
commit | 7d30e6ff7b8a54d67256ce528e8c4fd7e63f6b14 (patch) | |
tree | 398a12e3addb7470622d4cb2f98e7ad2dda02c5c /recipes-core/openjdk/patches-openjdk-8/1005-hotspot-fix-Wreturn-type-issues-introduced-by-806165.patch | |
parent | 19b569281cc30e3aa94e772d6885cd340b1d1724 (diff) | |
download | meta-java-7d30e6ff7b8a54d67256ce528e8c4fd7e63f6b14.tar.gz |
openjdk-8: update to latest ga version 242
As OpenJDK-8 is now tagging "ga" versions in addition to the "build"
version the recipes are adapted to use those "ga" versions.
All existing patches got re-applied and renamed. For better handling Hotspot
patches now start at patch number 1001 and jdk patches at 2001.
Furthermore architecture dependent patches are prefixed with the
architecture they apply on.
Following patches/hunks were completely dropped:
- 0002-hotspot-fix-compilation-with-security-flags-enabled.patch
got backported to hotspot jdk8u
https://hg.openjdk.java.net/jdk8u/jdk8u/hotspot/rev/c40a28e54185
- 0011-hotspot-backport-patch-to-fix-misuses-of-strncpy-str.patch
ostream.cpp:112 got fixed in hotspot jdk8u
https://hg.openjdk.java.net/jdk8u/jdk8u/hotspot/rev/f3108e56b502
- 0014-hotspot-zero-fix-undefined-behaviour-gcc-v8-fix.patch
got backported to hotspot jdk8u
https://hg.openjdk.java.net/jdk8u/jdk8u/hotspot/rev/ca4663e58916
- 0018-hotspot-Fix-debug-build-after-8062808-Turn-on-the-Wr.patch
fixed in hotspot jdk8u
https://hg.openjdk.java.net/jdk8u/jdk8u/hotspot/rev/32bc598624bd
- 0020-Enable-HotSpot-builds-on-5.x-Linux-kernels.patch
fixed in hotspot jdk8u
https://hg.openjdk.java.net/jdk8u/jdk8u/hotspot/rev/5af8ec63c21c
- openjdk8-add-missing-linker-flags.patch
fixed in hotspot jdk8u
https://hg.openjdk.java.net/jdk8u/jdk8u/hotspot/rev/f175513c2c3a
- openjdk8-fix-shark-stdc++11.patch
fixed in hotspot jdk8u
- openjdk8-fix-libpng-neon-build.patch
fixed in jdk
https://hg.openjdk.java.net/jdk8u/jdk8u/jdk/rev/5d57817931e1
- aarch64-hotspot-fix-undefined-behaviour-gcc-v8-fix.patch
got backported to hotspot jdk8u
Following patches were newly added:
- 0011-autoconf-fix-CC-with-arguments-detection.patch
needed because of jdk8u commit "8038340: Cleanup and fix sysroot and devkit handling on Linux and Solaris"
- 0012-autoconf-NativeCompilation-remove-sysroot.patch
needed because of jdk8u commit "8038340: Cleanup and fix sysroot and devkit handling on Linux and Solaris"
Additionally add UPDATING.md which describes the openjdk8 update process
for this layer and update8checksums.sh, a script that updates the
openjdk8 source archive checksums in the corresponding .inc files.
Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Diffstat (limited to 'recipes-core/openjdk/patches-openjdk-8/1005-hotspot-fix-Wreturn-type-issues-introduced-by-806165.patch')
-rw-r--r-- | recipes-core/openjdk/patches-openjdk-8/1005-hotspot-fix-Wreturn-type-issues-introduced-by-806165.patch | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/recipes-core/openjdk/patches-openjdk-8/1005-hotspot-fix-Wreturn-type-issues-introduced-by-806165.patch b/recipes-core/openjdk/patches-openjdk-8/1005-hotspot-fix-Wreturn-type-issues-introduced-by-806165.patch new file mode 100644 index 0000000..81177d0 --- /dev/null +++ b/recipes-core/openjdk/patches-openjdk-8/1005-hotspot-fix-Wreturn-type-issues-introduced-by-806165.patch | |||
@@ -0,0 +1,59 @@ | |||
1 | From bce7b39095a839b8e77fe068e87150e855224705 Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <andre.draszik@jci.com> | ||
3 | Date: Mon, 13 Aug 2018 16:40:34 +0100 | ||
4 | Subject: [PATCH 1005/1012] hotspot: fix -Wreturn-type issues introduced by | ||
5 | 8061651 | ||
6 | MIME-Version: 1.0 | ||
7 | Content-Type: text/plain; charset=UTF-8 | ||
8 | Content-Transfer-Encoding: 8bit | ||
9 | |||
10 | |# HG changeset patch | ||
11 | |# User andrew | ||
12 | |# Date 1529475043 -3600 | ||
13 | |# Wed Jun 20 07:10:43 2018 +0100 | ||
14 | |# Node ID f6341f4635dacb56678264d29a88cd052b74036b | ||
15 | |# Parent 30520d5018b509b0ae68f5fcc9a5c540e3e5b2de | ||
16 | PR3601: Fix additional -Wreturn-type issues introduced by 8061651 | ||
17 | |||
18 | Upstream-Status: Backport | ||
19 | |||
20 | Signed-off-by: André Draszik <andre.draszik@jci.com> | ||
21 | Signed-off-by: Richard Leitner <richard.leitner@skidata.com> | ||
22 | --- | ||
23 | src/share/vm/prims/jvm.cpp | 6 +++--- | ||
24 | 1 file changed, 3 insertions(+), 3 deletions(-) | ||
25 | |||
26 | diff --git a/hotspot/src/share/vm/prims/jvm.cpp b/hotspot/src/share/vm/prims/jvm.cpp | ||
27 | index f43dc5ed7..8d7523c55 100644 | ||
28 | --- a/hotspot/src/share/vm/prims/jvm.cpp | ||
29 | +++ b/hotspot/src/share/vm/prims/jvm.cpp | ||
30 | @@ -908,7 +908,7 @@ JVM_END | ||
31 | JVM_ENTRY(jboolean, JVM_KnownToNotExist(JNIEnv *env, jobject loader, const char *classname)) | ||
32 | JVMWrapper("JVM_KnownToNotExist"); | ||
33 | #if INCLUDE_CDS | ||
34 | - return ClassLoaderExt::known_to_not_exist(env, loader, classname, CHECK_(false)); | ||
35 | + return ClassLoaderExt::known_to_not_exist(env, loader, classname, THREAD); | ||
36 | #else | ||
37 | return false; | ||
38 | #endif | ||
39 | @@ -918,7 +918,7 @@ JVM_END | ||
40 | JVM_ENTRY(jobjectArray, JVM_GetResourceLookupCacheURLs(JNIEnv *env, jobject loader)) | ||
41 | JVMWrapper("JVM_GetResourceLookupCacheURLs"); | ||
42 | #if INCLUDE_CDS | ||
43 | - return ClassLoaderExt::get_lookup_cache_urls(env, loader, CHECK_NULL); | ||
44 | + return ClassLoaderExt::get_lookup_cache_urls(env, loader, THREAD); | ||
45 | #else | ||
46 | return NULL; | ||
47 | #endif | ||
48 | @@ -928,7 +928,7 @@ JVM_END | ||
49 | JVM_ENTRY(jintArray, JVM_GetResourceLookupCache(JNIEnv *env, jobject loader, const char *resource_name)) | ||
50 | JVMWrapper("JVM_GetResourceLookupCache"); | ||
51 | #if INCLUDE_CDS | ||
52 | - return ClassLoaderExt::get_lookup_cache(env, loader, resource_name, CHECK_NULL); | ||
53 | + return ClassLoaderExt::get_lookup_cache(env, loader, resource_name, THREAD); | ||
54 | #else | ||
55 | return NULL; | ||
56 | #endif | ||
57 | -- | ||
58 | 2.24.1 | ||
59 | |||