From be4c2bd892bd167a50b4dfa7133e70a809197698 Mon Sep 17 00:00:00 2001 From: Alexey Grebenkin Date: Thu, 1 Feb 2018 19:09:59 +0300 Subject: Fix dangling SingleImplementations left after class unloading Test: make test-art-host, manual using sample code bug: 73143991 Change-Id: I4d56b39c69d4ed60266a8b90b9e9d18fba7b8227 --- test/616-cha-unloading/src/AbstractCHATester.java | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 test/616-cha-unloading/src/AbstractCHATester.java (limited to 'test/616-cha-unloading/src/AbstractCHATester.java') diff --git a/test/616-cha-unloading/src/AbstractCHATester.java b/test/616-cha-unloading/src/AbstractCHATester.java new file mode 100644 index 0000000000..e11094584a --- /dev/null +++ b/test/616-cha-unloading/src/AbstractCHATester.java @@ -0,0 +1,19 @@ +/* + * Copyright (C) 2018 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 abstract class AbstractCHATester { + public abstract void lonelyMethod(); +} -- cgit v1.2.3-59-g8ed1b