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/03/11 17:16:38 UTC

cvs commit: jakarta-bcel/src/java/org/apache/bcel/generic IXOR.java InstructionList.java LXOR.java LineNumberGen.java

mdahm       02/03/11 08:16:38

  Modified:    src/java/org/apache/bcel/classfile Attribute.java
                        ClassParser.java Code.java CodeException.java
                        ConstantCP.java ConstantClass.java
                        ConstantDouble.java ConstantFieldref.java
                        ConstantFloat.java ConstantInteger.java
                        ConstantInterfaceMethodref.java ConstantLong.java
                        ConstantMethodref.java ConstantNameAndType.java
                        ConstantObject.java ConstantPool.java
                        ConstantString.java ConstantUtf8.java
                        ConstantValue.java Deprecated.java
                        ExceptionTable.java FieldOrMethod.java
                        InnerClass.java InnerClasses.java JavaClass.java
                        LineNumber.java LineNumberTable.java
                        LocalVariable.java LocalVariableTable.java
                        Method.java PMGClass.java Signature.java
                        SourceFile.java StackMap.java StackMapEntry.java
                        StackMapType.java Synthetic.java Unknown.java
                        Utility.java
               src/java/org/apache/bcel/generic IXOR.java
                        InstructionList.java LXOR.java LineNumberGen.java
  Log:
  Small fixes
  
  Revision  Changes    Path
  1.6       +5 -5      jakarta-bcel/src/java/org/apache/bcel/classfile/Attribute.java
  
  Index: Attribute.java
  ===================================================================
  RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/classfile/Attribute.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- Attribute.java	7 Mar 2002 08:58:56 -0000	1.5
  +++ Attribute.java	11 Mar 2002 16:16:35 -0000	1.6
  @@ -66,7 +66,7 @@
    * <em>Synthetic</em> attributes are supported. The
    * <em>Unknown</em> attribute stands for non-standard-attributes.
    *
  - * @version $Id: Attribute.java,v 1.5 2002/03/07 08:58:56 mdahm Exp $
  + * @version $Id: Attribute.java,v 1.6 2002/03/11 16:16:35 mdahm Exp $
    * @author  <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A>
    * @see     ConstantValue
    * @see     SourceFile
  @@ -107,7 +107,7 @@
      * Dump attribute to file stream in binary format.
      *
      * @param file Output file stream
  -   * @throw IOException
  +   * @throws IOException
      */
     public void dump(DataOutputStream file) throws IOException
     {
  @@ -145,9 +145,9 @@
      * @param  file Input stream
      * @param  constant_pool Array of constants
      * @return Attribute
  -   * @throw  IOException
  -   * @throw  ClassFormatError
  -   * @throw InternalError
  +   * @throws  IOException
  +   * @throws  ClassFormatError
  +   * @throws InternalError
      */
     public static final Attribute readAttribute(DataInputStream file,
   						 ConstantPool constant_pool)
  
  
  
  1.2       +21 -21    jakarta-bcel/src/java/org/apache/bcel/classfile/ClassParser.java
  
  Index: ClassParser.java
  ===================================================================
  RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/classfile/ClassParser.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ClassParser.java	29 Oct 2001 19:59:57 -0000	1.1
  +++ ClassParser.java	11 Mar 2002 16:16:35 -0000	1.2
  @@ -71,7 +71,7 @@
    * JVM specification 1.0</a>. See this paper for
    * further details about the structure of a bytecode file.
    *
  - * @version $Id: ClassParser.java,v 1.1 2001/10/29 19:59:57 jvanzyl Exp $
  + * @version $Id: ClassParser.java,v 1.2 2002/03/11 16:16:35 mdahm Exp $
    * @author  <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A>
    */
   public final class ClassParser {
  @@ -111,7 +111,7 @@
     /** Parse class from given .class file.
      *
      * @param file_name file name
  -   * @throw IOException
  +   * @throws IOException
      */
     public ClassParser(String file_name) throws IOException
     {    
  @@ -124,7 +124,7 @@
     /** Parse class from given .class file in a ZIP-archive
      *
      * @param file_name file name
  -   * @throw IOException
  +   * @throws IOException
      */
     public ClassParser(String zip_file, String file_name) throws IOException
     {    
  @@ -146,8 +146,8 @@
      * is performed by the java interpreter).
      *
      * @return Class object representing the parsed class file
  -   * @throw  IOException
  -   * @throw  ClassFormatError
  +   * @throws  IOException
  +   * @throws  ClassFormatError
      */  
     public JavaClass parse() throws IOException, ClassFormatError
     {
  @@ -209,8 +209,8 @@
   
     /**
      * Read information about the attributes of the attributes of the class.
  -   * @throw  IOException
  -   * @throw  ClassFormatError
  +   * @throws  IOException
  +   * @throws  ClassFormatError
      */
     private final void readAttributes() throws IOException, ClassFormatError
     {
  @@ -225,8 +225,8 @@
   
     /**
      * Read information about the class and its super class.
  -   * @throw  IOException
  -   * @throw  ClassFormatError
  +   * @throws  IOException
  +   * @throws  ClassFormatError
      */
     private final void readClassInfo() throws IOException, ClassFormatError
     {
  @@ -247,8 +247,8 @@
     }    
     /**
      * Read constant pool entries.
  -   * @throw  IOException
  -   * @throw  ClassFormatError
  +   * @throws  IOException
  +   * @throws  ClassFormatError
      */
     private final void readConstantPool() throws IOException, ClassFormatError
     {
  @@ -257,8 +257,8 @@
   
     /**
      * Read information about the fields of the class, i.e., its variables.
  -   * @throw  IOException
  -   * @throw  ClassFormatError
  +   * @throws  IOException
  +   * @throws  ClassFormatError
      */
     private final void readFields() throws IOException, ClassFormatError
     {
  @@ -276,8 +276,8 @@
     /**
      * Check whether the header of the file is ok.
      * Of course, this has to be the first action on successive file reads.
  -   * @throw  IOException
  -   * @throw  ClassFormatError
  +   * @throws  IOException
  +   * @throws  ClassFormatError
      */
     private final void readID() throws IOException, ClassFormatError
     {
  @@ -288,8 +288,8 @@
     }    
     /**
      * Read information about the interfaces implemented by this class.
  -   * @throw  IOException
  -   * @throw  ClassFormatError
  +   * @throws  IOException
  +   * @throws  ClassFormatError
      */
     private final void readInterfaces() throws IOException, ClassFormatError
     {
  @@ -303,8 +303,8 @@
     }     
     /**
      * Read information about the methods of the class.
  -   * @throw  IOException
  -   * @throw  ClassFormatError
  +   * @throws  IOException
  +   * @throws  ClassFormatError
      */
     private final void readMethods() throws IOException, ClassFormatError
     {
  @@ -318,8 +318,8 @@
     }      
     /**
      * Read major and minor version of compiler which created the file.
  -   * @throw  IOException
  -   * @throw  ClassFormatError
  +   * @throws  IOException
  +   * @throws  ClassFormatError
      */
     private final void readVersion() throws IOException, ClassFormatError
     {
  
  
  
  1.2       +2 -2      jakarta-bcel/src/java/org/apache/bcel/classfile/Code.java
  
  Index: Code.java
  ===================================================================
  RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/classfile/Code.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Code.java	29 Oct 2001 19:59:58 -0000	1.1
  +++ Code.java	11 Mar 2002 16:16:35 -0000	1.2
  @@ -69,7 +69,7 @@
    * is used for debugging purposes and <em>LocalVariableTable</em> which 
    * contains information about the local variables.
    *
  - * @version $Id: Code.java,v 1.1 2001/10/29 19:59:58 jvanzyl Exp $
  + * @version $Id: Code.java,v 1.2 2002/03/11 16:16:35 mdahm Exp $
    * @author  <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A>
    * @see     Attribute
    * @see     CodeException
  @@ -182,7 +182,7 @@
      * Dump code attribute to file stream in binary format.
      *
      * @param file Output file stream
  -   * @throw IOException
  +   * @throws IOException
      */ 
     public final void dump(DataOutputStream file) throws IOException
     {
  
  
  
  1.2       +3 -3      jakarta-bcel/src/java/org/apache/bcel/classfile/CodeException.java
  
  Index: CodeException.java
  ===================================================================
  RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/classfile/CodeException.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- CodeException.java	29 Oct 2001 19:59:58 -0000	1.1
  +++ CodeException.java	11 Mar 2002 16:16:35 -0000	1.2
  @@ -62,7 +62,7 @@
    * attribute and is used only there. It contains a range in which a
    * particular exception handler is active.
    *
  - * @version $Id: CodeException.java,v 1.1 2001/10/29 19:59:58 jvanzyl Exp $
  + * @version $Id: CodeException.java,v 1.2 2002/03/11 16:16:35 mdahm Exp $
    * @author  <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A>
    * @see     Code
    */
  @@ -86,7 +86,7 @@
     /**
      * Construct object from file stream.
      * @param file Input stream
  -   * @throw IOException
  +   * @throws IOException
      */  
     CodeException(DataInputStream file) throws IOException
     {
  @@ -127,7 +127,7 @@
      * Dump code exception to file stream in binary format.
      *
      * @param file Output file stream
  -   * @throw IOException
  +   * @throws IOException
      */ 
     public final void dump(DataOutputStream file) throws IOException
     {
  
  
  
  1.2       +3 -3      jakarta-bcel/src/java/org/apache/bcel/classfile/ConstantCP.java
  
  Index: ConstantCP.java
  ===================================================================
  RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/classfile/ConstantCP.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ConstantCP.java	29 Oct 2001 19:59:58 -0000	1.1
  +++ ConstantCP.java	11 Mar 2002 16:16:35 -0000	1.2
  @@ -59,7 +59,7 @@
   /** 
    * Abstract super class for Fieldref and Methodref constants.
    *
  - * @version $Id: ConstantCP.java,v 1.1 2001/10/29 19:59:58 jvanzyl Exp $
  + * @version $Id: ConstantCP.java,v 1.2 2002/03/11 16:16:35 mdahm Exp $
    * @author  <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A>
    * @see     ConstantFieldref
    * @see     ConstantMethodref
  @@ -82,7 +82,7 @@
      *
      * @param tag  Constant type tag
      * @param file Input stream
  -   * @throw IOException
  +   * @throws IOException
      */
     ConstantCP(byte tag, DataInputStream file) throws IOException
     {
  @@ -104,7 +104,7 @@
      * Dump constant field reference to file stream in binary format.
      *
      * @param file Output file stream
  -   * @throw IOException
  +   * @throws IOException
      */ 
     public final void dump(DataOutputStream file) throws IOException
     {
  
  
  
  1.3       +3 -3      jakarta-bcel/src/java/org/apache/bcel/classfile/ConstantClass.java
  
  Index: ConstantClass.java
  ===================================================================
  RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/classfile/ConstantClass.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ConstantClass.java	1 Mar 2002 10:18:05 -0000	1.2
  +++ ConstantClass.java	11 Mar 2002 16:16:35 -0000	1.3
  @@ -62,7 +62,7 @@
    * <A HREF="org.apache.bcel.classfile.Constant.html">Constant</A> class 
    * and represents a reference to a (external) class.
    *
  - * @version $Id: ConstantClass.java,v 1.2 2002/03/01 10:18:05 mdahm Exp $
  + * @version $Id: ConstantClass.java,v 1.3 2002/03/11 16:16:35 mdahm Exp $
    * @author  <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A>
    * @see     Constant
    */
  @@ -80,7 +80,7 @@
      * Initialize instance from file data.
      *
      * @param file Input stream
  -   * @throw IOException
  +   * @throws IOException
      */
     ConstantClass(DataInputStream file) throws IOException
     {    
  @@ -111,7 +111,7 @@
      * Dump constant class to file stream in binary format.
      *
      * @param file Output file stream
  -   * @throw IOException
  +   * @throws IOException
      */ 
     public final void dump(DataOutputStream file) throws IOException
     {
  
  
  
  1.2       +3 -3      jakarta-bcel/src/java/org/apache/bcel/classfile/ConstantDouble.java
  
  Index: ConstantDouble.java
  ===================================================================
  RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/classfile/ConstantDouble.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ConstantDouble.java	29 Oct 2001 19:59:58 -0000	1.1
  +++ ConstantDouble.java	11 Mar 2002 16:16:35 -0000	1.2
  @@ -62,7 +62,7 @@
    * <A HREF="org.apache.bcel.classfile.Constant.html">Constant</A> class 
    * and represents a reference to a Double object.
    *
  - * @version $Id: ConstantDouble.java,v 1.1 2001/10/29 19:59:58 jvanzyl Exp $
  + * @version $Id: ConstantDouble.java,v 1.2 2002/03/11 16:16:35 mdahm Exp $
    * @author  <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A>
    * @see     Constant
    */
  @@ -88,7 +88,7 @@
      * Initialize instance from file data.
      *
      * @param file Input stream
  -   * @throw IOException
  +   * @throws IOException
      */
     ConstantDouble(DataInputStream file) throws IOException
     {    
  @@ -109,7 +109,7 @@
      * Dump constant double to file stream in binary format.
      *
      * @param file Output file stream
  -   * @throw IOException
  +   * @throws IOException
      */ 
     public final void dump(DataOutputStream file) throws IOException
     {
  
  
  
  1.2       +2 -2      jakarta-bcel/src/java/org/apache/bcel/classfile/ConstantFieldref.java
  
  Index: ConstantFieldref.java
  ===================================================================
  RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/classfile/ConstantFieldref.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ConstantFieldref.java	29 Oct 2001 19:59:58 -0000	1.1
  +++ ConstantFieldref.java	11 Mar 2002 16:16:35 -0000	1.2
  @@ -60,7 +60,7 @@
   /** 
    * This class represents a constant pool reference to a field.
    *
  - * @version $Id: ConstantFieldref.java,v 1.1 2001/10/29 19:59:58 jvanzyl Exp $
  + * @version $Id: ConstantFieldref.java,v 1.2 2002/03/11 16:16:35 mdahm Exp $
    * @author  <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A>
    */
   public final class ConstantFieldref extends ConstantCP {
  @@ -75,7 +75,7 @@
      * Initialize instance from file data.
      *
      * @param file input stream
  -   * @throw IOException
  +   * @throws IOException
      */
     ConstantFieldref(DataInputStream file) throws IOException
     {
  
  
  
  1.2       +3 -3      jakarta-bcel/src/java/org/apache/bcel/classfile/ConstantFloat.java
  
  Index: ConstantFloat.java
  ===================================================================
  RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/classfile/ConstantFloat.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ConstantFloat.java	29 Oct 2001 19:59:58 -0000	1.1
  +++ ConstantFloat.java	11 Mar 2002 16:16:35 -0000	1.2
  @@ -62,7 +62,7 @@
    * <A HREF="org.apache.bcel.classfile.Constant.html">Constant</A> class 
    * and represents a reference to a float object.
    *
  - * @version $Id: ConstantFloat.java,v 1.1 2001/10/29 19:59:58 jvanzyl Exp $
  + * @version $Id: ConstantFloat.java,v 1.2 2002/03/11 16:16:35 mdahm Exp $
    * @author  <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A>
    * @see     Constant
    */
  @@ -88,7 +88,7 @@
      * Initialize instance from file data.
      *
      * @param file Input stream
  -   * @throw IOException
  +   * @throws IOException
      */
     ConstantFloat(DataInputStream file) throws IOException
     {    
  @@ -108,7 +108,7 @@
      * Dump constant float to file stream in binary format.
      *
      * @param file Output file stream
  -   * @throw IOException
  +   * @throws IOException
      */ 
     public final void dump(DataOutputStream file) throws IOException
     {
  
  
  
  1.2       +3 -3      jakarta-bcel/src/java/org/apache/bcel/classfile/ConstantInteger.java
  
  Index: ConstantInteger.java
  ===================================================================
  RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/classfile/ConstantInteger.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ConstantInteger.java	29 Oct 2001 19:59:59 -0000	1.1
  +++ ConstantInteger.java	11 Mar 2002 16:16:35 -0000	1.2
  @@ -64,7 +64,7 @@
    * <A HREF="org.apache.bcel.classfile.Constant.html">Constant</A> class 
    * and represents a reference to an int object.
    *
  - * @version $Id: ConstantInteger.java,v 1.1 2001/10/29 19:59:59 jvanzyl Exp $
  + * @version $Id: ConstantInteger.java,v 1.2 2002/03/11 16:16:35 mdahm Exp $
    * @author  <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A>
    * @see     Constant
    */
  @@ -91,7 +91,7 @@
      * Initialize instance from file data.
      *
      * @param file Input stream
  -   * @throw IOException
  +   * @throws IOException
      */
     ConstantInteger(DataInputStream file) throws IOException
     {    
  @@ -113,7 +113,7 @@
      * Dump constant integer to file stream in binary format.
      *
      * @param file Output file stream
  -   * @throw IOException
  +   * @throws IOException
      */ 
     public final void dump(DataOutputStream file) throws IOException
     {
  
  
  
  1.2       +2 -2      jakarta-bcel/src/java/org/apache/bcel/classfile/ConstantInterfaceMethodref.java
  
  Index: ConstantInterfaceMethodref.java
  ===================================================================
  RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/classfile/ConstantInterfaceMethodref.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ConstantInterfaceMethodref.java	29 Oct 2001 19:59:59 -0000	1.1
  +++ ConstantInterfaceMethodref.java	11 Mar 2002 16:16:35 -0000	1.2
  @@ -60,7 +60,7 @@
   /** 
    * This class represents a constant pool reference to an interface method.
    *
  - * @version $Id: ConstantInterfaceMethodref.java,v 1.1 2001/10/29 19:59:59 jvanzyl Exp $
  + * @version $Id: ConstantInterfaceMethodref.java,v 1.2 2002/03/11 16:16:35 mdahm Exp $
    * @author  <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A>
    */
   public final class ConstantInterfaceMethodref extends ConstantCP {
  @@ -75,7 +75,7 @@
      * Initialize instance from file data.
      *
      * @param file input stream
  -   * @throw IOException
  +   * @throws IOException
      */
     ConstantInterfaceMethodref(DataInputStream file) throws IOException
     {
  
  
  
  1.2       +3 -3      jakarta-bcel/src/java/org/apache/bcel/classfile/ConstantLong.java
  
  Index: ConstantLong.java
  ===================================================================
  RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/classfile/ConstantLong.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ConstantLong.java	29 Oct 2001 19:59:59 -0000	1.1
  +++ ConstantLong.java	11 Mar 2002 16:16:35 -0000	1.2
  @@ -62,7 +62,7 @@
    * <A HREF="org.apache.bcel.classfile.Constant.html">Constant</A> class 
    * and represents a reference to a long object.
    *
  - * @version $Id: ConstantLong.java,v 1.1 2001/10/29 19:59:59 jvanzyl Exp $
  + * @version $Id: ConstantLong.java,v 1.2 2002/03/11 16:16:35 mdahm Exp $
    * @author  <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A>
    * @see     Constant
    */
  @@ -87,7 +87,7 @@
      * Initialize instance from file data.
      *
      * @param file Input stream
  -   * @throw IOException
  +   * @throws IOException
      */
     ConstantLong(DataInputStream file) throws IOException
     {    
  @@ -107,7 +107,7 @@
      * Dump constant long to file stream in binary format.
      *
      * @param file Output file stream
  -   * @throw IOException
  +   * @throws IOException
      */ 
     public final void dump(DataOutputStream file) throws IOException
     {
  
  
  
  1.2       +2 -2      jakarta-bcel/src/java/org/apache/bcel/classfile/ConstantMethodref.java
  
  Index: ConstantMethodref.java
  ===================================================================
  RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/classfile/ConstantMethodref.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ConstantMethodref.java	29 Oct 2001 19:59:59 -0000	1.1
  +++ ConstantMethodref.java	11 Mar 2002 16:16:35 -0000	1.2
  @@ -60,7 +60,7 @@
   /** 
    * This class represents a constant pool reference to a method.
    *
  - * @version $Id: ConstantMethodref.java,v 1.1 2001/10/29 19:59:59 jvanzyl Exp $
  + * @version $Id: ConstantMethodref.java,v 1.2 2002/03/11 16:16:35 mdahm Exp $
    * @author  <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A>
    */
   public final class ConstantMethodref extends ConstantCP {
  @@ -75,7 +75,7 @@
      * Initialize instance from file data.
      *
      * @param file input stream
  -   * @throw IOException
  +   * @throws IOException
      */
     ConstantMethodref(DataInputStream file) throws IOException
     {
  
  
  
  1.2       +3 -3      jakarta-bcel/src/java/org/apache/bcel/classfile/ConstantNameAndType.java
  
  Index: ConstantNameAndType.java
  ===================================================================
  RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/classfile/ConstantNameAndType.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ConstantNameAndType.java	29 Oct 2001 19:59:59 -0000	1.1
  +++ ConstantNameAndType.java	11 Mar 2002 16:16:35 -0000	1.2
  @@ -63,7 +63,7 @@
    * and represents a reference to the name and signature
    * of a field or method.
    *
  - * @version $Id: ConstantNameAndType.java,v 1.1 2001/10/29 19:59:59 jvanzyl Exp $
  + * @version $Id: ConstantNameAndType.java,v 1.2 2002/03/11 16:16:35 mdahm Exp $
    * @author  <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A>
    * @see     Constant
    */
  @@ -82,7 +82,7 @@
      * Initialize instance from file data.
      *
      * @param file Input stream
  -   * @throw IOException
  +   * @throws IOException
      */
     ConstantNameAndType(DataInputStream file) throws IOException
     {    
  @@ -116,7 +116,7 @@
      * Dump name and signature index to file stream in binary format.
      *
      * @param file Output file stream
  -   * @throw IOException
  +   * @throws IOException
      */ 
     public final void dump(DataOutputStream file) throws IOException
     {
  
  
  
  1.2       +15 -15    jakarta-bcel/src/java/org/apache/bcel/classfile/ConstantObject.java
  
  Index: ConstantObject.java
  ===================================================================
  RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/classfile/ConstantObject.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ConstantObject.java	29 Oct 2001 19:59:59 -0000	1.1
  +++ ConstantObject.java	11 Mar 2002 16:16:35 -0000	1.2
  @@ -1,4 +1,4 @@
  -package org.apache.bcel.classfile;
  +package org.apache.bcel.classfile;
   
   /* ====================================================================
    * The Apache Software License, Version 1.1
  @@ -53,17 +53,17 @@
    * information on the Apache Software Foundation, please see
    * <http://www.apache.org/>.
    */
  -
  -/** 
  - * This interface denotes those constants that have a "natural" value,
  - * such as ConstantLong, ConstantString, etc..
  - *
  - * @version $Id: ConstantObject.java,v 1.1 2001/10/29 19:59:59 jvanzyl Exp $
  - * @author  <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A>
  - * @see     Constant
  - */
  -public interface ConstantObject {
  -  /** @return object representing the constant, e.g., Long for ConstantLong
  -   */
  -  public abstract Object getConstantValue(ConstantPool cp);
  -}
  +
  +/** 
  + * This interface denotes those constants that have a "natural" value,
  + * such as ConstantLong, ConstantString, etc..
  + *
  + * @version $Id: ConstantObject.java,v 1.2 2002/03/11 16:16:35 mdahm Exp $
  + * @author  <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A>
  + * @see     Constant
  + */
  +public interface ConstantObject {
  +  /** @return object representing the constant, e.g., Long for ConstantLong
  +   */
  +  public abstract Object getConstantValue(ConstantPool cp);
  +}
  
  
  
  1.3       +6 -6      jakarta-bcel/src/java/org/apache/bcel/classfile/ConstantPool.java
  
  Index: ConstantPool.java
  ===================================================================
  RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/classfile/ConstantPool.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ConstantPool.java	6 Mar 2002 17:50:26 -0000	1.2
  +++ ConstantPool.java	11 Mar 2002 16:16:35 -0000	1.3
  @@ -66,7 +66,7 @@
    * programatically should see <a href="../generic/ConstantPoolGen.html">
    * ConstantPoolGen</a>.
   
  - * @version $Id: ConstantPool.java,v 1.2 2002/03/06 17:50:26 mdahm Exp $
  + * @version $Id: ConstantPool.java,v 1.3 2002/03/11 16:16:35 mdahm Exp $
    * @see     Constant
    * @see     org.apache.bcel.generic.ConstantPoolGen
    * @author <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A>
  @@ -87,8 +87,8 @@
      * Read constants from given file stream.
      *
      * @param file Input stream
  -   * @throw IOException
  -   * @throw ClassFormatError
  +   * @throws IOException
  +   * @throws ClassFormatError
      */
     ConstantPool(DataInputStream file) throws IOException, ClassFormatError
     {
  @@ -220,7 +220,7 @@
      * Dump constant pool to file stream in binary format.
      *
      * @param file Output file stream
  -   * @throw IOException
  +   * @throws IOException
      */
     public void dump(DataOutputStream file) throws IOException
     {
  @@ -254,7 +254,7 @@
      * @param  tag Tag of expected constant, i.e., its type
      * @return Constant value
      * @see    Constant
  -   * @throw  ClassFormatError
  +   * @throws  ClassFormatError
      */
     public Constant getConstant(int index, byte tag)
          throws ClassFormatError
  @@ -289,7 +289,7 @@
      * @return Contents of string reference
      * @see    ConstantClass
      * @see    ConstantString
  -   * @throw  ClassFormatError
  +   * @throws  ClassFormatError
      */
     public String getConstantString(int index, byte tag) 
          throws ClassFormatError
  
  
  
  1.2       +3 -3      jakarta-bcel/src/java/org/apache/bcel/classfile/ConstantString.java
  
  Index: ConstantString.java
  ===================================================================
  RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/classfile/ConstantString.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ConstantString.java	29 Oct 2001 20:00:00 -0000	1.1
  +++ ConstantString.java	11 Mar 2002 16:16:35 -0000	1.2
  @@ -62,7 +62,7 @@
    * <A HREF="org.apache.bcel.classfile.Constant.html">Constant</A> class 
    * and represents a reference to a String object.
    *
  - * @version $Id: ConstantString.java,v 1.1 2001/10/29 20:00:00 jvanzyl Exp $
  + * @version $Id: ConstantString.java,v 1.2 2002/03/11 16:16:35 mdahm Exp $
    * @author  <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A>
    * @see     Constant
    */
  @@ -79,7 +79,7 @@
      * Initialize instance from file data.
      *
      * @param file Input stream
  -   * @throw IOException
  +   * @throws IOException
      */
     ConstantString(DataInputStream file) throws IOException
     {    
  @@ -107,7 +107,7 @@
      * Dump constant field reference to file stream in binary format.
      *
      * @param file Output file stream
  -   * @throw IOException
  +   * @throws IOException
      */ 
     public final void dump(DataOutputStream file) throws IOException
     {
  
  
  
  1.2       +3 -3      jakarta-bcel/src/java/org/apache/bcel/classfile/ConstantUtf8.java
  
  Index: ConstantUtf8.java
  ===================================================================
  RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/classfile/ConstantUtf8.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ConstantUtf8.java	29 Oct 2001 20:00:00 -0000	1.1
  +++ ConstantUtf8.java	11 Mar 2002 16:16:35 -0000	1.2
  @@ -62,7 +62,7 @@
    * <A HREF="org.apache.bcel.classfile.Constant.html">Constant</A> class 
    * and represents a reference to a Utf8 encoded string.
    *
  - * @version $Id: ConstantUtf8.java,v 1.1 2001/10/29 20:00:00 jvanzyl Exp $
  + * @version $Id: ConstantUtf8.java,v 1.2 2002/03/11 16:16:35 mdahm Exp $
    * @author  <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A>
    * @see     Constant
    */
  @@ -80,7 +80,7 @@
      * Initialize instance from file data.
      *
      * @param file Input stream
  -   * @throw IOException
  +   * @throws IOException
      */
     ConstantUtf8(DataInputStream file) throws IOException
     {    
  @@ -113,7 +113,7 @@
      * Dump String in Utf8 format to file stream.
      *
      * @param file Output file stream
  -   * @throw IOException
  +   * @throws IOException
      */ 
     public final void dump(DataOutputStream file) throws IOException
     {
  
  
  
  1.2       +3 -3      jakarta-bcel/src/java/org/apache/bcel/classfile/ConstantValue.java
  
  Index: ConstantValue.java
  ===================================================================
  RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/classfile/ConstantValue.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ConstantValue.java	29 Oct 2001 20:00:00 -0000	1.1
  +++ ConstantValue.java	11 Mar 2002 16:16:35 -0000	1.2
  @@ -62,7 +62,7 @@
    * value, i.e., a default value for initializing a class field.
    * This class is instantiated by the <em>Attribute.readAttribute()</em> method.
    *
  - * @version $Id: ConstantValue.java,v 1.1 2001/10/29 20:00:00 jvanzyl Exp $
  + * @version $Id: ConstantValue.java,v 1.2 2002/03/11 16:16:35 mdahm Exp $
    * @author  <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A>
    * @see     Attribute
    */
  @@ -84,7 +84,7 @@
      * @param length Content length in bytes
      * @param file Input stream
      * @param constant_pool Array of constants
  -   * @throw IOException
  +   * @throws IOException
      */
     ConstantValue(int name_index, int length, DataInputStream file,
   		ConstantPool constant_pool) throws IOException
  @@ -120,7 +120,7 @@
      * Dump constant value attribute to file stream on binary format.
      *
      * @param file Output file stream
  -   * @throw IOException
  +   * @throws IOException
      */ 
     public final void dump(DataOutputStream file) throws IOException
     {
  
  
  
  1.3       +3 -3      jakarta-bcel/src/java/org/apache/bcel/classfile/Deprecated.java
  
  Index: Deprecated.java
  ===================================================================
  RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/classfile/Deprecated.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Deprecated.java	7 Mar 2002 09:03:28 -0000	1.2
  +++ Deprecated.java	11 Mar 2002 16:16:35 -0000	1.3
  @@ -62,7 +62,7 @@
    * deprecated method.
    * It is instantiated from the <em>Attribute.readAttribute()</em> method.
    *
  - * @version $Id: Deprecated.java,v 1.2 2002/03/07 09:03:28 mdahm Exp $
  + * @version $Id: Deprecated.java,v 1.3 2002/03/11 16:16:35 mdahm Exp $
    * @author  <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A>
    * @see     Attribute
    */
  @@ -96,7 +96,7 @@
      * @param length Content length in bytes
      * @param file Input stream
      * @param constant_pool Array of constants
  -   * @throw IOException
  +   * @throws IOException
      */
     Deprecated(int name_index, int length, DataInputStream file,
   	     ConstantPool constant_pool) throws IOException
  @@ -125,7 +125,7 @@
      * Dump source file attribute to file stream in binary format.
      *
      * @param file Output file stream
  -   * @throw IOException
  +   * @throws IOException
      */ 
     public final void dump(DataOutputStream file) throws IOException
     {
  
  
  
  1.2       +3 -3      jakarta-bcel/src/java/org/apache/bcel/classfile/ExceptionTable.java
  
  Index: ExceptionTable.java
  ===================================================================
  RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/classfile/ExceptionTable.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ExceptionTable.java	29 Oct 2001 20:00:00 -0000	1.1
  +++ ExceptionTable.java	11 Mar 2002 16:16:35 -0000	1.2
  @@ -65,7 +65,7 @@
    * attribute using the name <em>Exceptions</em> (which is inconsistent
    * with the other classes).
    *
  - * @version $Id: ExceptionTable.java,v 1.1 2001/10/29 20:00:00 jvanzyl Exp $
  + * @version $Id: ExceptionTable.java,v 1.2 2002/03/11 16:16:35 mdahm Exp $
    * @author  <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A>
    * @see     Code
    */
  @@ -102,7 +102,7 @@
      * @param length Content length in bytes
      * @param file Input stream
      * @param constant_pool Array of constants
  -   * @throw IOException
  +   * @throws IOException
      */
     ExceptionTable(int name_index, int length, DataInputStream file,
   		 ConstantPool constant_pool) throws IOException
  @@ -131,7 +131,7 @@
      * Dump exceptions attribute to file stream in binary format.
      *
      * @param file Output file stream
  -   * @throw IOException
  +   * @throws IOException
      */ 
     public final void dump(DataOutputStream file) throws IOException
     {
  
  
  
  1.2       +4 -4      jakarta-bcel/src/java/org/apache/bcel/classfile/FieldOrMethod.java
  
  Index: FieldOrMethod.java
  ===================================================================
  RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/classfile/FieldOrMethod.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- FieldOrMethod.java	29 Oct 2001 20:00:01 -0000	1.1
  +++ FieldOrMethod.java	11 Mar 2002 16:16:35 -0000	1.2
  @@ -59,7 +59,7 @@
   /** 
    * Abstract super class for fields and methods.
    *
  - * @version $Id: FieldOrMethod.java,v 1.1 2001/10/29 20:00:01 jvanzyl Exp $
  + * @version $Id: FieldOrMethod.java,v 1.2 2002/03/11 16:16:35 mdahm Exp $
    * @author  <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A>
    */
   public abstract class FieldOrMethod extends AccessFlags implements Cloneable, Node {
  @@ -83,8 +83,8 @@
     /**
      * Construct object from file stream.
      * @param file Input stream
  -   * @throw IOException
  -   * @throw ClassFormatError
  +   * @throws IOException
  +   * @throws ClassFormatError
      */
     protected FieldOrMethod(DataInputStream file, ConstantPool constant_pool)
       throws IOException, ClassFormatError
  @@ -120,7 +120,7 @@
      * Dump object to file stream on binary format.
      *
      * @param file Output file stream
  -   * @throw IOException
  +   * @throws IOException
      */ 
     public final void dump(DataOutputStream file) throws IOException
     {
  
  
  
  1.2       +3 -3      jakarta-bcel/src/java/org/apache/bcel/classfile/InnerClass.java
  
  Index: InnerClass.java
  ===================================================================
  RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/classfile/InnerClass.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- InnerClass.java	29 Oct 2001 20:00:01 -0000	1.1
  +++ InnerClass.java	11 Mar 2002 16:16:35 -0000	1.2
  @@ -62,7 +62,7 @@
    * indices of the inner and outer classes, the name and the attributes
    * of the inner class.
    *
  - * @version $Id: InnerClass.java,v 1.1 2001/10/29 20:00:01 jvanzyl Exp $
  + * @version $Id: InnerClass.java,v 1.2 2002/03/11 16:16:35 mdahm Exp $
    * @author  <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A>
    * @see InnerClasses
    */
  @@ -83,7 +83,7 @@
     /**
      * Construct object from file stream.
      * @param file Input stream
  -   * @throw IOException
  +   * @throws IOException
      */  
     InnerClass(DataInputStream file) throws IOException
     {
  @@ -120,7 +120,7 @@
      * Dump inner class attribute to file stream in binary format.
      *
      * @param file Output file stream
  -   * @throw IOException
  +   * @throws IOException
      */ 
     public final void dump(DataOutputStream file) throws IOException
     {
  
  
  
  1.2       +3 -3      jakarta-bcel/src/java/org/apache/bcel/classfile/InnerClasses.java
  
  Index: InnerClasses.java
  ===================================================================
  RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/classfile/InnerClasses.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- InnerClasses.java	29 Oct 2001 20:00:01 -0000	1.1
  +++ InnerClasses.java	11 Mar 2002 16:16:35 -0000	1.2
  @@ -63,7 +63,7 @@
    * to the source file of this class.
    * It is instantiated from the <em>Attribute.readAttribute()</em> method.
    *
  - * @version $Id: InnerClasses.java,v 1.1 2001/10/29 20:00:01 jvanzyl Exp $
  + * @version $Id: InnerClasses.java,v 1.2 2002/03/11 16:16:35 mdahm Exp $
    * @author  <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A>
    * @see     Attribute
    */
  @@ -102,7 +102,7 @@
      * @param length Content length in bytes
      * @param file Input stream
      * @param constant_pool Array of constants
  -   * @throw IOException
  +   * @throws IOException
      */
     InnerClasses(int name_index, int length, DataInputStream file,
   	       ConstantPool constant_pool) throws IOException
  @@ -129,7 +129,7 @@
      * Dump source file attribute to file stream in binary format.
      *
      * @param file Output file stream
  -   * @throw IOException
  +   * @throws IOException
      */ 
     public final void dump(DataOutputStream file) throws IOException
     {
  
  
  
  1.4       +2 -2      jakarta-bcel/src/java/org/apache/bcel/classfile/JavaClass.java
  
  Index: JavaClass.java
  ===================================================================
  RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/classfile/JavaClass.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- JavaClass.java	6 Mar 2002 17:50:26 -0000	1.3
  +++ JavaClass.java	11 Mar 2002 16:16:35 -0000	1.4
  @@ -69,7 +69,7 @@
    * class file.  Those interested in programatically generating classes
    * should see the <a href="../generic/ClassGen.html">ClassGen</a> class.
   
  - * @version $Id: JavaClass.java,v 1.3 2002/03/06 17:50:26 mdahm Exp $
  + * @version $Id: JavaClass.java,v 1.4 2002/03/11 16:16:35 mdahm Exp $
    * @see org.apache.bcel.generic.ClassGen
    * @author  <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A>
    */
  @@ -243,7 +243,7 @@
      * Dump class to a file.
      *
      * @param file Output file
  -   * @throw IOException
  +   * @throws IOException
      */
     public void dump(File file) throws IOException
     {
  
  
  
  1.2       +3 -3      jakarta-bcel/src/java/org/apache/bcel/classfile/LineNumber.java
  
  Index: LineNumber.java
  ===================================================================
  RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/classfile/LineNumber.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- LineNumber.java	29 Oct 2001 20:00:02 -0000	1.1
  +++ LineNumber.java	11 Mar 2002 16:16:35 -0000	1.2
  @@ -62,7 +62,7 @@
    * the source that corresponds to a relative address in the byte code. This
    * is used for debugging purposes.
    *
  - * @version $Id: LineNumber.java,v 1.1 2001/10/29 20:00:02 jvanzyl Exp $
  + * @version $Id: LineNumber.java,v 1.2 2002/03/11 16:16:35 mdahm Exp $
    * @author  <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A>
    * @see     LineNumberTable
    */
  @@ -80,7 +80,7 @@
     /**
      * Construct object from file stream.
      * @param file Input stream
  -   * @throw IOException
  +   * @throws IOException
      */
     LineNumber(DataInputStream file) throws IOException
     {
  @@ -112,7 +112,7 @@
      * Dump line number/pc pair to file stream in binary format.
      *
      * @param file Output file stream
  -   * @throw IOException
  +   * @throws IOException
      */ 
     public final void dump(DataOutputStream file) throws IOException
     {
  
  
  
  1.2       +3 -3      jakarta-bcel/src/java/org/apache/bcel/classfile/LineNumberTable.java
  
  Index: LineNumberTable.java
  ===================================================================
  RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/classfile/LineNumberTable.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- LineNumberTable.java	29 Oct 2001 20:00:02 -0000	1.1
  +++ LineNumberTable.java	11 Mar 2002 16:16:35 -0000	1.2
  @@ -62,7 +62,7 @@
    * purposes. This attribute is used by the <em>Code</em> attribute. It
    * contains pairs of PCs and line numbers.
    *
  - * @version $Id: LineNumberTable.java,v 1.1 2001/10/29 20:00:02 jvanzyl Exp $
  + * @version $Id: LineNumberTable.java,v 1.2 2002/03/11 16:16:35 mdahm Exp $
    * @author  <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A>
    * @see     Code
    * @see LineNumber
  @@ -99,7 +99,7 @@
      * @param name_index Index of name
      * @param length Content length in bytes
      * @param file Input stream
  -   * @throw IOException
  +   * @throws IOException
      * @param constant_pool Array of constants
      */
     LineNumberTable(int name_index, int length, DataInputStream file,
  @@ -126,7 +126,7 @@
      * Dump line number table attribute to file stream in binary format.
      *
      * @param file Output file stream
  -   * @throw IOException
  +   * @throws IOException
      */ 
     public final void dump(DataOutputStream file) throws IOException
     {
  
  
  
  1.2       +3 -3      jakarta-bcel/src/java/org/apache/bcel/classfile/LocalVariable.java
  
  Index: LocalVariable.java
  ===================================================================
  RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/classfile/LocalVariable.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- LocalVariable.java	29 Oct 2001 20:00:02 -0000	1.1
  +++ LocalVariable.java	11 Mar 2002 16:16:35 -0000	1.2
  @@ -61,7 +61,7 @@
    * This class represents a local variable within a method. It contains its
    * scope, name, signature and index on the method's frame.
    *
  - * @version $Id: LocalVariable.java,v 1.1 2001/10/29 20:00:02 jvanzyl Exp $
  + * @version $Id: LocalVariable.java,v 1.2 2002/03/11 16:16:35 mdahm Exp $
    * @author  <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A>
    * @see     LocalVariableTable
    */
  @@ -88,7 +88,7 @@
     /**
      * Construct object from file stream.
      * @param file Input stream
  -   * @throw IOException
  +   * @throws IOException
      */
     LocalVariable(DataInputStream file, ConstantPool constant_pool)
          throws IOException
  @@ -133,7 +133,7 @@
      * Dump local variable to file stream in binary format.
      *
      * @param file Output file stream
  -   * @throw IOException
  +   * @throws IOException
      */ 
     public final void dump(DataOutputStream file) throws IOException
     {
  
  
  
  1.2       +3 -3      jakarta-bcel/src/java/org/apache/bcel/classfile/LocalVariableTable.java
  
  Index: LocalVariableTable.java
  ===================================================================
  RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/classfile/LocalVariableTable.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- LocalVariableTable.java	29 Oct 2001 20:00:02 -0000	1.1
  +++ LocalVariableTable.java	11 Mar 2002 16:16:35 -0000	1.2
  @@ -61,7 +61,7 @@
    * This class represents colection of local variables in a
    * method. This attribute is contained in the <em>Code</em> attribute.
    *
  - * @version $Id: LocalVariableTable.java,v 1.1 2001/10/29 20:00:02 jvanzyl Exp $
  + * @version $Id: LocalVariableTable.java,v 1.2 2002/03/11 16:16:35 mdahm Exp $
    * @author  <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A>
    * @see     Code
    * @see LocalVariable
  @@ -99,7 +99,7 @@
      * @param length Content length in bytes
      * @param file Input stream
      * @param constant_pool Array of constants
  -   * @throw IOException
  +   * @throws IOException
      */
     LocalVariableTable(int name_index, int length, DataInputStream file,
   		     ConstantPool constant_pool) throws IOException
  @@ -128,7 +128,7 @@
      * Dump local variable table attribute to file stream in binary format.
      *
      * @param file Output file stream
  -   * @throw IOException
  +   * @throws IOException
      */ 
     public final void dump(DataOutputStream file) throws IOException
     {
  
  
  
  1.2       +3 -3      jakarta-bcel/src/java/org/apache/bcel/classfile/Method.java
  
  Index: Method.java
  ===================================================================
  RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/classfile/Method.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Method.java	29 Oct 2001 20:00:02 -0000	1.1
  +++ Method.java	11 Mar 2002 16:16:35 -0000	1.2
  @@ -61,7 +61,7 @@
    * for a method in the class. See JVM specification for details.
    * A method has access flags, a name, a signature and a number of attributes.
    *
  - * @version $Id: Method.java,v 1.1 2001/10/29 20:00:02 jvanzyl Exp $
  + * @version $Id: Method.java,v 1.2 2002/03/11 16:16:35 mdahm Exp $
    * @author  <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A>
    */
   public final class Method extends FieldOrMethod {
  @@ -82,8 +82,8 @@
     /**
      * Construct object from file stream.
      * @param file Input stream
  -   * @throw IOException
  -   * @throw ClassFormatError
  +   * @throws IOException
  +   * @throws ClassFormatError
      */
     Method(DataInputStream file, ConstantPool constant_pool)
          throws IOException, ClassFormatError
  
  
  
  1.2       +3 -3      jakarta-bcel/src/java/org/apache/bcel/classfile/PMGClass.java
  
  Index: PMGClass.java
  ===================================================================
  RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/classfile/PMGClass.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- PMGClass.java	29 Oct 2001 20:00:03 -0000	1.1
  +++ PMGClass.java	11 Mar 2002 16:16:35 -0000	1.2
  @@ -62,7 +62,7 @@
    * to a <a href="http://www.inf.fu-berlin.de/~bokowski/pmgjava/index.html">PMG</a>
    * attribute.
    *
  - * @version $Id: PMGClass.java,v 1.1 2001/10/29 20:00:03 jvanzyl Exp $
  + * @version $Id: PMGClass.java,v 1.2 2002/03/11 16:16:35 mdahm Exp $
    * @author  <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A>
    * @see     Attribute
    */
  @@ -84,7 +84,7 @@
      * @param length Content length in bytes
      * @param file Input stream
      * @param constant_pool Array of constants
  -   * @throw IOException
  +   * @throws IOException
      */
     PMGClass(int name_index, int length, DataInputStream file,
   	   ConstantPool constant_pool) throws IOException
  @@ -122,7 +122,7 @@
      * Dump source file attribute to file stream in binary format.
      *
      * @param file Output file stream
  -   * @throw IOException
  +   * @throws IOException
      */ 
     public final void dump(DataOutputStream file) throws IOException
     {
  
  
  
  1.3       +3 -3      jakarta-bcel/src/java/org/apache/bcel/classfile/Signature.java
  
  Index: Signature.java
  ===================================================================
  RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/classfile/Signature.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Signature.java	4 Feb 2002 13:07:30 -0000	1.2
  +++ Signature.java	11 Mar 2002 16:16:35 -0000	1.3
  @@ -61,7 +61,7 @@
    * This class is derived from <em>Attribute</em> and represents a reference
    * to a <href="http://wwwipd.ira.uka.de/~pizza/gj/">GJ</a> attribute.
    *
  - * @version $Id: Signature.java,v 1.2 2002/02/04 13:07:30 enver Exp $
  + * @version $Id: Signature.java,v 1.3 2002/03/11 16:16:35 mdahm Exp $
    * @author  <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A>
    * @see     Attribute
    */
  @@ -82,7 +82,7 @@
      * @param length Content length in bytes
      * @param file Input stream
      * @param constant_pool Array of constants
  -   * @throw IOException
  +   * @throws IOException
      */
     Signature(int name_index, int length, DataInputStream file,
   	   ConstantPool constant_pool) throws IOException
  @@ -119,7 +119,7 @@
      * Dump source file attribute to file stream in binary format.
      *
      * @param file Output file stream
  -   * @throw IOException
  +   * @throws IOException
      */ 
     public final void dump(DataOutputStream file) throws IOException
     {
  
  
  
  1.3       +3 -3      jakarta-bcel/src/java/org/apache/bcel/classfile/SourceFile.java
  
  Index: SourceFile.java
  ===================================================================
  RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/classfile/SourceFile.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- SourceFile.java	7 Mar 2002 09:03:28 -0000	1.2
  +++ SourceFile.java	11 Mar 2002 16:16:35 -0000	1.3
  @@ -63,7 +63,7 @@
    * should appear per classfile.  The intention of this class is that it is
    * instantiated from the <em>Attribute.readAttribute()</em> method.
    *
  - * @version $Id: SourceFile.java,v 1.2 2002/03/07 09:03:28 mdahm Exp $
  + * @version $Id: SourceFile.java,v 1.3 2002/03/11 16:16:35 mdahm Exp $
    * @author  <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A>
    * @see     Attribute
    */
  @@ -85,7 +85,7 @@
      * @param length Content length in bytes
      * @param file Input stream
      * @param constant_pool Array of constants
  -   * @throw IOException
  +   * @throws IOException
      */
     SourceFile(int name_index, int length, DataInputStream file,
   	     ConstantPool constant_pool) throws IOException
  @@ -128,7 +128,7 @@
      * Dump source file attribute to file stream in binary format.
      *
      * @param file Output file stream
  -   * @throw IOException
  +   * @throws IOException
      */ 
     public final void dump(DataOutputStream file) throws IOException
     {
  
  
  
  1.2       +3 -3      jakarta-bcel/src/java/org/apache/bcel/classfile/StackMap.java
  
  Index: StackMap.java
  ===================================================================
  RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/classfile/StackMap.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- StackMap.java	29 Oct 2001 20:00:03 -0000	1.1
  +++ StackMap.java	11 Mar 2002 16:16:35 -0000	1.2
  @@ -66,7 +66,7 @@
    * within the Code attribute of a method. See CLDC specification
    * �5.3.1.2
    *
  - * @version $Id: StackMap.java,v 1.1 2001/10/29 20:00:03 jvanzyl Exp $
  + * @version $Id: StackMap.java,v 1.2 2002/03/11 16:16:35 mdahm Exp $
    * @author  <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A>
    * @see     Code
    * @see     StackMapEntry
  @@ -95,7 +95,7 @@
      * @param name_index Index of name
      * @param length Content length in bytes
      * @param file Input stream
  -   * @throw IOException
  +   * @throws IOException
      * @param constant_pool Array of constants
      */
     StackMap(int name_index, int length, DataInputStream file,
  @@ -114,7 +114,7 @@
      * Dump line number table attribute to file stream in binary format.
      *
      * @param file Output file stream
  -   * @throw IOException
  +   * @throws IOException
      */ 
     public final void dump(DataOutputStream file) throws IOException
     {
  
  
  
  1.2       +3 -3      jakarta-bcel/src/java/org/apache/bcel/classfile/StackMapEntry.java
  
  Index: StackMapEntry.java
  ===================================================================
  RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/classfile/StackMapEntry.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- StackMapEntry.java	29 Oct 2001 20:00:03 -0000	1.1
  +++ StackMapEntry.java	11 Mar 2002 16:16:35 -0000	1.2
  @@ -62,7 +62,7 @@
    * local variables and the the of stack items at a given byte code offset.
    * See CLDC specification �5.3.1.2
    *
  - * @version $Id: StackMapEntry.java,v 1.1 2001/10/29 20:00:03 jvanzyl Exp $
  + * @version $Id: StackMapEntry.java,v 1.2 2002/03/11 16:16:35 mdahm Exp $
    * @author  <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A>
    * @see     StackMap
    * @see     StackMapType
  @@ -78,7 +78,7 @@
     /**
      * Construct object from file stream.
      * @param file Input stream
  -   * @throw IOException
  +   * @throws IOException
      */
     StackMapEntry(DataInputStream file, ConstantPool constant_pool) throws IOException
     {
  @@ -111,7 +111,7 @@
      * Dump stack map entry
      *
      * @param file Output file stream
  -   * @throw IOException
  +   * @throws IOException
      */ 
     public final void dump(DataOutputStream file) throws IOException
     {
  
  
  
  1.2       +3 -3      jakarta-bcel/src/java/org/apache/bcel/classfile/StackMapType.java
  
  Index: StackMapType.java
  ===================================================================
  RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/classfile/StackMapType.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- StackMapType.java	29 Oct 2001 20:00:03 -0000	1.1
  +++ StackMapType.java	11 Mar 2002 16:16:35 -0000	1.2
  @@ -61,7 +61,7 @@
    * This class represents the type of a local variable or item on stack
    * used in the StackMap entries.
    *
  - * @version $Id: StackMapType.java,v 1.1 2001/10/29 20:00:03 jvanzyl Exp $
  + * @version $Id: StackMapType.java,v 1.2 2002/03/11 16:16:35 mdahm Exp $
    * @author  <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A>
    * @see     StackMapEntry
    * @see     StackMap
  @@ -75,7 +75,7 @@
     /**
      * Construct object from file stream.
      * @param file Input stream
  -   * @throw IOException
  +   * @throws IOException
      */
     StackMapType(DataInputStream file, ConstantPool constant_pool) throws IOException
     {
  @@ -115,7 +115,7 @@
      * Dump type entries to file.
      *
      * @param file Output file stream
  -   * @throw IOException
  +   * @throws IOException
      */ 
     public final void dump(DataOutputStream file) throws IOException
     {
  
  
  
  1.3       +3 -3      jakarta-bcel/src/java/org/apache/bcel/classfile/Synthetic.java
  
  Index: Synthetic.java
  ===================================================================
  RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/classfile/Synthetic.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Synthetic.java	7 Mar 2002 09:03:28 -0000	1.2
  +++ Synthetic.java	11 Mar 2002 16:16:35 -0000	1.3
  @@ -66,7 +66,7 @@
    * is intended to be instantiated from the
    * <em>Attribute.readAttribute()</em> method.
    *
  - * @version $Id: Synthetic.java,v 1.2 2002/03/07 09:03:28 mdahm Exp $
  + * @version $Id: Synthetic.java,v 1.3 2002/03/11 16:16:35 mdahm Exp $
    * @author  <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A>
    * @see     Attribute
    */
  @@ -102,7 +102,7 @@
      * @param length Content length in bytes
      * @param file Input stream
      * @param constant_pool Array of constants
  -   * @throw IOException
  +   * @throws IOException
      */
     Synthetic(int name_index, int length, DataInputStream file,
   	    ConstantPool constant_pool) throws IOException
  @@ -129,7 +129,7 @@
      * Dump source file attribute to file stream in binary format.
      *
      * @param file Output file stream
  -   * @throw IOException
  +   * @throws IOException
      */ 
     public final void dump(DataOutputStream file) throws IOException
     {
  
  
  
  1.3       +3 -3      jakarta-bcel/src/java/org/apache/bcel/classfile/Unknown.java
  
  Index: Unknown.java
  ===================================================================
  RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/classfile/Unknown.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Unknown.java	7 Mar 2002 09:03:28 -0000	1.2
  +++ Unknown.java	11 Mar 2002 16:16:35 -0000	1.3
  @@ -69,7 +69,7 @@
    * org.apache.bcel.classfile.AttributeReader)">Attribute.addAttributeReader</a>.
   
    *
  - * @version $Id: Unknown.java,v 1.2 2002/03/07 09:03:28 mdahm Exp $
  + * @version $Id: Unknown.java,v 1.3 2002/03/11 16:16:35 mdahm Exp $
    * @see org.apache.bcel.classfile.Attribute
    * @see org.apache.bcel.classfile.AttributeReader
    * @author  <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A>
  @@ -126,7 +126,7 @@
      * @param length Content length in bytes
      * @param file Input stream
      * @param constant_pool Array of constants
  -   * @throw IOException
  +   * @throws IOException
      */
     Unknown(int name_index, int length, DataInputStream file,
   	  ConstantPool constant_pool)
  @@ -154,7 +154,7 @@
      * Dump unknown bytes to file stream.
      *
      * @param file Output file stream
  -   * @throw IOException
  +   * @throws IOException
      */ 
     public final void dump(DataOutputStream file) throws IOException
     {
  
  
  
  1.2       +17 -10    jakarta-bcel/src/java/org/apache/bcel/classfile/Utility.java
  
  Index: Utility.java
  ===================================================================
  RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/classfile/Utility.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Utility.java	29 Oct 2001 20:00:05 -0000	1.1
  +++ Utility.java	11 Mar 2002 16:16:35 -0000	1.2
  @@ -63,7 +63,7 @@
   /**
    * Utility functions that do not really belong to any class in particular.
    *
  - * @version $Id: Utility.java,v 1.1 2001/10/29 20:00:05 jvanzyl Exp $
  + * @version $Id: Utility.java,v 1.2 2002/03/11 16:16:35 mdahm Exp $
    * @author  <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A>
    */
   public abstract class Utility {
  @@ -561,7 +561,7 @@
     /**
      * @param  signature    Method signature
      * @return Array of argument types
  -   * @throw  ClassFormatError  
  +   * @throws  ClassFormatError  
      */
     public static final String[] methodSignatureArgumentTypes(String signature)
       throws ClassFormatError 
  @@ -573,7 +573,7 @@
      * @param  signature    Method signature
      * @param chopit Shorten class names ?
      * @return Array of argument types
  -   * @throw  ClassFormatError  
  +   * @throws  ClassFormatError  
      */
     public static final String[] methodSignatureArgumentTypes(String signature,
   							    boolean chopit)
  @@ -604,7 +604,7 @@
     /**
      * @param  signature    Method signature
      * @return return type of method
  -   * @throw  ClassFormatError  
  +   * @throws  ClassFormatError  
      */
     public static final String methodSignatureReturnType(String signature)
          throws ClassFormatError 
  @@ -615,7 +615,7 @@
      * @param  signature    Method signature
      * @param chopit Shorten class names ?
      * @return return type of method
  -   * @throw  ClassFormatError  
  +   * @throws  ClassFormatError  
      */
     public static final String methodSignatureReturnType(String signature,
   						       boolean chopit)
  @@ -681,7 +681,7 @@
      * @param  name         Method name
      * @param  access       Method access rights
      * @return Java type declaration
  -   * @throw  ClassFormatError  
  +   * @throws  ClassFormatError  
      */
     public static final String methodSignatureToString(String signature,
   						     String name,
  @@ -1128,6 +1128,11 @@
     }
   
     public static final String printArray(Object[] obj, boolean braces) {
  +    return printArray(obj, braces, false);
  +  }
  +
  +  public static final String printArray(Object[] obj, boolean braces,
  +					boolean quote) {
       if(obj == null)
         return null;
   
  @@ -1136,13 +1141,15 @@
         buf.append('{');
   
       for(int i=0; i < obj.length; i++) {
  -      if(obj[i] != null)
  -	buf.append(obj[i].toString());
  -      else
  +      if(obj[i] != null) {
  +	buf.append((quote? "\"" : "") + obj[i].toString() + (quote? "\"" : ""));
  +      } else {
   	buf.append("null");
  +      }
   
  -      if(i < obj.length - 1)
  +      if(i < obj.length - 1) {
   	buf.append(", ");
  +      }
       }
   
       if(braces)
  
  
  
  1.2       +2 -2      jakarta-bcel/src/java/org/apache/bcel/generic/IXOR.java
  
  Index: IXOR.java
  ===================================================================
  RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/generic/IXOR.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- IXOR.java	29 Oct 2001 20:00:17 -0000	1.1
  +++ IXOR.java	11 Mar 2002 16:16:38 -0000	1.2
  @@ -58,8 +58,8 @@
    * IXOR - Bitwise XOR int
    * <PRE>Stack: ..., value1, value2 -&gt; ..., result</PRE>
    *
  - * @version $Id: IXOR.java,v 1.1 2001/10/29 20:00:17 jvanzyl Exp $
  - * @authXOR  <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A>
  + * @version $Id: IXOR.java,v 1.2 2002/03/11 16:16:38 mdahm Exp $
  + * @author  <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A>
    */
   public class IXOR extends ArithmeticInstruction {
     public IXOR() {
  
  
  
  1.2       +9 -9      jakarta-bcel/src/java/org/apache/bcel/generic/InstructionList.java
  
  Index: InstructionList.java
  ===================================================================
  RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/generic/InstructionList.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- InstructionList.java	29 Oct 2001 20:00:20 -0000	1.1
  +++ InstructionList.java	11 Mar 2002 16:16:38 -0000	1.2
  @@ -75,7 +75,7 @@
    * A list is finally dumped to a byte code array with <a
    * href="#getByteCode()">getByteCode</a>.
    *
  - * @version $Id: InstructionList.java,v 1.1 2001/10/29 20:00:20 jvanzyl Exp $
  + * @version $Id: InstructionList.java,v 1.2 2002/03/11 16:16:38 mdahm Exp $
    * @author  <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A>
    * @see     Instruction
    * @see     InstructionHandle
  @@ -1213,10 +1213,10 @@
     /**
      * Redirect all references of local variables from old_target to new_target.
      *
  -   * @@param lg array of local variables
  -   * @@param old_target the old target instruction handle
  -   * @@param new_target the new target instruction handle
  -   * @@see MethodGen
  +   * @param lg array of local variables
  +   * @param old_target the old target instruction handle
  +   * @param new_target the new target instruction handle
  +   * @see MethodGen
      */
     public void redirectLocalVariables(LocalVariableGen[] lg,
   				     InstructionHandle old_target, 
  @@ -1236,10 +1236,10 @@
     /**
      * Redirect all references of exception handlers from old_target to new_target.
      *
  -   * @@param exceptions array of exception handlers
  -   * @@param old_target the old target instruction handle
  -   * @@param new_target the new target instruction handle
  -   * @@see MethodGen
  +   * @param exceptions array of exception handlers
  +   * @param old_target the old target instruction handle
  +   * @param new_target the new target instruction handle
  +   * @see MethodGen
      */
     public void redirectExceptionHandlers(CodeExceptionGen[] exceptions,
   					InstructionHandle old_target, 
  
  
  
  1.2       +2 -2      jakarta-bcel/src/java/org/apache/bcel/generic/LXOR.java
  
  Index: LXOR.java
  ===================================================================
  RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/generic/LXOR.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- LXOR.java	29 Oct 2001 20:00:23 -0000	1.1
  +++ LXOR.java	11 Mar 2002 16:16:38 -0000	1.2
  @@ -58,8 +58,8 @@
    * LXOR - Bitwise XOR long
    * <PRE>Stack: ..., value1, value2 -&gt; ..., result</PRE>
    *
  - * @version $Id: LXOR.java,v 1.1 2001/10/29 20:00:23 jvanzyl Exp $
  - * @authXOR  <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A>
  + * @version $Id: LXOR.java,v 1.2 2002/03/11 16:16:38 mdahm Exp $
  + * @author  <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A>
    */
   public class LXOR extends ArithmeticInstruction {
     public LXOR() {
  
  
  
  1.2       +1 -2      jakarta-bcel/src/java/org/apache/bcel/generic/LineNumberGen.java
  
  Index: LineNumberGen.java
  ===================================================================
  RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/generic/LineNumberGen.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- LineNumberGen.java	29 Oct 2001 20:00:23 -0000	1.1
  +++ LineNumberGen.java	11 Mar 2002 16:16:38 -0000	1.2
  @@ -61,7 +61,7 @@
    * This class represents a line number within a method, i.e., give an instruction
    * a line number corresponding to the source code line.
    *
  - * @version $Id: LineNumberGen.java,v 1.1 2001/10/29 20:00:23 jvanzyl Exp $
  + * @version $Id: LineNumberGen.java,v 1.2 2002/03/11 16:16:38 mdahm Exp $
    * @author  <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A>
    * @see     LineNumber
    * @see     MethodGen
  @@ -74,7 +74,6 @@
      * Create a line number.
      *
      * @param ih instruction handle to reference
  -   * @return new line number object
      */
     public LineNumberGen(InstructionHandle ih, int src_line) {
       setInstruction(ih);
  
  
  

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