Message11778

Author jeff.allen
Recipients jeff.allen
Date 2018-03-11.09:29:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1520760600.14.0.467229070634.issue2656@psf.upfronthosting.co.za>
In-reply-to
Content
On Java 9:

PS bugs> jython -J--illegal-access=warn
WARNING: Illegal reflective access by org.python.core.PySystemState (file:/C:/Jython/2.7.2a1/jython.jar) to method java.io.Console.encoding()
WARNING: Illegal reflective access by jnr.posix.JavaLibCHelper (file:/C:/Jython/2.7.2a1/jython.jar) to method sun.nio.ch.SelChImpl.getFD()
WARNING: Illegal reflective access by jnr.posix.JavaLibCHelper (file:/C:/Jython/2.7.2a1/jython.jar) to field sun.nio.ch.FileChannelImpl.fd
WARNING: Illegal reflective access by jnr.posix.JavaLibCHelper (file:/C:/Jython/2.7.2a1/jython.jar) to field java.io.FileDescriptor.fd
WARNING: Illegal reflective access by jnr.posix.JavaLibCHelper (file:/C:/Jython/2.7.2a1/jython.jar) to field java.io.FileDescriptor.handle
Jython 2.7.2a1+ (default:d74f8c2cd56f, Feb 24 2018, 17:18:53)
[Java HotSpot(TM) 64-Bit Server VM (Oracle Corporation)] on java9.0.1

By 2.7.2 it would be nice not to be the poster-child for this new JDK feature:
https://docs.oracle.com/javase/9/migrate/#GUID-7BB28E4D-99B3-4078-BDC4-FC24180CE82B

The infamous one is fixed in jnr.posix (https://github.com/jnr/jnr-posix/issues/108), but others follow if one gives -J--illegal-access=warn. I feel we should at least fix the ones we're directly responsible for.
History
Date User Action Args
2018-03-11 09:30:00jeff.allensetrecipients: + jeff.allen
2018-03-11 09:30:00jeff.allensetmessageid: <1520760600.14.0.467229070634.issue2656@psf.upfronthosting.co.za>
2018-03-11 09:29:59jeff.allenlinkissue2656 messages
2018-03-11 09:29:58jeff.allencreate