-
-
Notifications
You must be signed in to change notification settings - Fork 353
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: custom URLClassLoaders are now actually used #3818
Conversation
Thanks a lot @andrewbwogi, could you add a test case reproducing the bug? |
Thanks @andrewbwogi for the test case, we love test cases in Spoon. Any idea why src/test/resources/classloader-test/spoon/Launcher.class is an empty file? And why it works this way? |
This Launcher.class is not an entirely empty file, it is an empty class that has the same qualified name as the ordinary Spoon Launcher. In this test, if the default classloader is used, the ordinary Launcher will be loaded, and if the custom classloader is used, the empty Launcher will be loaded. It is empty so that the two Launchers can be distinguished. |
Just to clear up the confusion here, there seems to be a bug in the "Files changed" tab here on GitHub, which claims that
|
very nice fix @andrewbwogi |
closes #3789