Author: dbrosius
Date: Sun Jul 3 02:41:18 2016
New Revision: 1751107
URL: http://svn.apache.org/viewvc?rev=1751107&view=rev
Log:
Gracefully handle ecj's odd generation of LocalVariableTypeTable types,
prefixed by \!, or \!+ or \!*
Modified:
commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/Utility.java
Modified:
commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/Utility.java
URL:
http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/Utility.java?rev=1751107&r1=1751106&r2=1751107&view=diff
==============================================================================
---
commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/Utility.java
(original)
+++
commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/Utility.java
Sun Jul 3 02:41:18 2016
@@ -1083,6 +1083,10 @@ public abstract class Utility {
return Const.T_BOOLEAN;
case 'S':
return Const.T_SHORT;
+ case '!':
+ case '+':
+ case '*':
+ return typeOfSignature(signature.substring(1));
default:
throw new ClassFormatException("Invalid method signature:
" + signature);
}