try (java.io.ByteArrayOutputStream out = (java.io.ByteArrayOutputStream) this.httpConnect.getOutputStream();) {
For this line fortify is giving - Unreleased resource:Stream Vulnerability. Any reason? We have already added it into try with resorces.
Do I need to use the old pattern [try.catch/finally] to close the resource?
Here, this.httpConnect is : HttpURLConnection httpConnect = null;
Please provide some suggestions here.