diff options
author | 2017-04-07 09:00:04 -0700 | |
---|---|---|
committer | 2017-04-07 09:44:55 -0700 | |
commit | 4665167ddc34008dfa78a2873685fe7a98772eab (patch) | |
tree | 9af21169db0e6de2496b2946861436a9ecaf72e3 /test/904-object-allocation/src/Main.java | |
parent | 2bbf16da51c6a61da8ccd3c8d4d8382f6bbc9623 (diff) |
ART: More refactor for JVMTI run tests (1/3)
Put (most) tests into a new package and give them dedicated
class names (Test9XY).
NOTE: BROKEN WITHOUT A FOLLOW-UP CL TO CHANGE DIRECTORY STRUCTURE
AND FILE NAMES!
Bug: 32072923
Test: None
Change-Id: I291b0543f7782914e446a74f0d9037020c88e5b5
Diffstat (limited to 'test/904-object-allocation/src/Main.java')
-rw-r--r-- | test/904-object-allocation/src/Main.java | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/test/904-object-allocation/src/Main.java b/test/904-object-allocation/src/Main.java index df59179cc8..31e0c8c1ae 100644 --- a/test/904-object-allocation/src/Main.java +++ b/test/904-object-allocation/src/Main.java @@ -14,10 +14,14 @@ * limitations under the License. */ +package art; + import java.util.ArrayList; -public class Main { - public static void main(String[] args) throws Exception { +public class Test904 { + public static void run() throws Exception { + Main.bindAgentJNIForClass(Test904.class); + // Use a list to ensure objects must be allocated. ArrayList<Object> l = new ArrayList<>(100); |