Comment 3 for bug 1784043

Revision history for this message
Ole Streicher (olebole) wrote :

I can't reproduce this.

What I did:

 * created a Ubuntu 18.04 chroot, and did a schroot into it
 * added "multiverse universe" to `/etc/apt/sources.list`
 * `apt update`
 * `apt install jython-stilts`

I get warnings, which are created by the startup of Jython:

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by jnr.posix.JavaLibCHelper$ReflectiveAccess (file:/usr/share/java/jnr-posix.jar) to method sun.nio.ch.SelChImpl.getFD()
WARNING: Please consider reporting this to the maintainers of jnr.posix.JavaLibCHelper$ReflectiveAccess
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

But the package installs fine, and a quick test afterwards shows that it imports fine:

(bionic)oles@donar:~$ jython
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by jnr.posix.JavaLibCHelper$ReflectiveAccess (file:/usr/share/java/jnr-posix.jar) to method sun.nio.ch.SelChImpl.getFD()
WARNING: Please consider reporting this to the maintainers of jnr.posix.JavaLibCHelper$ReflectiveAccess
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Jython 2.7.1 (, Oct 22 2017, 13:43:00)
[OpenJDK 64-Bit Server VM (Oracle Corporation)] on java10.0.1
Type "help", "copyright", "credits" or "license" for more information.
>>> import stilts
>>>

The difference is that in the log above, there is a package "ibm-java80-jdk" installed, which however is not part of Ubuntu 18.04.