Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-4559

JPAPlaceholderResolverStrategy does not allow to access classes from kjar

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • jBPM 6.2.0.Final
    • jBPM 6.2.0.CR4
    • Runtime Engine
    • None

      In case someone would like to use classes defined in project/kjar with JPAPlaceholderResolverStrategy it won't work due to:
      https://github.com/droolsjbpm/drools/blob/master/drools-persistence-jpa/src/main/java/org/drools/persistence/jpa/marshaller/JPAPlaceholderResolverStrategy.java#L118

      since the unmarshal method gives access to class loader it should be then used for call to Class.forName to avoid CNFE

            swiderski.maciej Maciej Swiderski (Inactive)
            swiderski.maciej Maciej Swiderski (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: