Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 99871 | Differences between
and this patch

Collapse All | Expand All

(-)src/jreversepro/reflect/JMethod.java.orig (-4 / +4 lines)
Lines 478-489 Link Here
478
        result.append("\n\t  // Max Locals " + maxLocals);
478
        result.append("\n\t  // Max Locals " + maxLocals);
479
        result.append("  , Max Stack " +  maxStack);
479
        result.append("  , Max Stack " +  maxStack);
480
        if (exceptionBlocks != null)  {
480
        if (exceptionBlocks != null)  {
481
            Enumeration enum = Collections.enumeration(exceptionBlocks);
481
            Enumeration myEnum = Collections.enumeration(exceptionBlocks);
482
            if (enum.hasMoreElements()) {
482
            if (myEnum.hasMoreElements()) {
483
                result.append("\n\n\t  /**");
483
                result.append("\n\n\t  /**");
484
                result.append("\n\t\tFrom  To  Handler\tClass\n");
484
                result.append("\n\t\tFrom  To  Handler\tClass\n");
485
                while (enum.hasMoreElements()) {
485
                while (myEnum.hasMoreElements()) {
486
                    JException exc = (JException) enum.nextElement();
486
                    JException exc = (JException) myEnum.nextElement();
487
                    result.append(exc.toString());
487
                    result.append(exc.toString());
488
                }
488
                }
489
                result.append("\t  **/\n");
489
                result.append("\t  **/\n");
(-)src/jreversepro/revengine/JDisAssembler.java.orig (-3 / +3 lines)
Lines 98-106 Link Here
98
            curMethod.setSymbolTable(
98
            curMethod.setSymbolTable(
99
                                new JSymbolTable(curMethod, importInfo));
99
                                new JSymbolTable(curMethod, importInfo));
100
                
100
                
101
            Enumeration enum  = Collections.enumeration(byteIns);
101
            Enumeration myEnum  = Collections.enumeration(byteIns);
102
            while (enum.hasMoreElements()) {
102
            while (myEnum.hasMoreElements()) {
103
                JInstruction thisIns = (JInstruction) enum.nextElement();
103
                JInstruction thisIns = (JInstruction) myEnum.nextElement();
104
                if (thisIns.opcode == OPCODE_TABLESWITCH) {
104
                if (thisIns.opcode == OPCODE_TABLESWITCH) {
105
                    JSwitchTable switches = new JSwitchTable(
105
                    JSwitchTable switches = new JSwitchTable(
106
                                    curMethod, thisIns, null);
106
                                    curMethod, thisIns, null);
(-)src/jreversepro/runtime/JSymbolTable.java.orig (-3 / +3 lines)
Lines 244-252 Link Here
244
     **/
244
     **/
245
    public List defineVariable(int endOfBranch) {
245
    public List defineVariable(int endOfBranch) {
246
        List result = new Vector();
246
        List result = new Vector();
247
        Enumeration enum = Collections.enumeration(symbols.values());
247
        Enumeration myEnum = Collections.enumeration(symbols.values());
248
        while (enum.hasMoreElements()) {
248
        while (myEnum.hasMoreElements()) {
249
            List list = (List) enum.nextElement();
249
            List list = (List) myEnum.nextElement();
250
            for (int i = 0; i < list.size(); i++) {
250
            for (int i = 0; i < list.size(); i++) {
251
                JLocalEntry ent = (JLocalEntry) list.get(i);
251
                JLocalEntry ent = (JLocalEntry) list.get(i);
252
                if (!ent.isDeclared()
252
                if (!ent.isDeclared()
(-)src/jreversepro/runtime/JRunTimeContext.java.orig (-3 / +3 lines)
Lines 286-296 Link Here
286
    public void writeVariableDeclarations(JBranchEntry ent,
286
    public void writeVariableDeclarations(JBranchEntry ent,
287
                                        JSymbolTable symTable)
287
                                        JSymbolTable symTable)
288
                                 throws RevEngineException {
288
                                 throws RevEngineException {
289
        Enumeration enum = Collections.enumeration(
289
        Enumeration myEnum = Collections.enumeration(
290
                    symTable.defineVariable(
290
                    symTable.defineVariable(
291
                            ent.getEndBlockPc()));
291
                            ent.getEndBlockPc()));
292
        while (enum.hasMoreElements()) {
292
        while (myEnum.hasMoreElements()) {
293
            String varDec = enum.nextElement().toString();
293
            String varDec = myEnum.nextElement().toString();
294
            //PP *** Need to identify offsets for next line ***
294
            //PP *** Need to identify offsets for next line ***
295
            method.addLineOfCode(new JLineOfCode(
295
            method.addLineOfCode(new JLineOfCode(
296
                                    -1, -1, -1,
296
                                    -1, -1, -1,

Return to bug 99871