summaryrefslogtreecommitdiffstats
path: root/core-stubs-mini
diff options
context:
space:
mode:
authorJean-Marie Henaff <jmhenaff@google.com>2015-02-06 09:50:29 +0100
committerJean-Marie Henaff <jmhenaff@google.com>2015-02-16 13:48:00 +0100
commit75893ddbb67ca2268828bae9bc9680f2d21e465c (patch)
treea29f316a50bf72ae790a0b1b0c466406d2fd8407 /core-stubs-mini
parent162d209dbffe0579058be3ba48f78a29a261c441 (diff)
downloadtoolchain_jack-75893ddbb67ca2268828bae9bc9680f2d21e465c.zip
toolchain_jack-75893ddbb67ca2268828bae9bc9680f2d21e465c.tar.gz
toolchain_jack-75893ddbb67ca2268828bae9bc9680f2d21e465c.tar.bz2
Remove default bootclasspath in legacy compilers for tests
Classpath is explicitely passed by each test. Change-Id: Id492cd9b515ed489291fb3a6e0a3693704774208
Diffstat (limited to 'core-stubs-mini')
-rw-r--r--core-stubs-mini/src/java/lang/ArithmeticException.java27
-rw-r--r--core-stubs-mini/src/java/lang/ExceptionInInitializerError.java39
-rw-r--r--core-stubs-mini/src/java/lang/IllegalMonitorStateException.java27
-rw-r--r--core-stubs-mini/src/java/lang/UnsatisfiedLinkError.java27
4 files changed, 120 insertions, 0 deletions
diff --git a/core-stubs-mini/src/java/lang/ArithmeticException.java b/core-stubs-mini/src/java/lang/ArithmeticException.java
new file mode 100644
index 0000000..8eabf1f
--- /dev/null
+++ b/core-stubs-mini/src/java/lang/ArithmeticException.java
@@ -0,0 +1,27 @@
+/*
+* Copyright (C) 2015 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.
+*/
+
+package java.lang;
+
+public class ArithmeticException extends java.lang.RuntimeException {
+ public ArithmeticException() {
+ throw new RuntimeException("Stub!");
+ }
+
+ public ArithmeticException(java.lang.String detailMessage) {
+ throw new RuntimeException("Stub!");
+ }
+}
diff --git a/core-stubs-mini/src/java/lang/ExceptionInInitializerError.java b/core-stubs-mini/src/java/lang/ExceptionInInitializerError.java
new file mode 100644
index 0000000..013d785
--- /dev/null
+++ b/core-stubs-mini/src/java/lang/ExceptionInInitializerError.java
@@ -0,0 +1,39 @@
+/*
+* Copyright (C) 2015 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.
+*/
+
+package java.lang;
+
+public class ExceptionInInitializerError extends java.lang.LinkageError {
+ public ExceptionInInitializerError() {
+ throw new RuntimeException("Stub!");
+ }
+
+ public ExceptionInInitializerError(java.lang.String detailMessage) {
+ throw new RuntimeException("Stub!");
+ }
+
+ public ExceptionInInitializerError(java.lang.Throwable exception) {
+ throw new RuntimeException("Stub!");
+ }
+
+ public java.lang.Throwable getException() {
+ throw new RuntimeException("Stub!");
+ }
+
+ public java.lang.Throwable getCause() {
+ throw new RuntimeException("Stub!");
+ }
+}
diff --git a/core-stubs-mini/src/java/lang/IllegalMonitorStateException.java b/core-stubs-mini/src/java/lang/IllegalMonitorStateException.java
new file mode 100644
index 0000000..22f77cb
--- /dev/null
+++ b/core-stubs-mini/src/java/lang/IllegalMonitorStateException.java
@@ -0,0 +1,27 @@
+/*
+* Copyright (C) 2015 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.
+*/
+
+package java.lang;
+
+public class IllegalMonitorStateException extends java.lang.RuntimeException {
+ public IllegalMonitorStateException() {
+ throw new RuntimeException("Stub!");
+ }
+
+ public IllegalMonitorStateException(java.lang.String detailMessage) {
+ throw new RuntimeException("Stub!");
+ }
+}
diff --git a/core-stubs-mini/src/java/lang/UnsatisfiedLinkError.java b/core-stubs-mini/src/java/lang/UnsatisfiedLinkError.java
new file mode 100644
index 0000000..07b7863
--- /dev/null
+++ b/core-stubs-mini/src/java/lang/UnsatisfiedLinkError.java
@@ -0,0 +1,27 @@
+/*
+* Copyright (C) 2015 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.
+*/
+
+package java.lang;
+
+public class UnsatisfiedLinkError extends java.lang.LinkageError {
+ public UnsatisfiedLinkError() {
+ throw new RuntimeException("Stub!");
+ }
+
+ public UnsatisfiedLinkError(java.lang.String detailMessage) {
+ throw new RuntimeException("Stub!");
+ }
+}