Uploaded image for project: 'Commons Lang'
  1. Commons Lang
  2. LANG-1672

Illegal refective access to sun FileChannelImpl.positionLock

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Blocker
    • Resolution: Invalid
    • 3.12.0
    • None
    • lang.reflect.*
    • None

    Description

      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.

      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
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            xenoterracide Caleb Cushing
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: