diff options
| author | Jens Rehsack <rehsack@gmail.com> | 2015-10-16 19:29:38 +0200 | 
|---|---|---|
| committer | Otavio Salvador <otavio@ossystems.com.br> | 2015-10-19 10:12:53 -0200 | 
| commit | 2dcff5266a6c1ed39e49b24b8d2984a165ad9c35 (patch) | |
| tree | 86757e1611e29bc17a3decf678f2c5e25c2ed0a6 /recipes-core/openjdk/openjdk-6-6b24/icedtea-jdk-remove-unused-backtrace.patch | |
| parent | a73939323984fca1e919d3408d3301ccdbceac9c (diff) | |
| download | meta-java-2dcff5266a6c1ed39e49b24b8d2984a165ad9c35.tar.gz | |
openjdk-6: remove
Since OpenJDK-6 is not maintained anymore, it's more reasonable to move to OpenJDK-8 instead
of sticking at unmaintained, upstream not supported VM version.
Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-core/openjdk/openjdk-6-6b24/icedtea-jdk-remove-unused-backtrace.patch')
| -rw-r--r-- | recipes-core/openjdk/openjdk-6-6b24/icedtea-jdk-remove-unused-backtrace.patch | 41 | 
1 files changed, 0 insertions, 41 deletions
| diff --git a/recipes-core/openjdk/openjdk-6-6b24/icedtea-jdk-remove-unused-backtrace.patch b/recipes-core/openjdk/openjdk-6-6b24/icedtea-jdk-remove-unused-backtrace.patch deleted file mode 100644 index 5423fde..0000000 --- a/recipes-core/openjdk/openjdk-6-6b24/icedtea-jdk-remove-unused-backtrace.patch +++ /dev/null | |||
| @@ -1,41 +0,0 @@ | |||
| 1 | Index: openjdk/jdk/src/solaris/native/sun/xawt/XToolkit.c | ||
| 2 | =================================================================== | ||
| 3 | --- openjdk/jdk/src/solaris/native/sun/xawt/XToolkit.c 2010-08-05 16:45:56.607257503 +0200 | ||
| 4 | +++ openjdk/jdk/src/solaris/native/sun/xawt/XToolkit.c 2010-08-05 16:47:19.727254686 +0200 | ||
| 5 | @@ -27,9 +27,6 @@ | ||
| 6 | #include <X11/Xutil.h> | ||
| 7 | #include <X11/Xos.h> | ||
| 8 | #include <X11/Xatom.h> | ||
| 9 | -#ifdef __linux__ | ||
| 10 | -#include <execinfo.h> | ||
| 11 | -#endif | ||
| 12 | |||
| 13 | #include <jvm.h> | ||
| 14 | #include <jni.h> | ||
| 15 | @@ -689,26 +686,6 @@ | ||
| 16 | return ret; | ||
| 17 | } | ||
| 18 | |||
| 19 | -#ifdef __linux__ | ||
| 20 | -void print_stack(void) | ||
| 21 | -{ | ||
| 22 | - void *array[10]; | ||
| 23 | - size_t size; | ||
| 24 | - char **strings; | ||
| 25 | - size_t i; | ||
| 26 | - | ||
| 27 | - size = backtrace (array, 10); | ||
| 28 | - strings = backtrace_symbols (array, size); | ||
| 29 | - | ||
| 30 | - fprintf (stderr, "Obtained %zd stack frames.\n", size); | ||
| 31 | - | ||
| 32 | - for (i = 0; i < size; i++) | ||
| 33 | - fprintf (stderr, "%s\n", strings[i]); | ||
| 34 | - | ||
| 35 | - free (strings); | ||
| 36 | -} | ||
| 37 | -#endif | ||
| 38 | - | ||
| 39 | Window get_xawt_root_shell(JNIEnv *env) { | ||
| 40 | static jclass classXRootWindow = NULL; | ||
| 41 | static jmethodID methodGetXRootWindow = NULL; | ||
