What steps will reproduce the problem?
1. Compile and run this code https://github.com/FoxDev/FoxBot
2. Watch the startup log for lines containing listener/command registrations.
3. Delete any command class or listener from the source.
4. Recompile without the deleted command/listener and run again while watching
the startup log.
What is the expected output? What do you see instead?
I expect to see 2 listener classes being registered. UserListener and
MessageListener. Instead, I see those two, plus SpamHandler. The problem is,
SpamHandler.java doesn't exist in that code and hasn't for months as you can
see from commit history. The same also applies to a lot of the classes that
extend Command.java. It seems reflections is somehow remembering classes that
used to exist, but don't any more.
What version of the product are you using? On what operating system?
0.9.9-RC1 on Arch Linux 64 bit.
Please provide any additional information below.
The relevant lines in my code can be found here:
https://github.com/FoxDev/FoxBot/blob/master/src/main/java/co/foxdev/foxbot/FoxB
ot.java#L180
The relevant classes are here
https://github.com/FoxDev/FoxBot/tree/master/src/main/java/co/foxdev/foxbo/liste
ners
and here
https://github.com/FoxDev/FoxBot/tree/master/src/main/java/co/foxdev/foxbot/comm
ands
Original issue reported on code.google.com by TheRever...@gmail.com on 20 Apr 2014 at 12:05
Original issue reported on code.google.com by
TheRever...@gmail.com
on 20 Apr 2014 at 12:05