Hi,
Sun bug number 6975714 , had a fix which further had broken some
scenarios which used to work . When a JAXB class has a list property and
the instance document contains invalid values for those elements, each
of those invalid values is represented in the list with null. The JAXB
RI is now writing false to the list for Boolean, while all other types
(integers, longs, doubles, etc...) consistently write null.
Current Results:
Test(1) bools: [false, false, true, false]
Test(2) ints: [null, null, 17, null]
Previous Results: [Before the bug fix in 2.2.1 ]
Test(1) bools: [null, null, true, null]
Test(2) ints: [null, null, 17, null]
I think the behavior should be like 2.2.1 where null was stored for
invalid Boolean , like other types.
Regards,
Jayashree Viswanathan