We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Getting a Warning when Converting PowerPoint Presentation to PDF

I am getting the following warning message while converting Powerpoint (.ppt, .pptx) files to PDF.

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.aspose.slides.internal.gy.do 
(file:/******/.m2/repository/com/aspose/aspose-slides/21.10/aspose-slides-21.10-jdk16.jar) to method sun.font.FontUtilities.getFont2D(java.awt.Font)
WARNING: Please consider reporting this to the maintainers of com.aspose.slides.internal.gy.do
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 just save my presentation object to an Outputstream using com.aspose.slides.SaveFormat.Pdf

Thank you for contacting support.

These warnings are related to using JDK 9 or higher (see for reference). These warnings can be suppressed by IDE.

So this will not effect my application in any future releases?

At the moment, I can only say that these warnings does not affect PDF conversions.

Okay great, thanks!

Our developers reported that these warnings will not affect your application.