You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by Adam Lally <al...@alum.rpi.edu> on 2006/11/07 00:41:25 UTC

Unit Test Failures on Java 5

Since there's no JIRA yet issues get logged to the dev list. :)

I'm getting two failures running the tests under Sun Java 1.5.

One failure is a test that uses xi:include, which doesn't work in Java
1.5.  I removed most of those from our tests but a couple are left.
Is it time to just remove this feature entirely?  In addition to not
working in Java 1.5 (unless you separately install xalan.jar), it's
also not supported in the CDE.

The other failure is a OutOfMemoryError in CasResetResizeTest.
Probably this is just due to a lower default max heap size in the Sun
Java vs. the IBM Java I was previously using to test.  I shall have to
figure out how to raise the max heap size in Maven.

-Adam

Re: Unit Test Failures on Java 5

Posted by Adam Lally <al...@alum.rpi.edu>.
On 11/7/06, Michael Baessler <mb...@michael-baessler.de> wrote:
> +1 from my side, I also think that we can drop xi:include.
>
> - Michael

I should probably clarify that my patch doesn't remove xi:include
support for UIMA; it only modifies the testcase to use import instead.
 The actual removal can be done later.

-Adam

P.S. I'm trying to avoid the style of message that quotes the entire
preceding message at the bottom, as I saw in Ken's presentation that
this is not the Apache style.

Re: Unit Test Failures on Java 5

Posted by Michael Baessler <mb...@michael-baessler.de>.
+1 from my side, I also think that we can drop xi:include.

- Michael

Thilo Goetz wrote:
> +1
>
> We have had <import .../> for a long time now as our standard include 
> mechanism, let's just drop xi:include.
>
> We also have one more test case failing with the IBM JDK 1.5 that I'm 
> working on, somehow other stuff keeps intervening.  (It's one of the 
> IteratorTest test cases).
>
> --Thilo
>
> Marshall Schor wrote:
>> Re removing xi:include - +1 from me.
>>
>> Adam Lally wrote:
>>> <snip
>>> One failure is a test that uses xi:include, which doesn't work in Java
>>> 1.5.  I removed most of those from our tests but a couple are left.
>>> Is it time to just remove this feature entirely?  In addition to not
>>> working in Java 1.5 (unless you separately install xalan.jar), it's
>>> also not supported in the CDE.
>>>
>
>
>


Re: Unit Test Failures on Java 5

Posted by Thilo Goetz <tw...@gmx.de>.
+1

We have had <import .../> for a long time now as our standard include 
mechanism, let's just drop xi:include.

We also have one more test case failing with the IBM JDK 1.5 that I'm 
working on, somehow other stuff keeps intervening.  (It's one of the 
IteratorTest test cases).

--Thilo

Marshall Schor wrote:
> Re removing xi:include - +1 from me.
> 
> Adam Lally wrote:
>> <snip
>> One failure is a test that uses xi:include, which doesn't work in Java
>> 1.5.  I removed most of those from our tests but a couple are left.
>> Is it time to just remove this feature entirely?  In addition to not
>> working in Java 1.5 (unless you separately install xalan.jar), it's
>> also not supported in the CDE.
>>


Re: Unit Test Failures on Java 5

Posted by Marshall Schor <ms...@schor.com>.
Re removing xi:include - +1 from me.

Adam Lally wrote:
> <snip
> One failure is a test that uses xi:include, which doesn't work in Java
> 1.5.  I removed most of those from our tests but a couple are left.
> Is it time to just remove this feature entirely?  In addition to not
> working in Java 1.5 (unless you separately install xalan.jar), it's
> also not supported in the CDE.
>


Re: Unit Test Failures on Java 5

Posted by Adam Lally <al...@alum.rpi.edu>.
> We have to get patches working in any case.  Do attachments work?

That was the first thing I tried, but attachments don't seem to be
allowed on the list.  Next I tried just pasting the patchfile contents
into an email, but Thilo reported getting errors when trying to apply
the patch.  (When I then sent him the attachment directly, rather than
to the list, it worked.)  I'm not sure at what point the corruption of
the patch occurred.

-Adam

Re: Unit Test Failures on Java 5

Posted by Marshall Schor <ms...@schor.com>.
We have to get patches working in any case.  Do attachments work?
-Marshall
Thilo Goetz wrote:
>
>
> Let's wait another day for your SVN accounts.  uuencode really takes 
> me way back to the early 90s.  I had no idea it still existed ;-)  If 
> for some reason your SVN accounts fail to be set up tomorrow, I'll 
> dust off that knowledge.
>
> --Thilo
>
>
>


Re: Unit Test Failures on Java 5

