Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-7514

Transactionals of program contexts should provide class loader isolation

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.5.1
    • Fix Version/s: 4.0.0
    • Component/s: None
    • Labels:
      None
    • Release Notes:
      Provides proper class loading isolation for explicit transactions executed by programs.
    • Rank:
      1|hzznlz:

      Description

      Currently, AbstractContext (which implements Transactional for (almost) all the program contexts) does not switch class loaders. This can lead to trouble is the code inside the TxRunnable loads a new class. That may fail if the transactional does not switch to the program class loader.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                andreas Andreas Neumann
                Reporter:
                andreas Andreas Neumann
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: