diff --git a/classpath/java/lang/Enum.java b/classpath/java/lang/Enum.java index 21485d2625..5edcbf6cd5 100644 --- a/classpath/java/lang/Enum.java +++ b/classpath/java/lang/Enum.java @@ -46,6 +46,10 @@ public abstract class Enum> implements Comparable { return ordinal; } + public final String name() { + return name; + } + public String toString() { return name; }