Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
maven-shared-utils-0.8
-
None
Description
monitor enter fetched null pointer into variable within synchronized block and close() method on InputStream cannot be called.
private InputStream input; if ( input != null ) { synchronized ( input ) { try { input.close(); } catch ( IOException ex ) { // ignore } input = null; } }