Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-3723

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • None
    • None

      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

       

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

              Created:
              Updated:
              Resolved: