summaryrefslogtreecommitdiff
path: root/test/826-infinite-loop/src/Main.java
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2021-12-23 08:22:28 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2021-12-23 08:22:28 +0000
commitf9da627a42193f596d33d799bf323fced18214c5 (patch)
treee60b0a64a2b342e96f6b886ec3e2e453e494e567 /test/826-infinite-loop/src/Main.java
parentc9e29fdcac7b0a28581289d33de5f7ffa80077b9 (diff)
parent0c5adfaaa09b234ea4a11a28b931c91c3d68f423 (diff)
Snap for 8024443 from 0c5adfaaa09b234ea4a11a28b931c91c3d68f423 to s-keystone-qcom-release
Change-Id: I5053cbf9ad9e0aab97fc39d1d19505e0bb2936cb
Diffstat (limited to 'test/826-infinite-loop/src/Main.java')
-rw-r--r--test/826-infinite-loop/src/Main.java26
1 files changed, 26 insertions, 0 deletions
diff --git a/test/826-infinite-loop/src/Main.java b/test/826-infinite-loop/src/Main.java
new file mode 100644
index 0000000000..85bcb28baf
--- /dev/null
+++ b/test/826-infinite-loop/src/Main.java
@@ -0,0 +1,26 @@
+/*
+ * Copyright (C) 2021 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.
+ */
+
+final class Main {
+ public static void main(String[] args) {
+ Object o = new Object();
+ if (args.length == 0) {
+ while (true) {
+ System.out.println(new Object());
+ }
+ }
+ }
+}