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

[email protected]
Newsgroups gmane.comp.jakarta.bcel.devel
Message-ID <[email protected]>
mdahm       02/04/11 01:59:14

  Modified:    src/java/org/apache/bcel/generic LDC_W.java
  Log:
  Ensure LDC_W opcode
  
  Revision  Changes    Path
  1.2       +3 -1      jakarta-bcel/src/java/org/apache/bcel/generic/LDC_W.java
  
  Index: LDC_W.java
  ===================================================================
  RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/generic/LDC_W.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- LDC_W.java	29 Oct 2001 20:00:21 -0000	1.1
  +++ LDC_W.java	11 Apr 2002 08:59:14 -0000	1.2
  @@ -61,7 +61,7 @@
    *
    * <PRE>Stack: ... -&gt; ..., item.word1, item.word2</PRE>
    *
  - * @version $Id: LDC_W.java,v 1.1 2001/10/29 20:00:21 jvanzyl Exp $
  + * @version $Id: LDC_W.java,v 1.2 2002/04/11 08:59:14 mdahm Exp $
    * @author  <A HREF="mailto:[email protected]">M. Dahm</A>
    */
   public class LDC_W extends LDC {
  @@ -82,6 +82,8 @@
          throws IOException
     {
       setIndex(bytes.readUnsignedShort());
  +    // Override just in case it has been changed
  +    opcode = org.apache.bcel.Constants.LDC_W;
       length = 3;
     }
   }
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.