-
Bug
-
Resolution: Fixed
-
P3
-
6
-
b53
-
generic
-
generic
Josh Bloch writes:
"The setClassAssertionStatus method in ClassLoader has a minor doc bug.
It says: "If the named class is not a top-level class, this
invocation will have no effect on the actual assertion status of any
class, and its return value is undefined." But it has a void return
type. I believe that we toyed with a Boolean return type (and I don't
remember why we abandoned it). Anyway, it would be sensible to remove
the garbage after the comma."
"The setClassAssertionStatus method in ClassLoader has a minor doc bug.
It says: "If the named class is not a top-level class, this
invocation will have no effect on the actual assertion status of any
class, and its return value is undefined." But it has a void return
type. I believe that we toyed with a Boolean return type (and I don't
remember why we abandoned it). Anyway, it would be sensible to remove
the garbage after the comma."