Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-1200

Multibyte bind variable name fails with java dialect

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.0.0.Beta1
    • 6.4.0.Final
    • core engine
    • None
    • NEW
    • NEW

      If you have a bind variable which name is multibyte (for example, 'D' U+FF24) and use java dialect, DRL build fails with error messages like:

      line 1:21 no viable alternative at character 'D'
      18:21:54.036 [main] ERROR o.d.c.k.b.impl.AbstractKieModule.buildKnowledgePackages:249 - Unable to build KieBaseModel:defaultKieBase
      Rule Compilation error : [Rule name='R']
      	defaultpkg/Rule_R1623499031.java (7:346) : D cannot be resolved
      

      Mvel dialect doesn't have this issue.

              mfusco@redhat.com Mario Fusco
              rhn-support-tkobayas Toshiya Kobayashi
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: