You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Robin Garner (JIRA)" <ji...@apache.org> on 2006/12/24 07:12:21 UTC

[jira] Created: (HARMONY-2863) Build failures due to non-UTF-8 characters in source files

Build failures due to non-UTF-8 characters in source files
----------------------------------------------------------

                 Key: HARMONY-2863
                 URL: http://issues.apache.org/jira/browse/HARMONY-2863
             Project: Harmony
          Issue Type: Bug
          Components: build - test - ci
         Environment: Linux Ubuntu 6.06/IA32
            Reporter: Robin Garner


    [javac] Cannot read the source from harmony/working_classlib/modules/regex/src/main/java/java/util/regex/CompositeRangeSet.java; either the file uses a different encoding than UTF-8 or it is corrupted
    [javac] Cannot read the source from harmony/working_classlib/modules/regex/src/main/java/java/util/regex/HighSurrogateCharSet.java; either the file uses a different encoding than UTF-8 or it is corrupted
    [javac] Cannot read the source from harmony/working_classlib/modules/regex/src/main/java/java/util/regex/LowHighSurrogateRangeSet.java; either the file uses a different encoding than UTF-8 or it is corrupted
    [javac] Cannot read the source from harmony/working_classlib/modules/regex/src/main/java/java/util/regex/LowSurrogateCharSet.java; either the file uses a different encoding than UTF-8 or it is corrupted
    [javac] Cannot read the source from harmony/working_classlib/modules/regex/src/main/java/java/util/regex/SupplCharSet.java; either the file uses a different encoding than UTF-8 or it is corrupted
    [javac] Cannot read the source from harmony/working_classlib/modules/regex/src/main/java/java/util/regex/SupplRangeSet.java; either the file uses a different encoding than UTF-8 or it is corrupted
    [javac] Cannot read the source from harmony/working_classlib/modules/regex/src/main/java/java/util/regex/UCISupplCharSet.java; either the file uses a different encoding than UTF-8 or it is corrupted
    [javac] Cannot read the source from harmony/working_classlib/modules/regex/src/main/java/java/util/regex/UCISupplRangeSet.java; either the file uses a different encoding than UTF-8 or it is corrupted

Is there any chance of some commit-time filtering to prevent this happening ?

cheers


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Re: Fwd: [jira] Created: (HARMONY-2863) Build failures due to non-UTF-8 characters in source files

Posted by Tim Ellison <t....@gmail.com>.
Nathan Beyer wrote:
> Any thoughts on how to avoid this in the future? Personally, I
> explicitly set my encoding to UTF-8 for all text files in Eclipse.

I guess the only way to prevent it is to have a pre-commit hook that
checks the incoming source (yuk!); but we can also have a checker that
catches it after the event so we can go in and fix it.  Seems the
checker is called 'Robin' at the moment ;-)

If it is a recurring problem we can set up an automated check, but I
only recall seeing it a couple of times over the last year, so probably
not worth it yet.

Regards,
Tim



Fwd: [jira] Created: (HARMONY-2863) Build failures due to non-UTF-8 characters in source files

Posted by Nathan Beyer <nd...@apache.org>.
Any thoughts on how to avoid this in the future? Personally, I
explicitly set my encoding to UTF-8 for all text files in Eclipse.

---------- Forwarded message ----------
From: Robin Garner (JIRA) <ji...@apache.org>
Date: Dec 24, 2006 12:12 AM
Subject: [jira] Created: (HARMONY-2863) Build failures due to
non-UTF-8 characters in source files
To: commits@harmony.apache.org


Build failures due to non-UTF-8 characters in source files
----------------------------------------------------------

                 Key: HARMONY-2863
                 URL: http://issues.apache.org/jira/browse/HARMONY-2863
             Project: Harmony
          Issue Type: Bug
          Components: build - test - ci
         Environment: Linux Ubuntu 6.06/IA32
            Reporter: Robin Garner


    [javac] Cannot read the source from
harmony/working_classlib/modules/regex/src/main/java/java/util/regex/CompositeRangeSet.java;
either the file uses a different encoding than UTF-8 or it is
corrupted
    [javac] Cannot read the source from
harmony/working_classlib/modules/regex/src/main/java/java/util/regex/HighSurrogateCharSet.java;
either the file uses a different encoding than UTF-8 or it is
corrupted
    [javac] Cannot read the source from
harmony/working_classlib/modules/regex/src/main/java/java/util/regex/LowHighSurrogateRangeSet.java;
either the file uses a different encoding than UTF-8 or it is
corrupted
    [javac] Cannot read the source from
harmony/working_classlib/modules/regex/src/main/java/java/util/regex/LowSurrogateCharSet.java;
either the file uses a different encoding than UTF-8 or it is
corrupted
    [javac] Cannot read the source from
harmony/working_classlib/modules/regex/src/main/java/java/util/regex/SupplCharSet.java;
either the file uses a different encoding than UTF-8 or it is
corrupted
    [javac] Cannot read the source from
