Deprecation of Surrogate methods is a reasonable choice. Of course, users are not supposed to use Surrogate, and they are regularly pestered by javac not to.
I rejected deprecation in favor of "denigration" because there is nothing actually wrong with the existing methods except that they are not standardized. In particular, we would never dream of removing them. Surrogate has the very big advantage over the new methods in Character of being compatible with prior JDK releases. Deprecation is generally reserved for APIs that are actively harmful. Martin On Tue, Mar 23, 2010 at 11:31, Ulf Zibis <ulf.zi...@gmx.de> wrote: > Ok, sorry and thanks. > > Wouldn't "deprecated" be more noticeable? > > What about using this message from compiler? : > warning: Surrogate is Sun proprietary API and may be removed in a future > release. > @deprecated Public replacement is {...@link > Character#isSupplementaryCodePoint}