LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File openjdk-7-src-b147-no-return-in-nonvoid.patch of Package java-1_7_0-openjdk (Project openSUSE:Factory:ARM)

Index: java-1_7_0-openjdk/openjdk/jdk/src/solaris/native/sun/java2d/x11/X11SurfaceData.c
===================================================================
--- java-1_7_0-openjdk.orig/openjdk/jdk/src/solaris/native/sun/java2d/x11/X11SurfaceData.c
+++ java-1_7_0-openjdk/openjdk/jdk/src/solaris/native/sun/java2d/x11/X11SurfaceData.c
@@ -142,6 +142,7 @@ jboolean XShared_initIDs(JNIEnv *env, jb
 #endif /* MITSHM */
 
 #endif /* !HEADLESS */
+return JNI_FALSE;
 }
 
 
@@ -491,6 +492,7 @@ jboolean XShared_initSurface(JNIEnv *env
 
     return JNI_TRUE;
 #endif /* !HEADLESS */
+return JNI_FALSE;
 }