Uploaded image for project: 'Tamaya'
  1. Tamaya
  2. TAMAYA-400

Use ThreadContext ClassLoader as default

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.4-incubating
    • API, Core
    • None

    Description

      Use the thread class loader as default classloader. This is necessary for correctly implement the Microprofile specs:

      public static ClassLoader getDefaultClassLoader() {
        ClassLoader cl = Thread.currentThread().getContextClassLoader();
        if(cl==null) {
          cl = ServiceContextManager.class.getClassLoader();
        }
        return cl;
      }

      Attachments

        Activity

          People

            anatole Anatole Tresch
            anatole Anatole Tresch
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: