diff options
| author | 2020-01-07 22:53:09 +0000 | |
|---|---|---|
| committer | 2020-01-07 17:31:43 -0800 | |
| commit | 2f4942879da18c9789800878b0e5eb87fbedb7b0 (patch) | |
| tree | b14968d70ac2f623f980207b4afad64806470994 /test/2007-virtual-structural-finalizable/src/Main.java | |
| parent | 0b1afb7c63d99c88f90f17770ad94ccb0b0c57d3 (diff) | |
Revert^2 "Remove finalizable restriction on structural redefinition"
This reverts commit 0b1afb7c63d99c88f90f17770ad94ccb0b0c57d3.
Daemon shutdown is known to be somewhat flaky. That seems to be the
cause of this failure.
Reason for revert: Removed Daemon threads from tests 2006 & 2007.
Bug: 134162467
Test: % ./art/test/run-test --create-runner --host --prebuild --compact-dex-level fast --jit --no-relocate --runtime-option -Xcheck:jni --debuggable --runtime-option -Xopaque-jni-ids:true --64 2007
...
Runnable test script written to /tmp/allight/test-230585/runit.sh
...
% ./art/tools/parallel_run.py -j80 /tmp/allight/test-230585/runit.sh --out failure.txt
Test: ./art/test/run-test --create-runner --host --prebuild --compact-dex-level fast --jit --no-relocate --runtime-option -Xcheck:jni --debuggable --runtime-option -Xopaque-jni-ids:true --64 2006
Change-Id: I392a2936995dd05b08feea36f11b616c1548ae46
Diffstat (limited to 'test/2007-virtual-structural-finalizable/src/Main.java')
| -rw-r--r-- | test/2007-virtual-structural-finalizable/src/Main.java | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/test/2007-virtual-structural-finalizable/src/Main.java b/test/2007-virtual-structural-finalizable/src/Main.java new file mode 100644 index 0000000000..89b8557970 --- /dev/null +++ b/test/2007-virtual-structural-finalizable/src/Main.java @@ -0,0 +1,21 @@ +/* + * Copyright (C) 2019 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 { + System.out.println("FAIL: Test is only for art!"); + } +} |