Submitted On 17-APR-1998
cwanek
I have run across this using SimpleDateFormat.
Why is this designed to be thread unsafe? And,
of course, why is this not noted in enormous type
somewhere in the DateFormat or SimpleDateFormat doc?
Submitted On 03-FEB-1999
rhuffman
This is incredibly lame. If this truly works as
designed, then the design is broken. Fix it,
or fix the documentation.
Submitted On 17-FEB-1999
edrandall
At the very least I would expect this to be
clearly documented, especially when you consider
that moltiple threads are fundamental to Java
programs. Perhaps an @threadsafe Javadoc tag?
Submitted On 18-MAR-1999
rlperry
If this is the design then it really should
be documented. I don't like the design but see
some good points to it. Bug Parade is a huge help
with problems like this. But, I that is not an
excuse for failing to document properly in the
first place.
Submitted On 21-AUG-1999
putaro
Java is almost inherently threaded. The only way to discover that classes are
not thread-safe is through code-inspection. My team does not have the time to
read through each component that we use to ensure that it is threadsafe.
The design decision to make this un-thread-safe is the bug.
Submitted On 15-SEP-1999
edrandall
This bug, and Sun's attitude to it, continue to be
a source of irritation.
Does the thought not occur to shift some resources
from the bleeding edge and get the basics solid?
Devoting resources to WinTel bugs won't sell any more SPARC boxes.
Submitted On 16-SEP-1999
edrandall
Here is Sun's position on this bug when I asked them to re-open it.
Considering:
1) They give no workaround here nor in the javadoc
2) They do not document the bug in the javadoc
3) The bug was first logged in 1997
I think there has been ample opportunity to fix it properly,
on the changeover from 1.0 to 1.1, and again to 1.2.
Still, everyone's busy on Swing now aren't they?
Thank you for using the "Report A Bug" feature. The closure of
the bug Id that you are refering was due to the inherent nature
by which it was designed, and the risk of working around this
problem versus changing the design is the considerstion factor
for taking this up. This is surely accepted as a flaws, but it is in
no position to be fixed. It is generally agreeable that in a working
model of a product, it is better to have a known bug with a workaround
than to try eliminating it resulting in de-stabilization. As a developer,
I hope that you understand the implications and see the point
based on which we are declining to change the design. On the
same tone, if there happened to be a circumstance where the
design related to this has to be changed inevitably, then a change
to this model will be surely considered. Thanks for reporting this
problem.
Submitted On 22-NOV-1999
edrandall
See also 4228335, now re-opened!
PLEASE NOTE: JDK6 is formerly known as Project Mustang
|