* gnu/gcj/runtime/NameFinder.java (close): IN, OUT, and PROC can all
be null, check for that case and don't deference it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98573
138bc75d-0d04-0410-961f-
82ee72b054a4
+2005-04-22 Andrew Pinski <pinskia@physics.uc.edu>
+
+ * gnu/gcj/runtime/NameFinder.java (close): IN, OUT, and PROC can all
+ be null, check for that case and don't deference it.
+
2005-04-22 Sven de Marothy <sven@physto.se>
* java/util/logging/LogManager.java: Reformatted.
{
try
{
- in.close();
- out.close();
+ if (in != null)
+ in.close();
+ if (out != null)
+ out.close();
}
catch (IOException x) {}
-
- proc.destroy();
+ if (proc != null)
+ proc.destroy();
}
}