Uploaded image for project: 'QuickFIX/J'
  1. QuickFIX/J
  2. QFJ-908

-Dgenerator.decimal=true not working for existing fields

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.6.2
    • Fix Version/s: None
    • Component/s: Engine

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              vipin.001 Vipin Chaudhary
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: