RFR: 8284893: Fix typos in java.base

Pavel Rappo prappo at openjdk.java.net
Fri Apr 15 11:50:39 UTC 2022


On Fri, 15 Apr 2022 11:25:09 GMT, Pavel Rappo <prappo at openjdk.org> wrote:

>> I ran `codespell` on the `src/java.base` directory, and accepted those changes where it indeed discovered real typos.
>> 
>> (Due to false positives this can unfortunately not be run automatically) 
>> 
>> The majority of fixes are in comments. A handful is in strings, one in a local variable name, and a couple in parameter declarations.
>> 
>> Annoyingly, there are several instances of "childs" (instead of "children") in the source code, but they were not local and I dared not change them. Someone braver than me might take a stab at it, perhaps..
>
> src/java.base/share/legal/icu.md line 310:
> 
>> 308:  #  list of conditions and the following disclaimer. Redistributions in binary
>> 309:  #  form must reproduce the above copyright notice, this list of conditions and
>> 310:  #  the following disclaimer in the documentation and/or the materials
> 
> I think it's a mistype of "other", not "the"; look at the similar text below.

Should be addressed on the ICU side.

-------------

PR: https://git.openjdk.java.net/jdk/pull/8250



More information about the security-dev mailing list