RapperCL opened a new issue, #5254:
URL: https://github.com/apache/rocketmq/issues/5254

   # serviceProvider
   1 inputStream close 
   The load and loadClass methods do not actively close the inputStream
   <img width="1049" alt="image" 
src="https://user-images.githubusercontent.com/44110731/194739366-39d9ee61-f3b5-4a60-9e28-47e9ea57f2d2.png";>
   2 BufferedReader close
   When the BufferReader file stream reads an exception, the close() method 
will not be executed
   <img width="1143" alt="image" 
src="https://user-images.githubusercontent.com/44110731/194739416-c7d66212-2230-478d-ab7b-f5299e24a57b.png";>
   
   
   We should actively close the byte stream inputStream and character stream 
BufferedReader, and consider exceptions.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@rocketmq.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to