qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marnie McCormack" <marnie.mccorm...@googlemail.com>
Subject Re: svn commit: r706894 - in /incubator/qpid/trunk/qpid/java: ./ client/src/main/java/org/apache/qpid/client/ systests/src/main/java/org/apache/qpid/test/unit/message/ systests/src/main/java/org/apache/qpid/test/utils/
Date Mon, 03 Nov 2008 12:38:33 GMT
Hi,

It'd probably be useful to discuss (more widely) what test platforms people
are runnig tests on - I'd assumed you would have access to a Linux/JDK 6
env. Would made life eaiser - for instance, I thought I was the only Windows
env user on the Java side, but maybe not ?

Marnie

On Mon, Nov 3, 2008 at 10:50 AM, Robert Godfrey <rob.j.godfrey@gmail.com>wrote:

> Hi Arnaud,
>
> reading from a file would seem to be a better way of solving this issue.
>
> I would expect that the reason you are not seeing this is that your
> system is set up so that UTF8 is the default encoding.  In general if
> your file contains characters from a character set other than the
> default encoding then you need to invoke javac with the -encoding flag
> to instruct it which character set is being used.  The test as is will
> probably only actually use a UTF8 string if the default platform
> encodinghappens to be UTF-8.
>
> -- Rob
>
> 2008/11/3 Arnaud Simon <asimon@redhat.com>:
>  > Hi Marnie,
> >
> > As I said it is difficult for me to fix something that I cannot
> reproduce. But however, as I suggested I can change the tests for retrieving
> the UTF8 strings from a file. This would certainly solve the compiler
> warnings.
> >
> > Let me know if you are fine with that solution.
> >
> > Arnaud
> >
> > ----- "Marnie McCormack" <marnie.mccormack@googlemail.com> wrote:
> >
> >> Hi Arnaud,
> >>
> >> Martin is out on holiday, I wonder if you could have a look at fixing
> >> this
> >> issue please ? We're runnign our CruiseControl testing on Linux with
> >> JDK 1.6
> >> and this is what our output looks like as a result of this issue:
> >>
> >>
> >> runTest("?????????????????????????????????????????????????????????",
> >> "???????????????????????????????????? README
> >> ??????????????????????????????",
> >>
> "???????????????????????????????????????????????????????????????????????????",
> >> "???????????????????????? CD ????????????????????????????????????");
> >>
> >> ^
> >>
> >>
> /usr/local/cruise/work/projects/qpid_trunk/qpid/java/systests/src/main/java/org/apache/qpid/test/unit/message/UTF8Test.java:55:
> >> warning: unmappable character for encoding ASCII
> >>
> >> runTest("?????????????????????????????????????????????????????????",
> >> "???????????????????????????????????? README
> >> ??????????????????????????????",
> >>
> "???????????????????????????????????????????????????????????????????????????",
> >> "???????????????????????? CD ????????????????????????????????????");
> >>
> >> ^
> >>
> >>
> /usr/local/cruise/work/projects/qpid_trunk/qpid/java/systests/src/main/java/org/apache/qpid/test/unit/message/UTF8Test.java:55:
> >> warning: unmappable character for encoding ASCII
> >>
> >> runTest("?????????????????????????????????????????????????????????",
> >> "???????????????????????????????????? README
> >> ??????????????????????????????",
> >>
> "???????????????????????????????????????????????????????????????????????????",
> >> "???????????????????????? CD ????????????????????????????????????");
> >>
> >> ^
> >>
> >>
> /usr/local/cruise/work/projects/qpid_trunk/qpid/java/systests/src/main/java/org/apache/qpid/test/unit/message/UTF8Test.java:55:
> >> warning: unmappable character for encoding ASCII
> >>
> >> runTest("?????????????????????????????????????????????????????????",
> >> "???????????????????????????????????? README
> >> ??????????????????????????????",
> >>
> "???????????????????????????????????????????????????????????????????????????",
> >> "???????????????????????? CD ????????????????????????????????????");
> >>
> >> ^
> >>
> >>
> /usr/local/cruise/work/projects/qpid_trunk/qpid/java/systests/src/main/java/org/apache/qpid/test/unit/message/UTF8Test.java:55:
> >> warning: unmappable character for encoding ASCII
> >>
> >> runTest("?????????????????????????????????????????????????????????",
> >> "???????????????????????????????????? README
> >> ??????????????????????????????",
> >>
> "???????????????????????????????????????????????????????????????????????????",
> >> "???????????????????????? CD ????????????????????????????????????");
> >>
> >> ^
> >>
> >>
> /usr/local/cruise/work/projects/qpid_trunk/qpid/java/systests/src/main/java/org/apache/qpid/test/unit/message/UTF8Test.java:55:
> >> warning: unmappable character for encoding ASCII
> >>
> >> runTest("?????????????????????????????????????????????????????????",
> >> "???????????????????????????????????? README
> >> ??????????????????????????????",
> >>
> "???????????????????????????????????????????????????????????????????????????",
> >> "???????????????????????? CD ????????????????????????????????????");
> >>
> >> ^
> >>
> >>
> /usr/local/cruise/work/projects/qpid_trunk/qpid/java/systests/src/main/java/org/apache/qpid/test/unit/message/UTF8Test.java:55:
> >> warning: unmappable character for encoding ASCII
> >>
> >> runTest("?????????????????????????????????????????????????????????",
> >> "???????????????????????????????????? README
> >> ??????????????????????????????",
> >>
> "???????????????????????????????????????????????????????????????????????????",
> >> "???????????????????????? CD ????????????????????????????????????");
> >>
> >> ^
> >>
> >>
> /usr/local/cruise/work/projects/qpid_trunk/qpid/java/systests/src/main/java/org/apache/qpid/test/unit/message/UTF8Test.java:55:
> >> warning: unmappable character for encoding ASCII
> >>
> >> runTest("?????????????????????????????????????????????????????????",
> >> "???????????????????????????????????? README
> >> ??????????????????????????????",
> >>
> "???????????????????????????????????????????????????????????????????????????",
> >> "???????????????????????? CD ????????????????????????????????????");
> >>
> >> ^
> >>
> >>
> /usr/local/cruise/work/projects/qpid_trunk/qpid/java/systests/src/main/java/org/apache/qpid/test/unit/message/UTF8Test.java:55:
> >> warning: unmappable character for encoding ASCII
> >>
> >> runTest("?????????????????????????????????????????????????????????",
> >> "???????????????????????????????????? README
> >> ??????????????????????????????",
> >>
> "???????????????????????????????????????????????????????????????????????????",
> >> "???????????????????????? CD ????????????????????????????????????");
> >>
> >> ^
> >>
> >>
> /usr/local/cruise/work/projects/qpid_trunk/qpid/java/systests/src/main/java/org/apache/qpid/test/unit/message/UTF8Test.java:55:
> >> warning: unmappable character for encoding ASCII
> >>
> >> runTest("?????????????????????????????????????????????????????????",
> >> "???????????????????????????????????? README
> >> ??????????????????????????????",
> >>
> "???????????????????????????????????????????????????????????????????????????",
> >> "???????????????????????? CD ????????????????????????????????????");
> >>
> >> ^
> >>
> >>
> /usr/local/cruise/work/projects/qpid_trunk/qpid/java/systests/src/main/java/org/apache/qpid/test/unit/message/UTF8Test.java:55:
> >> warning: unmappable character for encoding ASCII
> >>
> >> runTest("?????????????????????????????????????????????????????????",
> >> "???????????????????????????????????? README
> >> ??????????????????????????????",
> >>
> "???????????????????????????????????????????????????????????????????????????",
> >> "???????????????????????? CD ????????????????????????????????????");
> >>
> >> ^
> >>
> >>
> /usr/local/cruise/work/projects/qpid_trunk/qpid/java/systests/src/main/java/org/apache/qpid/test/unit/message/UTF8Test.java:55:
> >> warning: unmappable character for encoding ASCII
> >>
> >> runTest("?????????????????????????????????????????????????????????",
> >> "???????????????????????????????????? README
> >> ??????????????????????????????",
> >>
> "???????????????????????????????????????????????????????????????????????????",
> >> "???????????????????????? CD ????????????????????????????????????");
> >>
> >> ^
> >>
> >>
> /usr/local/cruise/work/projects/qpid_trunk/qpid/java/systests/src/main/java/org/apache/qpid/test/unit/message/UTF8Test.java:55:
> >> warning: unmappable character for encoding ASCII
> >>
> >> runTest("?????????????????????????????????????????????????????????",
> >> "???????????????????????????????????? README
> >> ??????????????????????????????",
> >>
> "???????????????????????????????????????????????????????????????????????????",
> >> "???????????????????????? CD ????????????????????????????????????");
> >>
> >> ^
> >>
> >>
> /usr/local/cruise/work/projects/qpid_trunk/qpid/java/systests/src/main/java/org/apache/qpid/test/unit/message/UTF8Test.java:55:
> >> warning: unmappable character for encoding ASCII
> >>
> >> runTest("?????????????????????????????????????????????????????????",
> >> "???????????????????????????????????? README
> >> ??????????????????????????????",
> >>
> "???????????????????????????????????????????????????????????????????????????",
> >> "???????????????????????? CD ????????????????????????????????????");
> >>
> >> ^
> >>
> >>
> /usr/local/cruise/work/projects/qpid_trunk/qpid/java/systests/src/main/java/org/apache/qpid/test/unit/message/UTF8Test.java:55:
> >> warning: unmappable character for encoding ASCII
> >>
> >> runTest("?????????????????????????????????????????????????????????",
> >> "???????????????????????????????????? README
> >> ??????????????????????????????",
> >>
> "???????????????????????????????????????????????????????????????????????????",
> >> "???????????????????????? CD ????????????????????????????????????");
> >>
> >> ^
> >>
> >>
> /usr/local/cruise/work/projects/qpid_trunk/qpid/java/systests/src/main/java/org/apache/qpid/test/unit/message/UTF8Test.java:55:
> >> warning: unmappable character for encoding ASCII
> >>
> >> runTest("?????????????????????????????????????????????????????????",
> >> "???????????????????????????????????? README
> >> ??????????????????????????????",
> >>
> "???????????????????????????????????????????????????????????????????????????",
> >> "???????????????????????? CD ????????????????????????????????????");
> >>
> >> ^
> >>
> >>
> /usr/local/cruise/work/projects/qpid_trunk/qpid/java/systests/src/main/java/org/apache/qpid/test/unit/message/UTF8Test.java:55:
> >> warning: unmappable character for encoding ASCII
> >>
> >> runTest("?????????????????????????????????????????????????????????",
> >> "???????????????????????????????????? README
> >> ??????????????????????????????",
> >>
> "???????????????????????????????????????????????????????????????????????????",
> >> "???????????????????????? CD ????????????????????????????????????");
> >>
> >> ^
> >>
> >>
> /usr/local/cruise/work/projects/qpid_trunk/qpid/java/systests/src/main/java/org/apache/qpid/test/unit/message/UTF8Test.java:55:
> >> warning: unmappable character for encoding ASCII
> >>
> >> runTest("?????????????????????????????????????????????????????????",
> >> "???????????????????????????????????? README
> >> ??????????????????????????????",
> >>
> "???????????????????????????????????????????????????????????????????????????",
> >> "???????????????????????? CD ????????????????????????????????????");
> >>
> >> ^
> >>
> >>
> /usr/local/cruise/work/projects/qpid_trunk/qpid/java/systests/src/main/java/org/apache/qpid/test/unit/message/UTF8Test.java:55:
> >> warning: unmappable character for encoding ASCII
> >>
> >> runTest("?????????????????????????????????????????????????????????",
> >> "???????????????????????????????????? README
> >> ??????????????????????????????",
> >>
> "???????????????????????????????????????????????????????????????????????????",
> >> "???????????????????????? CD ????????????????????????????????????");
> >>
> >> ^
> >>
> >>
> /usr/local/cruise/work/projects/qpid_trunk/qpid/java/systests/src/main/java/org/apache/qpid/test/unit/message/UTF8Test.java:55:
> >> warning: unmappable character for encoding ASCII
> >>
> >> runTest("?????????????????????????????????????????????????????????",
> >> "???????????????????????????????????? README
> >> ??????????????????????????????",
> >>
> "???????????????????????????????????????????????????????????????????????????",
> >> "???????????????????????? CD ????????????????????????????????????");
> >>
> >> ^
> >>
> >>
> /usr/local/cruise/work/projects/qpid_trunk/qpid/java/systests/src/main/java/org/apache/qpid/test/unit/message/UTF8Test.java:55:
> >> warning: unmappable character for encoding ASCII
> >>
> >> runTest("?????????????????????????????????????????????????????????",
> >> "???????????????????????????????????? README
> >> ??????????????????????????????",
> >>
> "???????????????????????????????????????????????????????????????????????????",
> >> "???????????????????????? CD ????????????????????????????????????");
> >>
> >> ^
> >>
> >>
> /usr/local/cruise/work/projects/qpid_trunk/qpid/java/systests/src/main/java/org/apache/qpid/test/unit/message/UTF8Test.java:55:
> >> warning: unmappable character for encoding ASCII
> >>
> >> runTest("?????????????????????????????????????????????????????????",
> >> "???????????????????????????????????? README
> >> ??????????????????????????????",
> >>
> "???????????????????????????????????????????????????????????????????????????",
> >> "???????????????????????? CD ????????????????????????????????????");
> >>
> >> ^
> >>
> >>
> /usr/local/cruise/work/projects/qpid_trunk/qpid/java/systests/src/main/java/org/apache/qpid/test/unit/message/UTF8Test.java:55:
> >> warning: unmappable character for encoding ASCII
> >>
> >> runTest("?????????????????????????????????????????????????????????",
> >> "???????????????????????????????????? README
> >> ??????????????????????????????",
> >>
> "???????????????????????????????????????????????????????????????????????????",
> >> "???????????????????????? CD ????????????????????????????????????");
> >>
> >> ^
> >>
> >>
> /usr/local/cruise/work/projects/qpid_trunk/qpid/java/systests/src/main/java/org/apache/qpid/test/unit/message/UTF8Test.java:55:
> >> warning: unmappable character for encoding ASCII
> >>
> >> runTest("?????????????????????????????????????????????????????????",
> >> "???????????????????????????????????? README
> >> ??????????????????????????????",
> >>
> "???????????????????????????????????????????????????????????????????????????",
> >> "???????????????????????? CD ????????????????????????????????????");
> >>
> >> ^
> >>
> >>
> /usr/local/cruise/work/projects/qpid_trunk/qpid/java/systests/src/main/java/org/apache/qpid/test/unit/message/UTF8Test.java:55:
> >> warning: unmappable character for encoding ASCII
> >>
> >> runTest("?????????????????????????????????????????????????????????",
> >> "???????????????????????????????????? README
> >> ??????????????????????????????",
> >>
> "???????????????????????????????????????????????????????????????????????????",
> >> "???????????????????????? CD ????????????????????????????????????");
> >>
> >> ^
> >>
> >>
> /usr/local/cruise/work/projects/qpid_trunk/qpid/java/systests/src/main/java/org/apache/qpid/test/unit/message/UTF8Test.java:55:
> >> warning: unmappable character for encoding ASCII
> >>
> >> runTest("?????????????????????????????????????????????????????????",
> >> "???????????????????????????????????? README
> >> ??????????????????????????????",
> >>
> "???????????????????????????????????????????????????????????????????????????",
> >> "???????????????????????? CD ????????????????????????????????????");
> >>
> >>
> >>
> >> <snip lots & lots more>
> >>
> >>
> >>
> >> Thanks,
> >>
> >> Marnie
> >>
> >>
> >>
> >> On Mon, Oct 27, 2008 at 1:31 PM, Arnaud Simon <asimon@redhat.com>
> >> wrote:
> >>
> >> > Hi Martin,
> >> >
> >> > > This change causes a rather large amount of output during the
> >> build
> >> > > phase. Would it be possible to set the correct BOM(byte order
> >> mark) on
> >> > > the UTF8Test and set the java compiler to use that encoding.
> >> IIUC,
> >> > > this should fixe the compiler errors we are seeing.
> >> >
> >> > I am sorry about that but I don't see that problem on my platform.
> >> We can
> >> > do what you are suggesting or  store the UTF8 strings in a file. Can
> >> you try
> >> > the fix you are suggesting, if that does not work I'll change the
> >> test for
> >> > using a file.
> >> >
> >> > Thanks
> >> >
> >> > Arnaud
> >> >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message