CID-1116231: Use implicit lock, synchronize _key in Link

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
Rohit Yadav 2014-09-18 11:21:09 +02:00
parent 032bce5b54
commit ec134cf010

View File

@ -92,7 +92,9 @@ public class Link {
}
public void setKey(SelectionKey key) {
_key = key;
synchronized (this) {
_key = key;
}
}
public void setSSLEngine(SSLEngine sslEngine) {