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

Executor classes missing unchecked exception specs

XMLWordPrintable

    • b03
    • generic
    • generic
    • Not verified

        ScheduledThreadPoolExecutor and AbstractExecutorService
        have a number of public methods
        without a javadoc comment, relying on default javadoc inheritance.

        But it's an old story; unchecked exception specifications are not inherited,
        and so implementing classes need to add comments like this:

        + /**
        + * @throws RejectedExecutionException {@inheritDoc}
        + * @throws NullPointerException {@inheritDoc}
        + */

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: