Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'othersrc/JCLMin1.5/src')
-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