You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by ne...@apache.org on 2003/01/06 17:37:04 UTC

cvs commit: xml-xerces/java/src/javax/xml/parsers FactoryFinder.java

neilg       2003/01/06 08:37:03

  Modified:    java/src/javax/xml/parsers FactoryFinder.java
  Log:
  sync JAXP code up with tck-jaxp-1_2_0 branch from xml-commons.  This closes the file input stream we opened when reading the jaxp.properties file.
  
  Revision  Changes    Path
  1.7       +1 -0      xml-xerces/java/src/javax/xml/parsers/FactoryFinder.java
  
  Index: FactoryFinder.java
  ===================================================================
  RCS file: /home/cvs/xml-xerces/java/src/javax/xml/parsers/FactoryFinder.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- FactoryFinder.java	26 Aug 2002 23:53:48 -0000	1.6
  +++ FactoryFinder.java	6 Jan 2003 16:37:03 -0000	1.7
  @@ -159,6 +159,7 @@
                   dPrint("found in jaxp.properties, value=" + factoryClassName);
                   return newInstance(factoryClassName, cl, true);
               }
  +            fis.close();
           } catch (Exception x) {
               // assert(x instanceof FileNotFoundException
               //        || x instanceof SecurityException)
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org