Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lafenghu
java-1_7_0-openjdk
openjdk-7-src-b147-stringcompare.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File openjdk-7-src-b147-stringcompare.patch of Package java-1_7_0-openjdk
Index: java-1_7_0-openjdk/openjdk/jdk/src/solaris/native/sun/awt/awt_Font.c =================================================================== --- java-1_7_0-openjdk.orig/openjdk/jdk/src/solaris/native/sun/awt/awt_Font.c +++ java-1_7_0-openjdk/openjdk/jdk/src/solaris/native/sun/awt/awt_Font.c @@ -574,7 +574,7 @@ awtJNI_GetFontData(JNIEnv * env, jobject jio_snprintf(fdata->flist[i].xlfd, strlen(nativename) + 10, nativename, size * 10); - if (nativename != NULL && nativename != "") + if (nativename != NULL && strcmp(nativename, "") != 0) JNU_ReleaseStringPlatformChars(env, fontDescriptorName, (const char *) nativename); /*
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor