[Bug libgcj/50845] New: java.util.concurrent.ThreadPoolExecutor do not work with core thread=0

lsching17 at gmail dot com gcc-bugzilla@gcc.gnu.org
Mon Oct 24 06:28:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50845

             Bug #: 50845
           Summary: java.util.concurrent.ThreadPoolExecutor do not work
                    with core thread=0
    Classification: Unclassified
           Product: gcc
           Version: 4.5.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgcj
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: lsching17@gmail.com


Created attachment 25586
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25586
test case

Create a ThreadPoolExecutor with 0 core thread, maximum thread=5

submit a task to the threadpool, the task will not be runned.

The expected behaviour is that the ThreadPoolExecutor create a thread to
execute the task.



More information about the Java-prs mailing list