Bug#896929: java.ext.dirs is gone

Markus Koschany apo at debian.org
Tue May 1 15:14:48 BST 2018


Am 01.05.2018 um 15:48 schrieb debian at fau.xxx:
> I traced this problem to RXTXCommDriver.java:415:
> System.getProperty("java.ext.dirs") comes back null. It's illegal to
> -Djava.ext.dirs on Java 10/11. The easiest fix appears to be to add a
> second argument (default value) of the empty string, which makes the
> code/loop a noop. That, or try and switch it over to classpath? It's
> unclear to me where it's expecting to find a property file file, but
> maybe it does in some setups.
> 
> Debugging is a lot easier if you add e.printStackTrace(); to all three
> /thrown while loading/ catch and discard blocks.
> 
> Also, the package fails to build for me on Ubuntu's Java "11" (i.e. Java
> 10 in a weird package name), due to javah removal.
> 
> Chris.

Thanks Chris for the analysis. I don't believe there will be any
upstream support for Java 11 though. According to
https://github.com/rxtx/rxtx the last activity was three years ago but
significant changes date even back five years. Arduino should be ported
away from rxtx instead.

This package has four reverse-dependencies at the moment:

arduino
jtharness
ucrpf1host
mina2

Regards,

Markus

-------------- 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/20180501/9656ffd8/attachment.sig>


More information about the pkg-java-maintainers mailing list