summaryrefslogtreecommitdiff
path: root/test/2002-virtual-structural-initializing/src/Main.java
diff options
context:
space:
mode:
author Roland Levillain <rpl@google.com> 2019-11-26 14:13:44 +0000
committer Treehugger Robot <treehugger-gerrit@google.com> 2019-11-26 15:55:26 +0000
commit88b1c83080afcb2bfb6f781ded1c90fe8f9eab4d (patch)
treee3ee63ccca83c60c5790e51610349889f44daacf /test/2002-virtual-structural-initializing/src/Main.java
parent8e895008a3e2f2813bb46cb0c6bc76884e46e9ac (diff)
Revert "Allow structural redefinition on non-final classes."
This reverts commit c47040d31cbcd8cddd5fadb552b4f0f6c94b5bd0. Reason for revert: Breaks ART tests (see e.g. b/145197371). Bug: 145197371 Bug: 134162467 Bug: 144168550 Change-Id: Ia8e5788655057e380fc723a38900d26d69cda938
Diffstat (limited to 'test/2002-virtual-structural-initializing/src/Main.java')
-rw-r--r--test/2002-virtual-structural-initializing/src/Main.java21
1 files changed, 0 insertions, 21 deletions
diff --git a/test/2002-virtual-structural-initializing/src/Main.java b/test/2002-virtual-structural-initializing/src/Main.java
deleted file mode 100644
index 89b8557970..0000000000
--- a/test/2002-virtual-structural-initializing/src/Main.java
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * 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!");
- }
-}