Alexandre Julliard (@julliard) commented about dlls/wineandroid.drv/device.c:
+ return cached ? TRUE : FALSE; +} + +static inline const char *_wine_dbgstr_rect( const RECT *rect ) +{ + enum { N = 4 }; + static __thread char buf[N][64]; + static __thread int idx; + char *ret = buf[idx++ % N]; + + if (!rect) return "(null)"; + snprintf( ret, 64, "(%d,%d)-(%d,%d)", (int)rect->left, (int)rect->top, (int)rect->right, (int)rect->bottom ); + return ret; +} + +#undef TRACE That's quite ugly. I don't see why you'd need that sort of thing, particularly if you are using separate processes. The Java side should not need to run the same code as the Wine side.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/10710#note_137769