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

Ulf Zibis Ulf.Zibis at gmx.de
Fri Sep 4 01:37:49 UTC 2009

Am 04.09.2009 00:15, Martin Buchholz schrieb:
> 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 tried {@code '\u005CuD800'} in Character.java and thanks NetBeans 
I easily could create a partly-JDK javadoc (on about 100 classes) in 
surprising short time. The resulting html works fine / is not damaged 
(in Firefox). Thanks for your motivation.

BTW, in String class there are some warnings:  @spec is an unknown tag. 
In Character class you have inserted a typo: '\u007f'" at method 
valueOf(char) (the additional " )

> 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

Yes, I should start working on Linux. I guess it would take me 3-4 week 
to setup a full running system, which fully satisfies my needs. For this 
reason I'm hesitating, because I want to progress with my charset ideas 
as fast as possible.

On the other hand, it would be worthwhile there are some people who keep 
developing on Windows to assure, that java stays working on Windows, 
even under unusual JDK development. ;-)   (BTW, I've found and filed 
several Windows related bugs regarding NetBeans)


P.S.: You have the habit to use rare English vocabulary, especially in 
this post, so I profit in increasing my knowledge in English.

More information about the core-libs-dev mailing list