diff options
author | Henning Heinold <heinold@inf.fu-berlin.de> | 2011-11-12 20:58:34 +0100 |
---|---|---|
committer | Henning Heinold <heinold@inf.fu-berlin.de> | 2011-11-26 23:41:44 +0100 |
commit | 57e069cde6617f00ca8834a82c6f360af43d5067 (patch) | |
tree | 48cbe15e96d217c45acfa64b0c13aad8c6424980 /recipes-core/openjdk/openjdk-6/icedtea-jdk-RTLD_NOLOAD.patch | |
download | meta-java-57e069cde6617f00ca8834a82c6f360af43d5067.tar.gz |
meta-java: initial commit
* taken over mostly stuff from oe classic
* cleaned up recipes
* added license checksums
* bump icedtea6-native to 1.8.11
* use jamvm from git as native
Diffstat (limited to 'recipes-core/openjdk/openjdk-6/icedtea-jdk-RTLD_NOLOAD.patch')
-rw-r--r-- | recipes-core/openjdk/openjdk-6/icedtea-jdk-RTLD_NOLOAD.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes-core/openjdk/openjdk-6/icedtea-jdk-RTLD_NOLOAD.patch b/recipes-core/openjdk/openjdk-6/icedtea-jdk-RTLD_NOLOAD.patch new file mode 100644 index 0000000..9c70ba1 --- /dev/null +++ b/recipes-core/openjdk/openjdk-6/icedtea-jdk-RTLD_NOLOAD.patch | |||
@@ -0,0 +1,13 @@ | |||
1 | Index: openjdk/jdk/src/solaris/native/sun/security/pkcs11/j2secmod_md.c | ||
2 | =================================================================== | ||
3 | --- openjdk/jdk/src/solaris/native/sun/security/pkcs11/j2secmod_md.c 2010-06-13 15:18:05.655136951 +0200 | ||
4 | +++ openjdk/jdk/src/solaris/native/sun/security/pkcs11/j2secmod_md.c 2010-06-13 15:20:29.601377967 +0200 | ||
5 | @@ -51,7 +51,7 @@ | ||
6 | { | ||
7 | const char *libName = (*env)->GetStringUTFChars(env, jLibName, NULL); | ||
8 | // look up existing handle only, do not load | ||
9 | - void *hModule = dlopen(libName, RTLD_NOLOAD); | ||
10 | + void *hModule = dlopen(libName, RTLD_LAZY); | ||
11 | dprintf2("-handle for %s: %u\n", libName, hModule); | ||
12 | (*env)->ReleaseStringUTFChars(env, jLibName, libName); | ||
13 | return (jlong)hModule; | ||