[ 
http://jira.codehaus.org/browse/MOJO-1550?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jean-Marie Dautelle updated MOJO-1550:
--------------------------------------

    Attachment: AbstractCompiler.java

This is the modification to the AbstractCompiler file to fix the issue (I don't 
have commit right). 
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). 

> 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