Uploaded image for project: 'OptaPlanner'
  1. OptaPlanner
  2. PLANNER-508

Note in documentation that class of CustomScoreDefinition must have no-arg constructor

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Optional Optional
    • 6.4.0.CR1
    • None
    • optaplanner-core
    • None
    • NEW
    • NEW

      Using reflection XStreamScoreConverter creates new instances of scoreDefinitionClass. problem is, when this class contains constructor with arguments, in that case, (wrong) exception is thrown.

      The right exception is eaten by xstream itself.

      Anyway, this should be properly documented.

              gdesmet@redhat.com Geoffrey De Smet (Inactive)
              jvahala Jiří Vahala (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: