I have a quick question on the library side of JEP 401. In JDK, there are cases where an implementor or client provides an object to be used as a monitor. I can think of these, but there are likely more:
* java.util.Collections#synchronizedCollection(java.util.Collection<T>) * java.io.Reader#lock and java.io.Writer#lock * java.nio.channels.SelectableChannel#blockingLock If a value object is provided, any synchronization attempt will fail. That said, I wonder if there are any plans to be more helpful here so that any failures are warned about or happen sooner. Thanks, -Pavel
