jdk/test/com/sun/jdi/redefineMethod/Different_RedefineSubTarg.java
author dcubed
Mon, 23 Nov 2009 10:29:33 -0700
changeset 4325 38a035021ba1
parent 2 90ce3da70b43
permissions -rw-r--r--
6903102: 3/3 fixes in nightly testing version of ShellScaffold.sh need to be committed Summary: Merge Jim's ShellScaffold.sh fixes with Tim's ShellScaffold.sh fixes. Reviewed-by: tbell

/* /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
    }
}