[JENKINS-75443] Removed deprecated finalize methods in favor of Cleaner#794
[JENKINS-75443] Removed deprecated finalize methods in favor of Cleaner#794akash-manna-sky wants to merge 1 commit intojenkinsci:masterfrom
Conversation
|
Hello @basil Please review the changes |
8befaec to
fa86fa1
Compare
c7faf21 to
b85076c
Compare
|
@timja I make few changes. Please review the changes. |
|
I don't know anything about this area so am uncomfortable reviewing this right now. Thanks for the pull request though. |
1d636d6 to
0cf381b
Compare
jglick
left a comment
There was a problem hiding this comment.
The Proxy* changes look right from a quick glance but the FastPiped*Stream changes do not. Not sure, I do not have much experience with Cleaner and it seems very prone to misuse, especially if there is no test coverage for the existing finalize methods (as I suspect).
Refactoring suggested by @basil in the context of jenkinsci/jenkins#8486 FTR.
0cf381b to
c5b50db
Compare
|
or #796 |
7730e38 to
db34b17
Compare
|
@jglick I make few changes as you requested. Please review the changes. Thanks |
|
I will add both to my review backlog but it might take a while. These also probably need testing in |
db34b17 to
0091f40
Compare
|
Hello @jglick Thanks for your time! |
5b23f28 to
2df8845
Compare
2df8845 to
b207784
Compare
b207784 to
c1ed505
Compare
|
Hello @jglick, |
c1ed505 to
19408f1
Compare
19408f1 to
8ecd271
Compare
8ecd271 to
021a4e4
Compare
021a4e4 to
2747aa3
Compare
d4a58bd to
2af12b8
Compare
2af12b8 to
6bfaf3c
Compare
6bfaf3c to
6322e9c
Compare
|
Any updates on this PR? Could you please review this PR? |
JENKINS-75443
Fix #1509
I added Cleaner for resource management in FastPipedInputStream, FastPipedOutputStream, ProxyOutputStream, and ProxyWriter
Testing done
Submitter checklist