Page 1 of 1

Illegal reflective access

Posted: Wed Mar 27, 2019 7:03 pm
by bloodnok
I'm getting the following build warning:

Code: Select all

[exec] WARNING: An illegal reflective access operation has occurred
[exec] WARNING: Illegal reflective access by ro.sync.net.protocol.Installer (file:/Volumes/Documents/Documents/dita-documentation/tools/oxygen-pdf-chemistry-21.0/lib/oxygen-21.0-20190218.153356-258.jar) to field java.net.URL.handlers
[exec] WARNING: Please consider reporting this to the maintainers of ro.sync.net.protocol.Installer
[exec] WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
[exec] WARNING: All illegal access operations will be denied in a future release
Is this a known issue? It doesn't appear to affect my output so I'm just passing it on if it's not known.

Thanks

Re: Illegal reflective access

Posted: Thu Mar 28, 2019 12:02 pm
by Costin
Hi bloodnok,

This is a known issue caused by the Java 11 which oXygen comes bundled with.
However, it is a warning, not an error so, as it shouldn't affect the output, you should just ignore it.

In the future releases, we will try to have Java 8 bundled in the oXygen installation kits instead, to avoid such issues.

Regards,
Costin