Without XReplacePrimitives (the default Jaxb behavior):
An optional int becomes Integer, a mandatory one becomes int
An optional double becomes Double, a mandatory one becomes double
With XReplacePrimitives:
An optional int becomes Integer, a mandatory one becomes Integer as well
An optional double becomes Double, a mandatory one becomes double, as opposed to Double that one would expect
I am observing the following behavior:
Without XReplacePrimitives (the default Jaxb behavior): An optional int becomes Integer, a mandatory one becomes int An optional double becomes Double, a mandatory one becomes double
With XReplacePrimitives: An optional int becomes Integer, a mandatory one becomes Integer as well An optional double becomes Double, a mandatory one becomes double, as opposed to Double that one would expect
Is this expected?