diff --git a/classpath/java/util/Random.java b/classpath/java/util/Random.java new file mode 100644 index 0000000000..f5388ae400 --- /dev/null +++ b/classpath/java/util/Random.java @@ -0,0 +1,7 @@ +package java.util; + +public class Random { + public int nextInt() { + return (int)(Math.random()*Integer.MAX_VALUE); + } +}