It looks like this there's a fix for this already. After applying 
I was able to build the package successfully.
mvh / best regards
Hans Joachim Desserud
This is the maintainer address of Debian's Java team
debian-j...@lists.debian.org for discussions and questions.