[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Comment bug in Constructor.java
From: |
Patrick Doyle |
Subject: |
Comment bug in Constructor.java |
Date: |
Tue, 31 Jul 2001 14:17:34 -0400 (EDT) |
In vm/reference/java/lang/reflect/Constructor.java, there is the following
comment:
** @exception InstantiationException if the class is abstract.
** <B>Never mind that there should be no constructors
** in an abstract class.</B>
I'm not sure why the author of this comment thought this was the case
(perhaps he was thinking of interfaces? or is it a stylistic comment on
class design?) but AFAIK it's not true. Abstract classes can have
constructors.
--
Patrick Doyle
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Comment bug in Constructor.java,
Patrick Doyle <=