Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Birt 4.7/4.8 throw warnings with Java 9/10
Birt 4.7/4.8 throw warnings with Java 9/10 [message #1795678] Wed, 26 September 2018 17:38 Go to next message
Lucas Santos is currently offline Lucas SantosFriend
Messages: 6
Registered: September 2018
Junior Member
Running Birt 4.7 is throwing some warnings regarding on com.lowagie.text_2.1.7.v201004222200.jar

Here is the warning:
Quote:
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.lowagie.text.pdf.MappedRandomAccessFile$1 (file:/Birt/lib/com.lowagie.text_2.1.7.v201004222200.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


I started researching about it. In Birt 4.8 that library remains. So I was wondering if in future versions of Birt runtime there will be an update to that library, or if it will be replaced in order to avoid this.
Soon or later this will be an exception and something needs to be done

Any idea about that?
Re: Birt 4.7/4.8 throw warnings with Java 9/10 [message #1795944 is a reply to message #1795678] Tue, 02 October 2018 15:43 Go to previous messageGo to next message
Markus Sandmann is currently offline Markus SandmannFriend
Messages: 5
Registered: March 2016
Junior Member
That v2.1.7 of iText is very old and the last open source build as far as i know. More recent versions require licences so i don't think that it will be updated in BIRT any time soon.

Might consider swapping iText out in favor of Apache PDFBox?
Re: Birt 4.7/4.8 throw warnings with Java 9/10 [message #1795947 is a reply to message #1795944] Tue, 02 October 2018 16:28 Go to previous messageGo to next message
Lucas Santos is currently offline Lucas SantosFriend
Messages: 6
Registered: September 2018
Junior Member
But that's something Birt should do, right? I mean.. It is used inside birt runtime library.

Thank you for your reply
Re: Birt 4.7/4.8 throw warnings with Java 9/10 [message #1796187 is a reply to message #1795947] Mon, 08 October 2018 07:10 Go to previous messageGo to next message
Markus Sandmann is currently offline Markus SandmannFriend
Messages: 5
Registered: March 2016
Junior Member
Yes sure, didn't ment to "recommend" you to do that :).
Re: Birt 4.7/4.8 throw warnings with Java 9/10 [message #1797175 is a reply to message #1796187] Fri, 26 October 2018 18:19 Go to previous messageGo to next message
Lucas Santos is currently offline Lucas SantosFriend
Messages: 6
Registered: September 2018
Junior Member
Should I post this in another place? Or Birt Team is aware about this?

any idea?
Re: Birt 4.7/4.8 throw warnings with Java 9/10 [message #1819013 is a reply to message #1797175] Sat, 04 January 2020 19:05 Go to previous message
Kevin Rahe is currently offline Kevin RaheFriend
Messages: 3
Registered: October 2015
Junior Member
I found a workaround for later versions of iText here: https://stackoverflow.com/questions/53301158/itext-java-11-illegal-reflective-access-by-com-itextpdf-io-source-bytebufferran
Perhaps it would work for iText 2.1.7 as well? I tried to research this a little myself, but I cannot find source code for BIRT. (I am using BIRT 4.3.2 and tried looking in the file birt-source-4_3_2.zip, but couldn't find any .java files - lot of .xml files, though.)
Previous Topic:right to left sheets of birt excel report
Next Topic:Problem with percentage calculation
Goto Forum:
  


Current Time: Fri Apr 19 23:56:35 GMT 2024

Powered by FUDForum. Page generated in 0.03784 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top