review request (URGENT): 7051206: JSR 292 method name SwitchPoint.isValid is misleading to unwary users; should be hasBeenInvalidated

Emmanuel Castro emmanuel.castro at laposte.net
Fri Jun 3 07:59:54 PDT 2011


Maybe hasBeenInvalidated() can be made @Deprecated, just like
Thread.suspend() and Thread.resume() which are tagged like that, not because
they won't be supported in the future, but because most of the time, you
should use LockSupport.park(), unpark(), or some other locking mechanism
(which may use suspend() and so).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/mlvm-dev/attachments/20110603/2a38dbcd/attachment.html 


More information about the mlvm-dev mailing list