commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1702466 - /commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/generic/InstructionFactory.java
Date Fri, 11 Sep 2015 13:52:36 GMT
Author: sebb
Date: Fri Sep 11 13:52:35 2015
New Revision: 1702466

URL: http://svn.apache.org/r1702466
Log:
Support InvokeDynamic

Modified:
    commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/generic/InstructionFactory.java

Modified: commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/generic/InstructionFactory.java
URL: http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/generic/InstructionFactory.java?rev=1702466&r1=1702465&r2=1702466&view=diff
==============================================================================
--- commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/generic/InstructionFactory.java
(original)
+++ commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/generic/InstructionFactory.java
Fri Sep 11 13:52:35 2015
@@ -104,8 +104,10 @@ public class InstructionFactory {
                 return new INVOKESTATIC(index);
             case Const.INVOKEINTERFACE:
                 return new INVOKEINTERFACE(index, nargs + 1);
+            case Const.INVOKEDYNAMIC:
+                return new INVOKEDYNAMIC(index);
             default:
-                throw new RuntimeException("Oops: Unknown invoke kind:" + kind);
+                throw new RuntimeException("Oops: Unknown invoke kind: " + kind);
         }
     }
 



Mime
View raw message