TIBCOSoftware / jasperreports

JasperReports® - Free Java Reporting Library
https://community.jaspersoft.com/downloads/community-edition/
GNU Lesser General Public License v3.0
1.07k stars 404 forks source link

Speed regression in JRAntCompileTask when migrating from java 8 to java 17. #491

Closed pohart closed 6 days ago

pohart commented 3 weeks ago

I'm compiling 143 reports using JRAntCompileTask with Jasperreport 6.17. Under Java 8 it takes 40-45 seconds. Under Java 17 it take 110-155 seconds.

teodord commented 3 weeks ago

What is your operating system? Do you have the ECJ (Eclipse Compiler for Java) JAR in your classpath?

Thank you, Teodor

teodord commented 6 days ago

Feel free to reopen this in case you can provide more details about the problem. I'm attaching here a zip with dummy reports that you could drop into the /demo/samples/antcompile folder of your JRL project distribution and try compile them with different Java version to see if there is a difference. I did not notice a significant different on my side.

Thank you, Teodor reports.zip