jdk/test/com/sun/jdi/redefineMethod/Different_RedefineSubTarg.java
author jjg
Thu, 22 May 2008 15:51:41 -0700
changeset 655 1ebc7ce89018
parent 2 90ce3da70b43
permissions -rw-r--r--
6705945: com.sun.tools.javac.zip files do not have valid copyright Reviewed-by: mcimadamore

/* /nodynamiccopyright/ */ class RedefineSubTarg {        // 1 - do not change line numbers
    // add two lines
    // to check line number tables
    void top() {
        return;                // 5
    }
    void nemcp2(int eights) {
        eights = 88;
        top();                 // 9
    }
    void nemcp1() {
        // reserve this line
        nemcp2(888);           // 13
    }
    void emcp2() {
        nemcp1();              // 16
        return;                // 17
    }
    void emcp1(int whoseArg) {
        int parawham = 12;
        emcp2();               // 21
        return;                // 22
    }
    void bottom() {
        emcp1(56);             // 25
        return;                // 26
    }
    static void stnemcp() {
        (new RedefineSubTarg()).bottom(); // 29
                               // 30
        Integer.toString(4);
    }
    static void stemcp() {
        stnemcp();             // 34
        return;                // 35
    }
}