Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephan Herrmann2010-04-24 09:46:39 -0400
committerStephan Herrmann2010-04-24 09:46:39 -0400
commitce02c060eb2834d733f784f284ecb4f208e18316 (patch)
treeedb0651cb9367c5d56a40e55e6a836c3b527551a /othersrc/JCLMin1.5
parentd5116889e0edd287a0ca8b1bba4dd2d7db141675 (diff)
downloadorg.eclipse.objectteams-ce02c060eb2834d733f784f284ecb4f208e18316.tar.gz
org.eclipse.objectteams-ce02c060eb2834d733f784f284ecb4f208e18316.tar.xz
org.eclipse.objectteams-ce02c060eb2834d733f784f284ecb4f208e18316.zip
follow-up of r222: JCLmin needs more classes.
Diffstat (limited to 'othersrc/JCLMin1.5')
-rw-r--r--othersrc/JCLMin1.5/src/java/io/IOException.java5
-rw-r--r--othersrc/JCLMin1.5/src/java/io/ObjectInputStream.java5
-rw-r--r--othersrc/JCLMin1.5/src/java/io/ObjectOutputStream.java5
-rw-r--r--othersrc/JCLMin1.5/src/java/lang/Class.java1
-rw-r--r--othersrc/JCLMin1.5/src/java/lang/Override.java11
5 files changed, 27 insertions, 0 deletions
diff --git a/othersrc/JCLMin1.5/src/java/io/IOException.java b/othersrc/JCLMin1.5/src/java/io/IOException.java
new file mode 100644
index 000000000..c161494d7
--- /dev/null
+++ b/othersrc/JCLMin1.5/src/java/io/IOException.java
@@ -0,0 +1,5 @@
+package java.io;
+
+public class IOException extends Exception {
+
+}
diff --git a/othersrc/JCLMin1.5/src/java/io/ObjectInputStream.java b/othersrc/JCLMin1.5/src/java/io/ObjectInputStream.java
new file mode 100644
index 000000000..c422bb7f4
--- /dev/null
+++ b/othersrc/JCLMin1.5/src/java/io/ObjectInputStream.java
@@ -0,0 +1,5 @@
+package java.io;
+
+public class ObjectInputStream {
+ public boolean readBoolean() throws IOException { return false; }
+}
diff --git a/othersrc/JCLMin1.5/src/java/io/ObjectOutputStream.java b/othersrc/JCLMin1.5/src/java/io/ObjectOutputStream.java
new file mode 100644
index 000000000..e33767f4f
--- /dev/null
+++ b/othersrc/JCLMin1.5/src/java/io/ObjectOutputStream.java
@@ -0,0 +1,5 @@
+package java.io;
+
+public class ObjectOutputStream {
+ public void writeBoolean(boolean flag) throws IOException {}
+}
diff --git a/othersrc/JCLMin1.5/src/java/lang/Class.java b/othersrc/JCLMin1.5/src/java/lang/Class.java
index c3bccc240..2163dd3b5 100644
--- a/othersrc/JCLMin1.5/src/java/lang/Class.java
+++ b/othersrc/JCLMin1.5/src/java/lang/Class.java
@@ -3,4 +3,5 @@ package java.lang;
public class Class<T> {
public String getName() { return null; }
public boolean isInstance(Object o) { return false; }
+ public boolean isAssignableFrom (Class<?> other) { return false; }
}
diff --git a/othersrc/JCLMin1.5/src/java/lang/Override.java b/othersrc/JCLMin1.5/src/java/lang/Override.java
new file mode 100644
index 000000000..16932c513
--- /dev/null
+++ b/othersrc/JCLMin1.5/src/java/lang/Override.java
@@ -0,0 +1,11 @@
+package java.lang;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+@Target(ElementType.METHOD)
+@Retention(RetentionPolicy.SOURCE)
+public @interface Override {
+} \ No newline at end of file

Back to the top