harmony/working_classlib/modules/regex/src/main/java/java/util/regex/SupplRangeSet.java;
either the file uses a different encoding than UTF-8 or it is
corrupted
    [javac] Cannot read the source from
harmony/working_classlib/modules/regex/src/main/java/java/util/regex/UCISupplCharSet.java;
either the file uses a different encoding than UTF-8 or it is
corrupted
    [javac] Cannot read the source from
harmony/working_classlib/modules/regex/src/main/java/java/util/regex/UCISupplRangeSet.java;
either the file uses a different encoding than UTF-8 or it is
corrupted

Is there any chance of some commit-time filtering to prevent this happening ?

cheers


--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the
administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] Resolved: (HARMONY-2863) Build failures due to non-UTF-8 characters in source files

Posted by "Nathan Beyer (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2863?page=all ]

Nathan Beyer resolved HARMONY-2863.
-----------------------------------

    Resolution: Fixed

I've applied a fix for these files. Please verify the issue. Thanks.

> Build failures due to non-UTF-8 characters in source files
> ----------------------------------------------------------
>
>                 Key: HARMONY-2863
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2863
>             Project: Harmony
>          Issue Type: Bug
>          Components: build - test - ci
>         Environment: Linux Ubuntu 6.06/IA32
>            Reporter: Robin Garner
>         Assigned To: Nathan Beyer
>
>     [javac] Cannot read the source from harmony/working_classlib/modules/regex/src/main/java/java/util/regex/CompositeRangeSet.java; either the file uses a different encoding than UTF-8 or it is corrupted
>     [javac] Cannot read the source from harmony/working_classlib/modules/regex/src/main/java/java/util/regex/HighSurrogateCharSet.java; either the file uses a different encoding than UTF-8 or it is corrupted
>     [javac] Cannot read the source from harmony/working_classlib/modules/regex/src/main/java/java/util/regex/LowHighSurrogateRangeSet.java; either the file uses a different encoding than UTF-8 or it is corrupted
>     [javac] Cannot read the source from harmony/working_classlib/modules/regex/src/main/java/java/util/regex/LowSurrogateCharSet.java; either the file uses a different encoding than UTF-8 or it is corrupted
>     [javac] Cannot read the source from harmony/working_classlib/modules/regex/src/main/java/java/util/regex/SupplCharSet.java; either the file uses a different encoding than UTF-8 or it is corrupted
>     [javac] Cannot read the source from harmony/working_classlib/modules/regex/src/main/java/java/util/regex/SupplRangeSet.java; either the file uses a different encoding than UTF-8 or it is corrupted
>     [javac] Cannot read the source from harmony/working_classlib/modules/regex/src/main/java/java/util/regex/UCISupplCharSet.java; either the file uses a different encoding than UTF-8 or it is corrupted
>     [javac] Cannot read the source from harmony/working_classlib/modules/regex/src/main/java/java/util/regex/UCISupplRangeSet.java; either the file uses a different encoding than UTF-8 or it is corrupted
> Is there any chance of some commit-time filtering to prevent this happening ?
> cheers

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (HARMONY-2863) Build failures due to non-UTF-8 characters in source files

Posted by "Robin Garner (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-2863?page=comments#action_12460720 ] 
            
Robin Garner commented on HARMONY-2863:
---------------------------------------

Verified fixed.  Thanks Nathan.

> Build failures due to non-UTF-8 characters in source files
> ----------------------------------------------------------
>
>                 Key: HARMONY-2863
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2863
>             Project: Harmony
>          Issue Type: Bug
>          Components: build - test - ci
>         Environment: Linux Ubuntu 6.06/IA32
>            Reporter: Robin Garner
>         Assigned To: Nathan Beyer
>
>     [javac] Cannot read the source from harmony/working_classlib/modules/regex/src/main/java/java/util/regex/CompositeRangeSet.java; either the file uses a different encoding than UTF-8 or it is corrupted
>     [javac] Cannot read the source from harmony/working_classlib/modules/regex/src/main/java/java/util/regex/HighSurrogateCharSet.java; either the file uses a different encoding than UTF-8 or it is corrupted
>     [javac] Cannot read the source from harmony/working_classlib/modules/regex/src/main/java/java/util/regex/LowHighSurrogateRangeSet.java; either the file uses a different encoding than UTF-8 or it is corrupted
>     [javac] Cannot read the source from harmony/working_classlib/modules/regex/src/main/java/java/util/regex/LowSurrogateCharSet.java; either the file uses a different encoding than UTF-8 or it is corrupted
>     [javac] Cannot read the source from harmony/working_classlib/modules/regex/src/main/java/java/util/regex/SupplCharSet.java; either the file uses a different encoding than UTF-8 or it is corrupted
>     [javac] Cannot read the source from harmony/working_classlib/modules/regex/src/main/java/java/util/regex/SupplRangeSet.java; either the file uses a different encoding than UTF-8 or it is corrupted
>     [javac] Cannot read the source from harmony/working_classlib/modules/regex/src/main/java/java/util/regex/UCISupplCharSet.java; either the file uses a different encoding than UTF-8 or it is corrupted
>     [javac] Cannot read the source from harmony/working_classlib/modules/regex/src/main/java/java/util/regex/UCISupplRangeSet.java; either the file uses a different encoding than UTF-8 or it is corrupted
> Is there any chance of some commit-time filtering to prevent this happening ?
> cheers

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Assigned: (HARMONY-2863) Build failures due to non-UTF-8 characters in source files

Posted by "Nathan Beyer (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2863?page=all ]

Nathan Beyer reassigned HARMONY-2863:
-------------------------------------

    Assignee: Nathan Beyer

> Build failures due to non-UTF-8 characters in source files
> ----------------------------------------------------------
>
>                 Key: HARMONY-2863
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2863
>             Project: Harmony
>          Issue Type: Bug
>          Components: build - test - ci
>         Environment: Linux Ubuntu 6.06/IA32
>            Reporter: Robin Garner
>         Assigned To: Nathan Beyer
>
>     [javac] Cannot read the source from harmony/working_classlib/modules/regex/src/main/java/java/util/regex/CompositeRangeSet.java; either the file uses a different encoding than UTF-8 or it is corrupted
>     [javac] Cannot read the source from harmony/working_classlib/modules/regex/src/main/java/java/util/regex/HighSurrogateCharSet.java; either the file uses a different encoding than UTF-8 or it is corrupted
>     [javac] Cannot read the source from harmony/working_classlib/modules/regex/src/main/java/java/util/regex/LowHighSurrogateRangeSet.java; either the file uses a different encoding than UTF-8 or it is corrupted
>     [javac] Cannot read the source from harmony/working_classlib/modules/regex/src/main/java/java/util/regex/LowSurrogateCharSet.java; either the file uses a different encoding than UTF-8 or it is corrupted
>     [javac] Cannot read the source from harmony/working_classlib/modules/regex/src/main/java/java/util/regex/SupplCharSet.java; either the file uses a different encoding than UTF-8 or it is corrupted
>     [javac] Cannot read the source from harmony/working_classlib/modules/regex/src/main/java/java/util/regex/SupplRangeSet.java; either the file uses a different encoding than UTF-8 or it is corrupted
>     [javac] Cannot read the source from harmony/working_classlib/modules/regex/src/main/java/java/util/regex/UCISupplCharSet.java; either the file uses a different encoding than UTF-8 or it is corrupted
>     [javac] Cannot read the source from harmony/working_classlib/modules/regex/src/main/java/java/util/regex/UCISupplRangeSet.java; either the file uses a different encoding than UTF-8 or it is corrupted
> Is there any chance of some commit-time filtering to prevent this happening ?
> cheers

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (HARMONY-2863) Build failures due to non-UTF-8 characters in source files

Posted by "Nathan Beyer (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2863?page=all ]

Nathan Beyer closed HARMONY-2863.
---------------------------------


> Build failures due to non-UTF-8 characters in source files
> ----------------------------------------------------------
>
>                 Key: HARMONY-2863
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2863
>             Project: Harmony
>          Issue Type: Bug
>          Components: build - test - ci
>         Environment: Linux Ubuntu 6.06/IA32
>            Reporter: Robin Garner
>         Assigned To: Nathan Beyer
>
>     [javac] Cannot read the source from harmony/working_classlib/modules/regex/src/main/java/java/util/regex/CompositeRangeSet.java; either the file uses a different encoding than UTF-8 or it is corrupted
>     [javac] Cannot read the source from harmony/working_classlib/modules/regex/src/main/java/java/util/regex/HighSurrogateCharSet.java; either the file uses a different encoding than UTF-8 or it is corrupted
>     [javac] Cannot read the source from harmony/working_classlib/modules/regex/src/main/java/java/util/regex/LowHighSurrogateRangeSet.java; either the file uses a different encoding than UTF-8 or it is corrupted
>     [javac] Cannot read the source from harmony/working_classlib/modules/regex/src/main/java/java/util/regex/LowSurrogateCharSet.java; either the file uses a different encoding than UTF-8 or it is corrupted
>     [javac] Cannot read the source from harmony/working_classlib/modules/regex/src/main/java/java/util/regex/SupplCharSet.java; either the file uses a different encoding than UTF-8 or it is corrupted
>     [javac] Cannot read the source from harmony/working_classlib/modules/regex/src/main/java/java/util/regex/SupplRangeSet.java; either the file uses a different encoding than UTF-8 or it is corrupted
>     [javac] Cannot read the source from harmony/working_classlib/modules/regex/src/main/java/java/util/regex/UCISupplCharSet.java; either the file uses a different encoding than UTF-8 or it is corrupted
>     [javac] Cannot read the source from harmony/working_classlib/modules/regex/src/main/java/java/util/regex/UCISupplRangeSet.java; either the file uses a different encoding than UTF-8 or it is corrupted
> Is there any chance of some commit-time filtering to prevent this happening ?
> cheers

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira