javaException is created but not thrown or logged in
DRDAConnThread.closeStream(InputStream stream)
----------------------------------------------------------------------------------------------------
Key: DERBY-4350
URL: https://issues.apache.org/jira/browse/DERBY-4350
Project: Derby
Issue Type: Bug
Components: Network Server
Affects Versions: 10.5.3.1, 10.6.0.0
Reporter: Kathey Marsden
Priority: Minor
I noticed this code in DRDAConnThread.closesStream(InputStream stream)
private static void closeStream(InputStream stream){
try{
if (stream != null)
stream.close();
} catch (IOException e) {
Util.javaException(e);
}
}
I think the javaException won't be thrown or logged and the underlying
IOException will be lost. I have not investigated whether it should be thrown
or just logged, but should be addressed with the DERBY-1191 fix.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.