]> git.pld-linux.org Git - packages/openjdk9.git/blobdiff - protos.patch
protos.patch: Missing includes / prototypes
[packages/openjdk9.git] / protos.patch
diff --git a/protos.patch b/protos.patch
new file mode 100644 (file)
index 0000000..251a48a
--- /dev/null
@@ -0,0 +1,24 @@
+--- jdk8u-jdk8u92-b31/jdk/src/share/native/sun/misc/URLClassPath.c.orig        2016-07-29 15:33:17.499988085 +0200
++++ jdk8u-jdk8u92-b31/jdk/src/share/native/sun/misc/URLClassPath.c     2016-07-29 15:35:59.085075633 +0200
+@@ -24,6 +24,7 @@
+  */
+ #include <string.h>
++#include <stdlib.h>
+ #include "jni.h"
+ #include "jni_util.h"
+@@ -36,6 +37,12 @@
+ extern char*
+ getUTF(JNIEnv *env, jstring str, char* localBuf, int bufSize);
++extern JNIEXPORT jboolean
++VerifyClassname(char *name, jboolean allowArrayClass);
++
++extern JNIEXPORT jboolean
++VerifyFixClassname(char *name);
++
+ JNIEXPORT jboolean JNICALL
+ Java_sun_misc_URLClassPath_knownToNotExist0(JNIEnv *env, jclass cls, jobject loader,
+
This page took 0.047557 seconds and 4 git commands to generate.