Details

    • Type: Sub-task
    • Status: Open
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: util
    • Labels:
      None

      Description

      Today, anyone can simply call Configuration.setClassLoader() to set the configuration classloader to any arbitrary classloader. This classloader is then used to get a class or a resource through Configuration (getClass() and getResource()).

      In essence, the Configuration classloader is effectively a globally shared classloader without contract. This is one step worse than TCCL in that regard.

      I propose to remove/deprecate setClassLoader() and getClassLoader() and simply use TCCL (and then the classloader that loaded the Configuration class) to load classes and resources.

        Attachments

          Activity

            People

            • Assignee:
              sjlee0 Sangjin Lee
              Reporter:
              sjlee0 Sangjin Lee
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated: