Bug#923759: One step ahead but compile errors (Was: netlib-java contains nealy empty jar)

Markus Koschany apo at debian.org
Mon Mar 25 14:36:35 GMT 2019


Control: tags -1 patch

Hello Andreas,

I am attaching a patch that seems to fix the problem. This patch can be
applied on top of the current version in testing, no further changes are
required, but please double-check if the r-deps continue to work. At
least the classes are generated again.

The build should have horribly failed in my opinion because if you take
a look at the build log, there is a ClassCastException which makes it
impossible to generate the class files. This issue in turn is caused by
a change in Java 9 where you can no longer cast URLClassLoader due to
new restrictions, well explained here:

http://java9.wtf/class-loading/

(I love the homepage name)

I tried to follow the solution and hope it helps.

Regards,

Markus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: URLClassLoader.patch
Type: text/x-patch
Size: 2321 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-maintainers/attachments/20190325/5d92cc6c/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-maintainers/attachments/20190325/5d92cc6c/attachment.sig>


More information about the pkg-java-maintainers mailing list