On 17.08.2014 23:08, Uwe Schindler wrote:

PS: We use the Forbidden-APIs checker 
(https://code.google.com/p/forbidden-apis/) to detect such bugs in Apache 
Lucene/Solr, Elasticsearch, Apache TIKA, and many other projects I don't know 
of yet. Maybe when building the rt.jar, you should do the same :-) Calling 
String#toLowerCase() without an explicit Locale is a bug, if you rely on 
locale-insensitive behavior.

I think that's a fine idea to discuss on jdk9-dev, if you want to start a separate thread there. There is a current JEP draft focused on cleaning up the sources wrt to lint/doclint cleanness:
        http://openjdk.java.net/jeps/8042878
and the background for that JEP is explained in this thread: http://mail.openjdk.java.net/pipermail/jdk9-dev/2013-December/000141.html

There is other ongoing cleanup-focused work targeting low hanging fruit in JDK sources led by individuals in the OpenJDK community [0]. There could always be more ;)

cheers,
dalibor topic


[0] http://hg.openjdk.java.net/jdk9/jdk9/jdk/log?rev=otavio


--
<http://www.oracle.com> Dalibor Topic | Principal Product Manager
Phone: +494089091214 <tel:+494089091214> | Mobile: +491737185961
<tel:+491737185961>

ORACLE Deutschland B.V. & Co. KG | Kühnehöfe 5 | 22761 Hamburg

ORACLE Deutschland B.V. & Co. KG
Hauptverwaltung: Riesstr. 25, D-80992 München
Registergericht: Amtsgericht München, HRA 95603
Geschäftsführer: Jürgen Kunz

Komplementärin: ORACLE Deutschland Verwaltung B.V.
Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
Geschäftsführer: Alexander van der Ven, Astrid Kepper, Val Maher

<http://www.oracle.com/commitment> Oracle is committed to developing
practices and products that help protect the environment

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to