Issue2822

classification
Title: Add support for Java 11
Type: behaviour Severity: major
Components: Core Versions: Jython 2.7.1
Milestone:
process
Status: closed Resolution: invalid
Dependencies: Superseder:
Assigned To: Nosy List: jeff.allen, respenica
Priority: normal Keywords:

Created on 2019-11-04.16:17:59 by respenica, last changed 2019-12-24.10:30:38 by jeff.allen.

Messages
msg12750 (view) Author: Roberto Espenica (respenica) Date: 2019-11-04.16:17:59
When running with Java 11 (OpenJDK Runtime Environment Corretto-11.0.5.10.1) and Jython 2.7.1, 2.7.2 Beta 1 and Beta 2, the below warning is shown:

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.python.core.PySystemState (file:/robotframework-3.1.2.jar) to method java.io.Console.encoding()
WARNING: Please consider reporting this to the maintainers of org.python.core.PySystemState
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
msg12756 (view) Author: Jeff Allen (jeff.allen) Date: 2019-11-05.20:23:14
We support Java 11. Even if you get these messages, it still runs. However, in 2.7.2 we have done a lot to eliminate them. (You only get them now, I think, if you insist on an int file descriptor.)

You appear to be loading PySystemState from the robot JAR which (I assume) contains an older copy than the 2.7.2b2 that may also be on your path.
History
Date User Action Args
2019-12-24 10:30:38jeff.allensetstatus: pending -> closed
2019-11-05 20:23:14jeff.allensetpriority: normal
status: open -> pending
resolution: invalid
messages: + msg12756
nosy: + jeff.allen
2019-11-04 16:18:00respenicacreate