mirror of
https://github.com/PaperMC/Paper.git
synced 2025-02-16 18:31:53 +01:00
Make PaperSimplePluginClassLoader show class which is not found
This commit is contained in:
parent
f14fe2e4f4
commit
c889d48f8c
1 changed files with 1 additions and 1 deletions
|
@ -1155,7 +1155,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||
+ String path = name.replace('.', '/').concat(".class");
|
||||
+ JarEntry entry = this.jar.getJarEntry(path);
|
||||
+ if (entry == null) {
|
||||
+ throw new ClassNotFoundException();
|
||||
+ throw new ClassNotFoundException(name);
|
||||
+ }
|
||||
+
|
||||
+ // See URLClassLoader#defineClass(String, Resource)
|
||||
|
|
Loading…
Add table
Reference in a new issue