[Soot-list] soot-classpath troubles

Patrick Lam plam at sable.mcgill.ca
Tue Aug 15 13:53:06 EDT 2006


Dan Grossman wrote:
> 
> Thanks, Patrick.
> 
> We hadn't tried building with the repository-versions yet, which would
> have indicated this was a fixed bug.
> 
> We'll backport the fix.

Revision 2447 also seems to be relevant:

------------------------------------------------------------------------
r2447 | olhota | 2006-06-22 09:42:18 -0400 (Thu, 22 Jun 2006) | 1 line

fix for previous fix: also need to remove ; from the end of class name
------------------------------------------------------------------------

Index: coffi/CFG.java
===================================================================
--- coffi/CFG.java      (revision 2446)
+++ coffi/CFG.java      (revision 2447)
@@ -2735,7 +2735,10 @@
                     case 'S': baseType = ShortType.v(); break;
                     case 'Z': baseType = BooleanType.v(); break;
                     case 'J': baseType = LongType.v(); break;
-                    case 'L': baseType =
RefType.v(name.substring(dim+1)); break;                   default :
throw new RuntimeException("Unknown Array Base Type in Class Constant");
+                    case 'L': baseType = RefType.v(
+                                      name.substring(dim+1,
name.length()-1));
+                              break;
+                    default : throw new RuntimeException("Unknown Array
Base Type in Class Constant");
                 }
                 typeStack = typeStack.push(ArrayType.v(baseType, dim));
             }

pat


More information about the Soot-list mailing list