< prev index next >

src/java.desktop/windows/native/libawt/java2d/windows/GDIWindowSurfaceData.cpp

Print this page
rev 50304 : 8204085: avoid printing uninitialized pointer in java.desktop/windows/native/libawt/java2d/windows/GDIWindowSurfaceData.cpp

*** 488,498 **** } JNIEXPORT AwtComponent * JNICALL GDIWindowSurfaceData_GetComp(JNIEnv *env, GDIWinSDOps *wsdo) { ! PDATA pData; jobject localObj = env->NewLocalRef(wsdo->peer); if (localObj == NULL || (pData = JNI_GET_PDATA(localObj)) == NULL) { J2dTraceLn1(J2D_TRACE_WARNING, "GDIWindowSurfaceData_GetComp: Null pData? pData=0x%x", --- 488,498 ---- } JNIEXPORT AwtComponent * JNICALL GDIWindowSurfaceData_GetComp(JNIEnv *env, GDIWinSDOps *wsdo) { ! PDATA pData = NULL; jobject localObj = env->NewLocalRef(wsdo->peer); if (localObj == NULL || (pData = JNI_GET_PDATA(localObj)) == NULL) { J2dTraceLn1(J2D_TRACE_WARNING, "GDIWindowSurfaceData_GetComp: Null pData? pData=0x%x",
< prev index next >