This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 256671 - Mutex.EVENT.readAccess handles Runnables differently than Action<T>
Summary: Mutex.EVENT.readAccess handles Runnables differently than Action<T>
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 8.0.2
Hardware: All All
: P3 normal (vote)
Assignee: Antonin Nebuzelsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-18 17:37 UTC by SirIntellegence
Modified: 2015-11-25 13:00 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SirIntellegence 2015-11-18 17:37:31 UTC
When one uses it with a runnable, it calls invokeLater. When used with an Action<T>, it calls invokeAndWait. I expected readAccess to invoke invokeAndWait always.