Adding additional source URLs to the plugin classloader doesn't work

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor
    • None
    • Affects Version/s: None
    • None
    • Environment:

      Hi.

       

      I use the following code in my plugin to inject additional dependency jars at runtime.

      https://github.com/lucko/LuckPerms/blob/master/common/src/main/java/me/lucko/luckperms/common/dependencies/DependencyManager.java#L189-L202

       

      This has worked fine in all Spigot/CraftBukkit builds until the recently.

      Now, when an injected class is referenced and loaded, a ClassNotFoundException is thrown.

       

      https://hastebin.com/afiseluniw.sql

       

            Assignee:
            Unassigned
            Reporter:
            Luck
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: