Sort plugins/{active,disabled}.txt for readability.
For disabled.txt, we care about PluginWrapper.active, not .enabled.
To see the difference, disable a plugin, restart, then recheck its box in Installed, but before restarting, get a support bundle.
Previously the plugin would be missing from both active.txt and disabled.txt because it was !active && enabled.
Now it is present in disabled.txt as you would expect, until after the restart.
Capitalization of Java™.