jdk/test/com/sun/jdi/redefineMethod/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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
/* /nodynamiccopyright/ */ class RedefineSubTarg {        // 1 - do not change line numbers
90ce3da70b43 Initial load
duke
parents:
diff changeset
     2
    void top() {
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
        return;                // 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
    void nemcp2(int eights) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
        top();                 // 6
90ce3da70b43 Initial load
duke
parents:
diff changeset
     7
        return;                // 7
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
     9
    void nemcp1() {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
        int rot = 4;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
        nemcp2(888);           // 11
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
        return;                // 12
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
    void emcp2() {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
        nemcp1();              // 15
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
        return;                // 16
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
    void emcp1(int myArg) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    19
        int paramy = 12;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    20
        emcp2();               // 20
90ce3da70b43 Initial load
duke
parents:
diff changeset
    21
        return;                // 21
90ce3da70b43 Initial load
duke
parents:
diff changeset
    22
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
    23
    void bottom() {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    24
        emcp1(56);             // 24
90ce3da70b43 Initial load
duke
parents:
diff changeset
    25
        return;                // 25
90ce3da70b43 Initial load
duke
parents:
diff changeset
    26
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
    27
    static void stnemcp() {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
        (new RedefineSubTarg()).bottom(); // 28
90ce3da70b43 Initial load
duke
parents:
diff changeset
    29
                               // 29
90ce3da70b43 Initial load
duke
parents:
diff changeset
    30
        return;                // 30
90ce3da70b43 Initial load
duke
parents:
diff changeset
    31
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
    32
    static void stemcp() {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    33
        stnemcp();             // 33
90ce3da70b43 Initial load
duke
parents:
diff changeset
    34
        return;                // 34
90ce3da70b43 Initial load
duke
parents:
diff changeset
    35
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
    36
}