-
-
Notifications
You must be signed in to change notification settings - Fork 288
[JENKINS-75443] Removed deprecated finalize methods in favor of Cleaner #794
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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