Hi Gary,
that somehow reminds of a problem we had in BeanUtils2 (see
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)
testReflectionBooleanArrayArray(org.apache.commons.lang3.builder.ToStringBuilderTest)
testReflectionHierarchyArrayList(org.apache.commons.lang3.builder.ToStringBuilderTest)
testReflectionArrayCycleLevel2(org.apache.commons.lang3.builder.ToStringBuilderTest)
testReflectionArrayArrayCycle(org.apache.commons.lang3.builder.ToStringBuilderTest)
testSimpleReflectionObjectCycle(org.apache.commons.lang3.builder.ToStringBuilderTest)
testSelfInstanceVarReflectionObjectCycle(org.apache.commons.lang3.builder.ToStringBuilderTest)
testSelfInstanceTwoVarsReflectionObjectCycle(org.apache.commons.lang3.builder.ToStringBuilderTest)
testReflectionArrayAndObjectCycle(org.apache.commons.lang3.builder.ToStringBuilderTest)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org