Posted by Thilo Goetz <tw...@gmx.de>.
Adam Lally wrote:
>> One failure is a test that uses xi:include, which doesn't work in Java
>> 1.5.  I removed most of those from our tests but a couple are left.
>> Is it time to just remove this feature entirely?  In addition to not
>> working in Java 1.5 (unless you separately install xalan.jar), it's
>> also not supported in the CDE.
>>
>> The other failure is a OutOfMemoryError in CasResetResizeTest.
>> Probably this is just due to a lower default max heap size in the Sun
>> Java vs. the IBM Java I was previously using to test.  I shall have to
>> figure out how to raise the max heap size in Maven.
> 
> Here's a patch for both of these issues.  Since my previous attempt to
> send a patch file in an email body seemed to corrupt the patch, this
> time I am uuencoding it.
>  -Adam
<snip>

Let's wait another day for your SVN accounts.  uuencode really takes me 
way back to the early 90s.  I had no idea it still existed ;-)  If for 
some reason your SVN accounts fail to be set up tomorrow, I'll dust off 
that knowledge.

--Thilo


Re: Unit Test Failures on Java 5

Posted by Adam Lally <al...@alum.rpi.edu>.
> One failure is a test that uses xi:include, which doesn't work in Java
> 1.5.  I removed most of those from our tests but a couple are left.
> Is it time to just remove this feature entirely?  In addition to not
> working in Java 1.5 (unless you separately install xalan.jar), it's
> also not supported in the CDE.
>
> The other failure is a OutOfMemoryError in CasResetResizeTest.
> Probably this is just due to a lower default max heap size in the Sun
> Java vs. the IBM Java I was previously using to test.  I shall have to
> figure out how to raise the max heap size in Maven.

Here's a patch for both of these issues.  Since my previous attempt to
send a patch file in an email body seemed to corrupt the patch, this
time I am uuencoding it.
  -Adam

begin 666 testFixesForJava15.patch
M26YD97@Z('5I;6%J+6-O<F4O<&]M+GAM;`T*/3T]/3T]/3T]/3T]/3T]/3T]
M/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]
M/3T]/0T*+2TM('5I;6%J+6-O<F4O<&]M+GAM;`DH<F5V:7-I;VX@-#<P.3,S
M*0T**RLK('5I;6%J+6-O<F4O<&]M+GAM;`DH=V]R:VEN9R!C;W!Y*0T*0$`@
M+30Q+#4@*S0Q+#$T($!`#0H@"3PO9&5P96YD96YC:65S/@T*(`D\8G5I;&0^
M#0H@"0D\9FEN86Q.86UE/G5I;6$M8V]R93PO9FEN86Q.86UE/@T**PD)/'!L
M=6=I;G,^#0HK"0D)/'!L=6=I;CX-"BL)"0D)/&=R;W5P260^;W)G+F%P86-H
M92YM879E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;F4N5&%E1&5S8W)I<'1I;VX["B!I
M;7!O<G0@;W)G+F%P86-H92YU:6UA+G1E<W0N:G5N:71?97AT96YS:6]N+DI5
M;FET17AT96YS:6]N.PH@:6UP;W)T(&]R9RYA<&%C:&4N=6EM82YU=&EL+EA-
M3$EN<'5T4V]U<F-E.PI`0"`M-C@L,S$@*S8Y+#(P($!`#0H@("!["B`@("`@
M=')Y"B`@("`@>PHM("`@("`@+R]*5&%L96YT06YD4W1R:6YG36%T8V@N>&UL
M(&-O;G1A:6YS('AI;F-L=61E<RP@"BL@("`@("`O+TI486QE;G1!;F13=')I
M;F=-871C:"YX;6P@8V]N=&%I;G,@:6UP;W)T<RP@"B`@("`@("`O+TI486QE
M;G1!;F13=')I;F=-871C:%]%>'!A;F1E9"YX;6P@:&%S(&AA9"!T:&5M(&UA
M;G5A;&QY(&5X<&%N9&5D"BT@("`@("!&:6QE('=I=&A826YC;'5D97,@/2!*
M56YI=$5X=&5N<VEO;BYG971&:6QE*")8;6Q087)S97)497-T+TI486QE;G1!
M;F13=')I;F=-871C:"YX;6PB*3L**R`@("`@($9I;&4@=VET:$EM<&]R=',@
M/2!*56YI=$5X=&5N<VEO;BYG971&:6QE*")8;6Q087)S97)497-T+TI486QE
M;G1!;F13=')I;F=-871C:"YX;6PB*3L*("`@("`@($9I;&4@;6%N=6%L;'E%
M>'!A;F1E9"`]($I5;FET17AT96YS:6]N+F=E=$9I;&4H(EAM;%!A<G-E<E1E
M<W0O2E1A;&5N=$%N9%-T<FEN9TUA=&-H7T5X<&%N9&5D+GAM;"(I.PH@("`@
M("`@"BT@("`@("`O+T%F=&5R('!A<W-I;F<@2E1A;&5N=$%N9%-T<FEN9TUA
M=&-H+GAM;"!T:')O=6=H('!R;V-E<W-826YC;'5D97,L"BL@("`@("`O+T%F
M=&5R('!A<G-I;F<@8F]T:"!F:6QE<R!A;F0@8V%L;&EN9R!R97-O;'9E26UP
M;W)T<RP*("`@("`@("\O=V4@<VAO=6QD('1H96X@8F4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