What steps will reproduce the problem?
1. The following unit test:
public class SumFromTest {
public class A {
public BigDecimal getBigDecimal() {
return BigDecimal.ZERO;
}
}
@Test
public void showFailure() {
List<A> list = new ArrayList<A>();
sumFrom(list, A.class).getBigDecimal();
}
}
What is the expected output? What do you see instead?
Should successfully handle an empty list.
What version of the product are you using? On what operating system?
2.3.1 - JRockit-4.0.0-1.6.0 - Windows
Please provide any additional information below.
Original issue reported on code.google.com by matt.rea...@gmail.com on 24 Nov 2010 at 9:26
Original issue reported on code.google.com by
matt.rea...@gmail.com
on 24 Nov 2010 at 9:26