There appears to be a fix for this in the latest trunk upstream:
This fix isn't in any released version of the upstream as of yet. If
you want I'm happy to patch this package so that it will build?
This is the maintainer address of Debian's Java team
debian-j...@lists.debian.org for discussions and questions.