You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bcel-dev@jakarta.apache.org by md...@apache.org on 2002/04/03 16:42:29 UTC

cvs commit: jakarta-bcel/src/java/org/apache/bcel Repository.java

mdahm       02/04/03 06:42:29

  Modified:    src/java/org/apache/bcel Repository.java
  Log:
  align behaviour
  
  Revision  Changes    Path
  1.5       +3 -2      jakarta-bcel/src/java/org/apache/bcel/Repository.java
  
  Index: Repository.java
  ===================================================================
  RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/Repository.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- Repository.java	15 Mar 2002 08:47:39 -0000	1.4
  +++ Repository.java	3 Apr 2002 14:42:28 -0000	1.5
  @@ -68,7 +68,7 @@
    * the repository or been added with addClass() manually. This is
    * because we have to check for real object identity (==).
    *
  - * @version $Id: Repository.java,v 1.4 2002/03/15 08:47:39 mdahm Exp $
  + * @version $Id: Repository.java,v 1.5 2002/04/03 14:42:28 mdahm Exp $
    * @author <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A
    */
   public abstract class Repository {
  @@ -127,7 +127,8 @@
   	InputStream is = clazz.getResourceAsStream(name + ".class");
   	j_class = new ClassParser(is, class_name).parse();
         } catch(IOException e) {
  -	throw new RuntimeException(e.getMessage());
  +	//System.err.println(e);
  +	return null; // Use same behaviour as above
         }
   
         classes.put(class_name, j_class);
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>