src/share/classes/java/util/PropertyResourceBundle.java

Print this page
rev 8840 : 8028368: There is no description whether or not java.util.ResourceBundle is thread-safe
Reviewed-by:

*** 98,107 **** --- 98,112 ---- * s7=3. M&auml;rz 1996 * </pre> * </blockquote> * * <p> + * The implementation of a {@code PropertyResourceBundle} subclass must be + * thread-safe if it's simultaneously used by multiple threads. The default + * implementations of the non-abstract methods in this class are thread-safe. + * + * <p> * <strong>Note:</strong> PropertyResourceBundle can be constructed either * from an InputStream or a Reader, which represents a property file. * Constructing a PropertyResourceBundle instance from an InputStream requires * that the input stream be encoded in ISO-8859-1. In that case, characters * that cannot be represented in ISO-8859-1 encoding must be represented by Unicode Escapes