Name: mc57594 Date: 06/17/97
java.lang.Throwable provides a method, getLocalizedMessage,
for localizing the text of a message.
All of the print methods use toString, including printStackTrace.
Throwable's toString() method uses getMessage(). It should
use getLocalizedMessage.
======================================================================
- duplicates
-
JDK-4069257 java.lang.Throwable.toString() should call getLocalizedMessage()
-
- Closed
-
- relates to
-
JDK-8273955 Throwable::getLocalizedMessage should be deprecated
-
- Open
-