-
Notifications
You must be signed in to change notification settings - Fork 582
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
Resolve code review comments from PR 25148 #25205
Resolve code review comments from PR 25148 #25205
Conversation
#build |
Your personal build request is at https://wasrtc.hursley.ibm.com:9443/jazz/resource/itemOid/com.ibm.team.build.BuildResult/_kPx9AOrAEe2D8Kk7c5d7Ig Target locations of links might be accessible only to IBM employees. |
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.
I am still concerned about the if check at line 406 in URLConnectionHTTPConduit.getInputStream(). You added a Log.fine message which indicates to me that during your testing you must have caught that exception. This concerns me because I think there is a fundamental error in the CXF code here. That if
block appears to have been written for the case where connection.getErrorStream
returned a non-null value (indicating that we are in an error situation). In that case it would be ok to ignore an exception from the following connection.getInputStream()
call. But instead of checking that (in != null)
, they wrote (in == null)
. In that case I don't thing the exception fromgetInputStream
should be ignored. And since you added a Log statement I'm afraid you were seeing one. Either way I think this should be fixed.
I didn't see this exception during my testing, I added a trace statement where exception was being ignored, I thought at least we should log this exception to help us debug problems. I see many instances in CXF code where exceptins are caught and ignored. I have been adding trace statements in these cases whenever I come across such code. |
Thanks for the details Syed. I somehow missed that we were already in an error situation in that section of code. I'll approve now. |
The build sawadood-25205-20230504-1746 For help analyzing your personal build, go to https://libh-proxy1.fyre.ibm.com/cognitive/buildAnalysis.html?uuid=_kPx9AOrAEe2D8Kk7c5d7Ig |
ed6250e
to
f9e7558
Compare
#build doing another PB |
Your personal build request is at https://wasrtc.hursley.ibm.com:9443/jazz/resource/itemOid/com.ibm.team.build.BuildResult/_443SsO2mEe2D8Kk7c5d7Ig Target locations of links might be accessible only to IBM employees. |
The build sawadood-25205-20230508-0755 For help analyzing your personal build, go to https://libh-proxy1.fyre.ibm.com/cognitive/buildAnalysis.html?uuid=_443SsO2mEe2D8Kk7c5d7Ig |
The personal build had 6 failures, all these failures are addressed by existing defect 295783 (https://wasrtc.hursley.ibm.com:9443/jazz/web/projects/WS-CD#action=com.ibm.team.workitem.viewWorkItem&id=295783) and are not related to this fix. |
#run-libby-bot |
1 similar comment
#run-libby-bot |
Code analysis and actionsDO NOT DELETE THIS COMMENT.
|
fixes #25201