[QFJ-908] -Dgenerator.decimal=true not working for existing fields Created: 18/Nov/16  Updated: 18/Nov/16  Resolved: 18/Nov/16

Status: Closed
Project: QuickFIX/J
Component/s: Engine
Affects Version/s: 1.6.2
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Vipin Chaudhary Assignee: Unassigned
Resolution: Cannot Reproduce Votes: 0
Labels: generator.decimal


 Description   

when I am packaging code using -Dgenerator.decimal=true, the existing Price type field are not changing to BigDecima.

I want that all Price Type fields should take BigDecimal as input. As per the documentation this can be if we compile code using -Dgenerator.decimal=true option.

I used "package -Dgenerator.decimal=true -DskipAT=true" but still Price type fields constructor are taking double field.

I added some custom fields of Price type and those new custom fields constructor are taking BigDecimal value. So It seems that this(-Dgenerator.decimal=true) is working for new fields only.



 Comments   
Comment by Christoph John [ 18/Nov/16 ]

Could not reproduce with 1.6.3-SNAPSHOT and 1.7.0-SNAPSHOT respectively.

Generated at Fri May 03 05:32:25 UTC 2024 using JIRA 7.5.2#75007-sha1:9f5725bb824792b3230a5d8716f0c13e296a3cae.