Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0057436
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminorhave not tried2024-12-12 08:412024-12-19 08:40
ReportercaristuView Statuspublic 
Assigned ToTriage Platform Base 
PriorityhighResolutionfixedFixed in VersionPR25Q1
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Merge Request Statusapproved
Review Assigned To
OBNetwork customerNo
Web browser
ModulesCore
Support ticket
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0057436: Resource leak warning in CentralRepository

DescriptionThere is a warning in the line 136 of the CentralRepository class: "Resource leak: '<unassigned Closeable value>' is never closed".

This warning appears starting from Eclipse 2024-12; previous versions detect it only if "potential resource leak" warn is enabled.
Steps To Reproduce.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0173214)
hgbot (developer)
2024-12-12 08:47

Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1473 [^]
(0173482)
hgbot (developer)
2024-12-19 08:31

Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1473 [^]
(0173483)
hgbot (developer)
2024-12-19 08:31

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: 9e2d7cb15db28f8eeece2c1b6c00851a61f05846
Author: Carlos Aristu <c.aristu@orisha.com>
Date: 19-12-2024 08:28:55
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/9e2d7cb15db28f8eeece2c1b6c00851a61f05846 [^]

fixes BUG-57436: fix resource leak warning

  Close unclosed BufferedReader by placing it into the
try-with-resources statement.

---
M src/org/openbravo/service/centralrepository/CentralRepository.java
---

- Issue History
Date Modified Username Field Change
2024-12-12 08:41 caristu New Issue
2024-12-12 08:41 caristu Assigned To => Triage Platform Base
2024-12-12 08:41 caristu OBNetwork customer => No
2024-12-12 08:41 caristu Modules => Core
2024-12-12 08:41 caristu Triggers an Emergency Pack => No
2024-12-12 08:47 hgbot Merge Request Status => open
2024-12-12 08:47 hgbot Note Added: 0173214
2024-12-19 08:31 hgbot Merge Request Status open => approved
2024-12-19 08:31 hgbot Note Added: 0173482
2024-12-19 08:31 hgbot Resolution open => fixed
2024-12-19 08:31 hgbot Status new => closed
2024-12-19 08:31 hgbot Fixed in Version => PR25Q1
2024-12-19 08:31 hgbot Note Added: 0173483
2024-12-19 08:39 caristu Description Updated View Revisions
2024-12-19 08:39 caristu Description Updated View Revisions
2024-12-19 08:40 caristu Description Updated View Revisions


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker