You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary D. Gregory (Jira)" <ji...@apache.org> on 2020/12/13 21:00:00 UTC
[jira] [Commented] (CRYPTO-144) Illegal reflective access by
org.apache.commons.crypto.stream.CryptoInputStream
[ https://issues.apache.org/jira/browse/CRYPTO-144?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17248672#comment-17248672 ]
Gary D. Gregory commented on CRYPTO-144:
----------------------------------------
Java 9 and up will warn by default of all reflection.
> Illegal reflective access by org.apache.commons.crypto.stream.CryptoInputStream
> -------------------------------------------------------------------------------
>
> Key: CRYPTO-144
> URL: https://issues.apache.org/jira/browse/CRYPTO-144
> Project: Commons Crypto
> Issue Type: Bug
> Components: Stream
> Affects Versions: 1.0.0
> Environment: Ubuntu Xenial, Java 11.0.2 OpenJDK 64-Bit
> Reporter: Dmytro Titov
> Priority: Minor
>
> {code:java}
> WARNING: An illegal reflective access operation has occurred
> WARNING: Illegal reflective access by org.apache.commons.crypto.stream.CryptoInputStream (<path>/crypt4gh.jar) to method sun.nio.ch.DirectBuffer.cleaner()
> WARNING: Please consider reporting this to the maintainers of org.apache.commons.crypto.stream.CryptoInputStream
> 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
> {code}
> This happens when used on Java 9+. With Java 8 this warning doesn't seem to occur.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)