< prev index next >

src/jdk.accessibility/windows/native/libwindowsaccessbridge/WinAccessBridge.cpp

Print this page

        

*** 450,460 **** * message to self to retrieve it later * */ BOOL WinAccessBridge::receiveAQueuedPackage() { ! AccessBridgeQueueElement *element; PrintDebugString("in WinAccessBridge::receiveAQueuedPackage()"); // ensure against re-entrancy problems... if (messageQueue->getRemoveLockSetting() == FALSE) { --- 450,460 ---- * message to self to retrieve it later * */ BOOL WinAccessBridge::receiveAQueuedPackage() { ! AccessBridgeQueueElement *element = NULL; PrintDebugString("in WinAccessBridge::receiveAQueuedPackage()"); // ensure against re-entrancy problems... if (messageQueue->getRemoveLockSetting() == FALSE) {
*** 462,480 **** PrintDebugString(" dequeueing message"); QueueReturns result = messageQueue->remove(&element); - PrintDebugString(" 'element->buffer' contains:"); - DEBUG_CODE(PackageType *type = (PackageType *) element->buffer); - DEBUG_CODE(FocusGainedPackageTag *pkg = (FocusGainedPackageTag *) (((char *) element->buffer) + sizeof(PackageType))); - DEBUG_CODE(PrintDebugString(" PackageType = %X", *type)); - #ifdef ACCESSBRIDGE_ARCH_LEGACY // JOBJECT64 is jobject (32 bit pointer) - DEBUG_CODE(PrintDebugString(" EventPackage: vmID = %X, event = %p, source = %p", pkg->vmID, pkg->Event, pkg->AccessibleContextSource)); - #else // JOBJECT64 is jlong (64 bit) - DEBUG_CODE(PrintDebugString(" EventPackage: vmID = %X, event = %016I64X, source = %016I64X", pkg->vmID, pkg->Event, pkg->AccessibleContextSource)); - #endif switch (result) { case cQueueBroken: PrintDebugString(" ERROR!!! Queue seems to be broken!"); messageQueue->setRemoveLock(FALSE); --- 462,471 ----
< prev index next >