diff options
author | 2017-10-10 16:20:10 -0700 | |
---|---|---|
committer | 2017-10-10 16:20:10 -0700 | |
commit | a03a9eeb9d1b2ebca17cc326f52c84a5abca6707 (patch) | |
tree | 3a52462cba8002df6c086ee57d6b7e71a400c74a /test/1939-proxy-frames/src/Main.java | |
parent | baeedfee3521c295916e3ae85afa2cb5dee7d6a5 (diff) |
Ensure Proxy frames work with JVMTI stack frame functions
We were incorrectly returning errors and crashing when stack frame
JVMTI functions were used with Proxy methods. This fixes those issues
and adds a test for them.
Bug: 66903662
Test: ./test.py --host -j40
Change-Id: Ia7c768d631c5ac4d8339d70a9d4761d5b4bc284e
Diffstat (limited to 'test/1939-proxy-frames/src/Main.java')
-rw-r--r-- | test/1939-proxy-frames/src/Main.java | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/test/1939-proxy-frames/src/Main.java b/test/1939-proxy-frames/src/Main.java new file mode 100644 index 0000000000..85cab34d53 --- /dev/null +++ b/test/1939-proxy-frames/src/Main.java @@ -0,0 +1,21 @@ +/* + * Copyright (C) 2017 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +public class Main { + public static void main(String[] args) throws Exception { + art.Test1939.run(); + } +} |