Skip to content

fix(benchmarks): add jasperreports-pdf for JR7 PDF export (hotfix to main)#136

Merged
DemchaAV merged 1 commit into
mainfrom
fix/benchmarks-jasper-pdf-main
Jun 7, 2026
Merged

fix(benchmarks): add jasperreports-pdf for JR7 PDF export (hotfix to main)#136
DemchaAV merged 1 commit into
mainfrom
fix/benchmarks-jasper-pdf-main

Conversation

@DemchaAV

@DemchaAV DemchaAV commented Jun 7, 2026

Copy link
Copy Markdown
Owner

Hotfix -> main

Ports the JasperReports 7 PDF-export fix (already on develop via #133) to the released main line.

ComparativeBenchmark#benchmarkJasper calls JasperExportManager.exportReportToPdf, which fails at runtime with Missing JasperReports PDF Extension (jasperreports-pdf-x.x.x.jar). JasperReports 7 split PDF export out of the core jar into a separate jasperreports-pdf module that was not on the classpath, so scripts/run-benchmarks.ps1 dies at step 03-comparative on main too. The current-speed suite is unaffected.

Fix: add net.sf.jasperreports:jasperreports-pdf at the same ${jasperreports.version} (7.0.7). Benchmark-only — does not touch the published graph-compose jar.

Verification

./mvnw -f benchmarks/pom.xml exec:java -Dexec.mainClass=com.demcha.compose.ComparativeBenchmark on this branch -> BUILD SUCCESS; JasperReports renders (GraphCompose ~3.9 ms / iText ~2.7 ms / JasperReports ~6.5 ms).

…iveBenchmark

JasperReports 7 modularised PDF export out of the core jasperreports jar into a separate jasperreports-pdf extension. ComparativeBenchmark#benchmarkJasper calls JasperExportManager.exportReportToPdf, which failed at runtime with "Missing JasperReports PDF Extension (jasperreports-pdf-x.x.x.jar)" because only the core artifact was on the classpath.

Add jasperreports-pdf at the same ${jasperreports.version} (7.0.7). The current-speed suite was unaffected; only the comparative step (03-comparative in run-benchmarks.ps1) was broken.
@DemchaAV DemchaAV merged commit 7c0374d into main Jun 7, 2026
11 checks passed
@DemchaAV DemchaAV deleted the fix/benchmarks-jasper-pdf-main branch June 7, 2026 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant