[metrics-bugs] #30544 [Metrics/Library]: Using try-with-resources or close resource

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Aug 29 07:00:57 UTC 2019


#30544: Using try-with-resources or close resource
-----------------------------+------------------------------
 Reporter:  fava             |          Owner:  metrics-team
     Type:  defect           |         Status:  new
 Priority:  Medium           |      Milestone:
Component:  Metrics/Library  |        Version:
 Severity:  Major            |     Resolution:
 Keywords:                   |  Actual Points:
Parent ID:                   |         Points:
 Reviewer:                   |        Sponsor:
-----------------------------+------------------------------

Comment (by fava):

 Hi karsten,

 Replying to [comment:7 karsten]:
 > Looks good to me! Merged all three commits and pushed them to master.
 Sorry for missing the part about not being able to change ticket status,
 I'll try to remember that. Setting this ticket to new for the remaining
 try-with-resources cases, unless you tell me there are none anymore.
 Thanks!

 I found another try-with-resources case please find in attachment a patch
 [[0001-Fix-leaking-resource-in-TorperfResultImpl.java.patch​​]] for this
 last case.

 I also create my remote branch https://github.com/f-a-v-a/metrics-
 lib/tree/30544-try-with-resources-2 .

 I cannot be able to change ticket status as I sown in snapshot [[actions-
 trac-30544.png​​]]

 Let me know
 Best Regards

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/30544#comment:8>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the metrics-bugs mailing list