RFR: 8065138 - Encodings.isRecognizedEnconding sometimes fails to recognize 'UTF8'

Daniel Fuchs daniel.fuchs at oracle.com
Wed Nov 19 23:16:56 UTC 2014


On 11/20/14 12:11 AM, Martin Buchholz wrote:
> On Wed, Nov 19, 2014 at 3:17 AM, Daniel Fuchs <daniel.fuchs at oracle.com> wrote:
>> The Encodings.properties file ends up truncated in resources.jar - it
>> contains only one line (the line before the special character was
>> encountered).
> If there's an error in the build resulting in a truncated file, then
> the build should fail.  Isn't the return code being checked?
>
> So, first fix this bug by breaking the build!
I'm not really interested on breaking the build on my dev machine ;-)
In previous versions of the JDK the Makefile was using 'nawk' rather 
than 'sed'.
There was a comment implying that nawk was used to avoid using sed...

cheers,

-- daniel
>
>> The fix is to replace the special character 'å' by its unicode
>> representation \u00e5.




More information about the core-libs-dev mailing list