[
https://issues.apache.org/jira/browse/LANG-1672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17417204#comment-17417204
]
Gary D. Gregory edited comment on LANG-1672 at 9/18/21, 6:24 PM:
-----------------------------------------------------------------
I am sorry but this type of ticket is useless especially with "though I haven't
actually tried". Not only that but is is wrong since our Java 17 builds disable
the warning and is green, see:
https://github.com/apache/commons-lang/actions
was (Author: garydgregory):
I am sorry but this type of ticket is useless especially with "though I haven't
actually tried". Not only that but is is wrong since our Java 17 builds disable
the warning and is green, see:
https://github.com/apache/commons-lang/actions(-)
> Illegal refective access to sun FileChannelImpl.positionLock
> ------------------------------------------------------------
>
> Key: LANG-1672
> URL: https://issues.apache.org/jira/browse/LANG-1672
> Project: Commons Lang
> Issue Type: New Feature
> Components: lang.reflect.*
> Affects Versions: 3.12.0
> Reporter: Caleb Cushing
> Priority: Blocker
>
> I believe this code will not execute properly on java 17 though I haven't
> actually tried that My understanding though is that that is the version
> they're turning this off, especially for sun access. I did try changing my
> module info to allow it, but I believe it would be yours that needs changing.
> I also believe that yours won't be able to access sun.nio in java 17, at all.
> {code:java}
> WARNING: Illegal reflective access by
> org.apache.commons.lang3.reflect.FieldUtils
> (file:/home/xeno/.gradle/caches/modules-2/files-2.1/org.apache.commons/commons-lang3/3.12.0/c6842c86792ff03b9f1d1fe2aab8dc23aa6c6f0e/commons-lang3-3.12.0.jar)
> to field sun.nio.ch.FileChannelImpl.positionLock
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)