You're right! The build is OK with Java 6, but not 7.

Thank you!
Gary

On Sat, Mar 3, 2012 at 1:42 PM, Benedikt Ritter <b...@systemoutprintln.de>wrote:

> Hi Gary,
>
> that somehow reminds of a problem we had in BeanUtils2 (see
> http://markmail.org/thread/**obtmhywxxeo2ykp7<http://markmail.org/thread/obtmhywxxeo2ykp7>).
> Some tests were failing with my configuration, while they passed on Simos
> machine. The problem was, that I'm using Java 7 and that seems to cause
> problems with reflective operations on arrays.
>
> I would suggest that you at first make sure, that maven and eclipse are
> using the same Java version. And that can be a bit tricky, if m2e mixes
> some addition spice into you dev-setup-soup. There are several
> configurations that come into play:
>
> - the jre eclipse is startet with
> - the jdk the workspace uses as default
> - the jdk maven uses
> - the jdk m2e starts maven with
>
> HTH,
> Benedikt
>
> Am 03.03.2012 19:33, schrieb Gary Gregory:
>
>  Hi All:
>>
>> Odd: These pass in Eclipse but fail from Maven...
>>
>> Failed tests:
>> testReflectionFloatArrayArray(**org.apache.commons.lang3.**
>> builder.ToStringBuilderTest)
>>
>> testReflectionDoubleArrayArray**(org.apache.commons.lang3.**
>> builder.ToStringBuilderTest)
>>
>> testReflectionBooleanArrayArra**y(org.apache.commons.lang3.**
>> builder.ToStringBuilderTest)
>>
>> testReflectionHierarchyArrayLi**st(org.apache.commons.lang3.**
>> builder.ToStringBuilderTest)
>>
>> testReflectionArrayCycleLevel2**(org.apache.commons.lang3.**
>> builder.ToStringBuilderTest)
>>
>> testReflectionArrayArrayCycle(**org.apache.commons.lang3.**
>> builder.ToStringBuilderTest)
>>
>> testSimpleReflectionObjectCycl**e(org.apache.commons.lang3.**
>> builder.ToStringBuilderTest)
>>
>> testSelfInstanceVarReflectionO**bjectCycle(org.apache.commons.**
>> lang3.builder.**ToStringBuilderTest)
>>
>> testSelfInstanceTwoVarsReflect**ionObjectCycle(org.apache.**
>> commons.lang3.builder.**ToStringBuilderTest)
>>
>> testReflectionArrayAndObjectCy**cle(org.apache.commons.lang3.**
>> builder.ToStringBuilderTest)
>>
>>
>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: 
> dev-unsubscribe@commons.**apache.org<dev-unsubscr...@commons.apache.org>
> For additional commands, e-mail: dev-h...@commons.apache.org
>
>


-- 
E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
JUnit in Action, 2nd Ed: <http://goog_1249600977>http://bit.ly/ECvg0
Spring Batch in Action: <http://s.apache.org/HOq>http://bit.ly/bqpbCK
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

Reply via email to