diff --git a/classpath/java/lang/Long.java b/classpath/java/lang/Long.java index 06c1d7506e..401d31492f 100644 --- a/classpath/java/lang/Long.java +++ b/classpath/java/lang/Long.java @@ -14,6 +14,10 @@ public final class Long extends Number { this.value = parseLong(s); } + public static Long valueOf(String value) { + return new Long(value); + } + public static Long valueOf(long value) { return new Long(value); }