dims 2002/06/12 06:48:18 Modified: java/src/org/apache/axis/utils/bytecode Serp.java Log: Serp based Extractor now passes "all-tests". Revision Changes Path 1.2 +6 -6 xml-axis/java/src/org/apache/axis/utils/bytecode/Serp.java Index: Serp.java =================================================================== RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/utils/bytecode/Serp.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- Serp.java 2 Apr 2002 20:23:07 -0000 1.1 +++ Serp.java 12 Jun 2002 13:48:18 -0000 1.2 @@ -119,11 +119,11 @@ return null; // Get the Code object, which contains the local variable table. - Code code = bmeth.getCode(true); + Code code = bmeth.getCode(false); if (code == null) return null; - LocalVariableTable table = code.getLocalVariableTable(true); + LocalVariableTable table = code.getLocalVariableTable(false); if (table == null) return null; @@ -141,9 +141,9 @@ for (int j = 0; j < vars.length; j++) { LocalVariable var = vars[j]; if (! var.getName().equals("this")) { - if(temp.size() < var.getTypeIndex() + 1) - temp.setSize(var.getTypeIndex() + 1); - temp.setElementAt(var.getName(), var.getTypeIndex()); + if(temp.size() < var.getLocal() + 1) + temp.setSize(var.getLocal() + 1); + temp.setElementAt(var.getName(), var.getLocal()); } } int k = 0;