diff options
Diffstat (limited to 'libjava/java/lang/Void.java')
-rw-r--r-- | libjava/java/lang/Void.java | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/libjava/java/lang/Void.java b/libjava/java/lang/Void.java index 2ac72f2..b2d64dd 100644 --- a/libjava/java/lang/Void.java +++ b/libjava/java/lang/Void.java @@ -1,5 +1,5 @@ -/* java.lang.Void - Copyright (C) 1998, 1999, 2001 Free Software Foundation, Inc. +/* Void.class - defines void.class + Copyright (C) 1998, 1999, 2001, 2002 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -38,30 +38,29 @@ exception statement from your version. */ package java.lang; -/* Written using "Java Class Libraries", 2nd edition, plus online - * API docs for JDK 1.2 beta from http://www.javasoft.com. - * Status: Complete. - */ - /** - * Void is a placeholder class so that the variable Void.TYPE can be - * supported for reflection return types. + * Void is a placeholder class so that the variable <code>Void.TYPE</code> + * (also available as <code>void.class</code>) can be supported for + * reflection return types. + * + * <p>This class could be Serializable, but that is up to Sun. * * @author Paul Fisher * @author John Keiser - * @author Per Bothner <bothner@cygnus.com> - * @since JDK1.1 + * @author Eric Blake <ebb9@email.byu.edu> + * @since 1.1 + * @status updated to 1.4 */ public final class Void { /** - * The return type <code>void</code> is represented by this + * The return type <code>void</code> is represented by this * <code>Class</code> object. */ public static final Class TYPE = VMClassLoader.getPrimitiveClass('V'); /** - * Don't allow Void objects to be made. + * Void is non-instantiable. */ private Void() { } } |