Uploaded image for project: 'Shiro'
  1. Shiro
  2. SHIRO-796

Move away from ThreadLocals

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.7.0
    • None
    • None

    Description

      Somewhat related to https://issues.apache.org/jira/browse/SHIRO-763.

      Shiro is using thread local variables a lot but they are generally frowned-upon and also the upcoming Project Loom could have problems with them. Projects are encouraged to move away from thread locals. It would be nice for Shiro to also do that.

      Some references:

      https://channel9.msdn.com/Events/Java/JDConf-2020/Prepare-for-What-Looms-Ahead

      https://www.javaadvent.com/2019/12/project-loom.html

      https://cr.openjdk.java.net/~rpressler/loom/Loom-Proposal.html

      Attachments

        Activity

          People

            Unassigned Unassigned
            boris-petrov Boris Petrov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: