?????????????写???些???????????????????谢???????????????????????????????????????????械????????泻?小?????????????????????????????????????斜????????????????????锟�?
????while ((message = map.get(key)) == null && System.currentTimeMillis() < timeoutTime) {
????wait(1000);
????}
????wait() ??????????????????????????????????????????? notifyAll() ?????????? 1000 ??? 1 ????? 5 ????????
??????????????????????????????????????????????????????????????????????1??????????????胁???????????????????????????????????????????????????
???????????????????????????????? wait() ??????????”???”??????????????????????????? 1 ??????????????????????????????巍??????????????????????锌?????????????????????????????????????????????????????????????????锌??????bug??
????????????“???????????????”????????????????位????????????姹�?????????????????????????????????????????????????????????? bug?????????? bug??????????????????????屑?????????????bug???????
????while ((message = map.get(key)) == null && System.currentTimeMillis() < timeoutTime) {
????wait(timeoutTime - System.currentTimeMillis());
????}
?????????????小??????????????????????????????????????????????????????????????wait()??????????????IllegalArgumentException???????????眉??????魏?????????谢??????????????????????????????????????????????bug??
??????2010??3??15????锟�?Ajit Mandalay??????????????????????????0??????味??“????”??????锌???????????????
??????写?????写?????????????????bug???????????????????????????????????????????械?????写?魏未????????????写????????????????????????写?????????????????????魏蔚??????????????????????????????????????????????????谐????锌?????????????未????????????????????????????