[ 
http://jira.codehaus.org/browse/MOJO-1550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=255816#action_255816
 ] 

Jean-Marie Dautelle commented on MOJO-1550:
-------------------------------------------

The ThreadPoolExecutor buffer has to be greater than the maximum number of 
tasks submitted otherwise tasks might get rejected (since there is no room to 
store them before processing). 
A small change of the AbstractCompiler class has been attached which resolves 
the issue/bug.
Please incorporate this fix in the next release.

> RejectedExecutionException when numberOfConcurrentCompilation is other than 1
> -----------------------------------------------------------------------------
>
>                 Key: MOJO-1550
>                 URL: http://jira.codehaus.org/browse/MOJO-1550
>             Project: Mojo
>          Issue Type: Bug
>          Components: native
>    Affects Versions: apt-maven-plugin-1.0-alpha-4, 
> buildnumber-maven-plugin-1.0-beta-5
>         Environment: Linux (gcc 3.2) or Windows (Visual Studio 2005)
>            Reporter: Jean-Marie Dautelle
>         Attachments: AbstractCompiler.java
>
>
> First thanks for your work on the native plugin. We use it extensively 
> (linux, win32) and it works great for us.
> There is one problem though, when we set the numberOfConcurrentCompilation to 
> any thing other than 1. We get a 
> edu.emory.mathcs.backport.java.util.concurrent.RejectedExecutionException
> This regardless of the project for which we set it, or the platform (linux, 
> win32).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to