-
Bug
-
Resolution: Duplicate
-
P4
-
6
-
generic
-
generic
Some methods of JTextComponens claim to be "thread safe",
see for example JTextComponent.setText() its javadoc says:
<This method is thread safe, although most Swing methods are not>
But looking to its implementation it's quite obvious that it isn't thread safe
if I setText() on one thread and getText() on another thread
it will likely cause a problem
Current situation: text package claim some of their methods as thread safe
Expected: No misleading note about thread safety
see for example JTextComponent.setText() its javadoc says:
<This method is thread safe, although most Swing methods are not>
But looking to its implementation it's quite obvious that it isn't thread safe
if I setText() on one thread and getText() on another thread
it will likely cause a problem
Current situation: text package claim some of their methods as thread safe
Expected: No misleading note about thread safety
- duplicates
-
JDK-4765383 JTextArea.append(String) not thread safe
- Closed