jakarta-bcel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tcu...@apache.org
Subject svn commit: r394939 - /jakarta/bcel/branches/BCEL_5_2/src/java/org/apache/bcel/util/BCELifier.java
Date Tue, 18 Apr 2006 13:23:52 GMT
Author: tcurdt
Date: Tue Apr 18 06:23:49 2006
New Revision: 394939

URL: http://svn.apache.org/viewcvs?rev=394939&view=rev
Log:
fixed the ACC_FLAG loop

Modified:
    jakarta/bcel/branches/BCEL_5_2/src/java/org/apache/bcel/util/BCELifier.java

Modified: jakarta/bcel/branches/BCEL_5_2/src/java/org/apache/bcel/util/BCELifier.java
URL: http://svn.apache.org/viewcvs/jakarta/bcel/branches/BCEL_5_2/src/java/org/apache/bcel/util/BCELifier.java?rev=394939&r1=394938&r2=394939&view=diff
==============================================================================
--- jakarta/bcel/branches/BCEL_5_2/src/java/org/apache/bcel/util/BCELifier.java (original)
+++ jakarta/bcel/branches/BCEL_5_2/src/java/org/apache/bcel/util/BCELifier.java Tue Apr 18
06:23:49 2006
@@ -192,7 +192,7 @@
             return "0";
         }
         StringBuffer buf = new StringBuffer();
-        for (int i = 0, pow = 1; i <= Constants.MAX_ACC_FLAG; i++) {
+        for (int i = 0, pow = 1; pow <= Constants.MAX_ACC_FLAG; i++) {
             if ((flags & pow) != 0) {
                 if ((pow == Constants.ACC_SYNCHRONIZED) && (reason == FLAG_FOR_CLASS))
{
                     buf.append("ACC_SUPER | ");



---------------------------------------------------------------------
To unsubscribe, e-mail: bcel-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: bcel-dev-help@jakarta.apache.org


Mime
View raw message