hg: jdk7/tl/jdk: 6860431: Character.isSurrogate(char ch)

Martin Buchholz martinrb at google.com
Thu Sep 3 22:15:33 UTC 2009

On Thu, Sep 3, 2009 at 12:51, Ulf Zibis<Ulf.Zibis at gmx.de> wrote:
> Am 03.09.2009 20:10, Martin Buchholz schrieb:

> I like to finish the Character class and file the changes via patch on
> https://bugs.openjdk.java.net. So I would be happy If you could answer my
> question, if replacing all occurrences of <code>...</code> by {@code ...}
> using  \u005CuXXXX is secure.

Here is my recommendation:

I think it is worthwhile to convert <code> => {@code
I have been doing this in files that I "own",
but have not tried to make a more pervasive change.
I support such a more pervasive change,
but it should be done with a script that gets a fair amount
of scrutiny first, and will have to be restricted to those
parts of the jdk that are truly maintained by the openjdk team,
not code for which the true master lives elsewhere.
I think we could get agreement to change at least core libraries.

As part of this project, you would need to be able to run
full builds including the javadoc, and verify that the
output html is not damaged by the process.
You could ignore a particular <code>... snippet if the
text in between contains troublesome characters such as
\ & < >  @


More information about the core-libs-dev mailing list