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

No wildcard in BlockingQueue<> argument type of ThreadPoolExecutor

XMLWordPrintable

      A DESCRIPTION OF THE PROBLEM :
      ThreadPoolExecutor ctor takes BlockingQueue<Runnable> as a parameter, while it clearly should better take BlockingQueue<? extends Runnable> as that allows for more generic usage.


            Unassigned Unassigned
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: