Thanks for the report. I'm going to see if I can package version 0.22.5, which fixes this and other bugs.
The plan B, if it becomes too much complex, is to override with DEB_CFLAGS_MAINT_STRIP and maybe also apply the proposed patch for Java 21 in Bug#1056293, but this would be only to gain some time. I would really like to see 0.22.5 in trixie. Thanks.

