Skip to content

InputStream never closed when using JasperReports 3.x [SPR-7048] #11709

@spring-projects-issues

Description

@spring-projects-issues

Leandro Borges opened SPR-7048 and commented

At org.springframework.web.servlet.view.jasperreports.AbstractJasperReportsView the method:

"protected final JasperReport loadReport(Resource resource)"

should close the InputStream (from resource.getInputStream()) after load the JasperReport.
This cause a warning:
"WARNING: Input stream has been finalized or forced closed without being explicitly closed; stream instantiation reported in following stack trace"
at glassfish after redeploy.


Affects: 2.5.6

Referenced from: commits fba8bcc

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions