[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: java.util.Properties -- make it thread-safe?
From: |
Sascha Brawer |
Subject: |
Re: java.util.Properties -- make it thread-safe? |
Date: |
Fri, 15 Feb 2002 16:48:51 +0100 |
Mark Wielaard <address@hidden> wrote on Fri, 15 Feb 2002 14:31:04 +0100:
>Do newer versions of javadoc really no longer mention wether a method is
>synchronized? That would be not good.
See http://java.sun.com/j2se/1.4/docs/tooldocs/javadoc/whatsnew-1.2.html:
> [What's New in Javadoc 1.2]
>
> Remove "synchronized" and "native" from signatures. Javadoc generates an
> API specification. These two keywords do not belong in the signatures of
> a specification, because they are implementation-specific. The keyword
> "native" does not need to be documented. The keyword "synchronized"
> indicates thread-safe behavior that should instead be described in the
> method descriptions. A thread-safe method itself might not use the
> "synchronized" keyword but might call private methods that are.
FYI, I've now filed a bug report with Sun, asking for the documentation
of java.util.Properties to clarify thread safety.
-- Sascha
Re: java.util.Properties -- make it thread-safe?,
Sascha Brawer <=
Re: java.util.Properties -- make it thread-safe?, Bryce McKinlay, 2002/02/15