I’ve recently realized that each time I uninstall and reinstall the same plugin with updated logic, the old one still runs. Let’s say in the IssueUpdate event listener I have the following piece of code:
System.out.println("Hello world");
and then I change it to
System.out.println("Weird world");
I get both outputs. And if I change it further, the changes will be added to the old ones. So jira obviously caches them somewhere. But, if it caches them, why does it stop when I uninstall the plugin?