diff --git a/classpath/java/lang/OutOfMemoryError.java b/classpath/java/lang/OutOfMemoryError.java new file mode 100644 index 0000000000..81e2891b28 --- /dev/null +++ b/classpath/java/lang/OutOfMemoryError.java @@ -0,0 +1,11 @@ +package java.lang; + +public class OutOfMemoryError extends Error { + public OutOfMemoryError(String message) { + super(message, null); + } + + public OutOfMemoryError() { + this(null); + } +}