Uploaded image for project: 'Mnemonic'
  1. Mnemonic
  2. MNEMONIC-663

Illegal reflective access operation in ChunkBuffer

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.16.0
    • 0.16.0
    • TestCase
    • None

    Description

      The testcase `ChunkBufferNGTest` shows warning about illegal reflective access operation as

      `

      [INFO] Running org.apache.mnemonic.ChunkBufferNGTest
      [ERROR] WARNING: An illegal reflective access operation has occurred
      [ERROR] WARNING: Illegal reflective access by org.apache.mnemonic.ChunkBuffer (file:/home/gary/mnemonic/mnemonic-core/target/classes/) to field java.nio.Buffer.address
      [ERROR] WARNING: Please consider reporting this to the maintainers of org.apache.mnemonic.ChunkBuffer
      [ERROR] WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
      [ERROR] WARNING: All illegal access operations will be denied in a future release

      `

      the way to reproduce it is

      `mvn -Dtest=ChunkBufferNGTest test -pl mnemonic-core -DskipTests=false`

      Attachments

        Issue Links

          Activity

            People

              chunyonghe Chunyong He
              qichfan Gordon King
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m