diff options
author | Andrew John Hughes <gnu_andrew@member.fsf.org> | 2006-12-19 00:37:50 +0000 |
---|---|---|
committer | Andrew John Hughes <gnu_andrew@member.fsf.org> | 2006-12-19 00:37:50 +0000 |
commit | ec47f739052b575319d8f1d9f51941a0a7b694d4 (patch) | |
tree | 053f6fd3bebbf060ffa44948241123362f7a94aa | |
parent | 6147a971f288cb4e376816c3e6517ef734d856a8 (diff) | |
download | classpath-ec47f739052b575319d8f1d9f51941a0a7b694d4.tar.gz |
2006-12-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/lang/Enum.java:
(finalize()): Implemented.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | java/lang/Enum.java | 10 |
2 files changed, 15 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2006-12-19 Andrew John Hughes <gnu_andrew@member.fsf.org> + + * java/lang/Enum.java: + (finalize()): Implemented. + 2006-12-18 Andrew John Hughes <gnu_andrew@member.fsf.org> * gnu/java/lang/management/BeanImpl.java: diff --git a/java/lang/Enum.java b/java/lang/Enum.java index f141619be..84e1840bb 100644 --- a/java/lang/Enum.java +++ b/java/lang/Enum.java @@ -220,4 +220,14 @@ public abstract class Enum<T extends Enum<T>> k = k.getSuperclass(); return k; } + + /** + * Enumerations can not have finalization methods. + * + * @since 1.6 + */ + protected final void finalize() + { + } + } |