As Java ages, like everything else, bits start to fall off. With Java 21, the most recent LTS release, an API which Polarbar uses has been removed.
With that one exception, Polarbar still works with Java 21. Specifically, Polarbar may get an UnsuportedOperationException. This won't affect all users of Polarbar, and for those it does affect, there's a probable solution: use the JavaMail drivers for the sending and receiving servers instead of Polarbar's own drivers.
Unfortunately, although I know that recent Javamail drivers work with Java 21, I don't know whether or not older Javamail drivers avoid the problem. The recent ones, however, don't come with Polarbar, and I've not tried retrofitting them to an existing Polarbar. (Javamail is now called Jakarta mail, just to add a degree of confusion.)
Retrofitting would at minimum involve replacing the Javamail jar with the equivalent Jakarta one, and updating the manifest in the Polarbar jar. I hope the older Javamail drivers work, and no-one needs to attempt this fix-up!