Caleb Cushing created LANG-1672:
-----------------------------------

             Summary: 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


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)

Reply via email to