-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
P3
-
Affects Version/s: 8u481, 11.0.30-oracle, 17.0.18-oracle, 21.0.10-oracle, 25.0.2, 26, 27
-
Component/s: client-libs
-
generic
-
os_x
CDesktopPeer.m creates dispatch semaphores via dispatch_semaphore_create in both _lsOpenURI and _lsOpenFile but never releases them. Since the JDK is compiled without ARC, each call to Desktop.open(), browse(), mail(), edit(), or print() leaks around 80 bytes.
The issue is similar toJDK-8376233
The fix adds dispatch_release(semaphore) after dispatch_semaphore_wait in both functions.
The issue is similar to
The fix adds dispatch_release(semaphore) after dispatch_semaphore_wait in both functions.
- relates to
-
JDK-8376233 Clean up code in Desktop native peer
-
- Resolved
-