### Environment

* Dubbo version: master branch latest
* Operating System version: all
* Java version: 1.8

### Step to reproduce this issue
1. start StreamUtils UT
2. using `lsof test-class/StreamUtilsTest.txt` to check opened file handle

### Expected Result
after running all the UT, there shouldn't be any opened handles left

### Actual Result
several file handles left

### How to fix
- `overwrite` the `close` method of `InputStream` constructed in 
`limitedInputStream` and `markSupportedInputStream`
- `close` the InputStream in corresponding UT

[ Full content available at: 
https://github.com/apache/incubator-dubbo/issues/2413 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to