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

[email protected]
Newsgroups gmane.comp.jakarta.bcel.devel
Message-ID <[email protected]>
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:[email protected]">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);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.