Uploaded image for project: 'Keikai'
  1. Keikai
  2. KEIKAI-410

Issue1028Test complains iText 2.1.7

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 5.12.0
    • 5.5.0
    • None
    • None

      Steps to Reproduce

      Run Issue1028Test in keikai.test

      Current Result

      ...adoptopenjdk-11.jdk/Contents/Home/bin/java ...

      WARNING: An illegal reflective access operation has occurred
      WARNING: Illegal reflective access by com.lowagie.text.pdf.MappedRandomAccessFile$1 (file:/Users/henri/.m2/repository/com/lowagie/itext/2.1.7/itext-2.1.7.jar) to method java.nio.DirectByteBuffer.cleaner()
      WARNING: Please consider reporting this to the maintainers of com.lowagie.text.pdf.MappedRandomAccessFile$1
      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

      Expected Result

      No such warning

      Debug Information

      Seems has something to do since Java 9 change some security check

      There is an forked open source version "OpenPdf" which might solve this issue (It is backward compatible to iText 2.1.7)

      https://github.com/LibrePDF/OpenPDF

      Workaround

       

            Unassigned Unassigned
            henrichen henrichen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: