Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6313218

(cl spec) setClassAssertionStatus javadoc refers to its nonexistent return value

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 6
    • 6
    • core-libs

      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."

            martin Martin Buchholz
            martin Martin Buchholz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: