Skip to content


Subversion checkout URL

You can clone with
Download ZIP
The Dojo Toolkit build utilities. Please submit bugs to
JavaScript PHP Java HTML XSLT Shell Other

Prevent 60s hang at end of builds due to closure compiler timeout.

Problem happened on Windows (but not OSx) when using Node and closure.

Use Java reflection to call ExecutorService.shutdown() on Compiler's
`compilerExecutor` field when we are finished compiling JS.

This prevents the default 60 seconds timeout that the ExecutorService will
wait before stopping Threads that have no work to do.

WARNING - This code uses the private `compilerExecutor` field of Compiler,
and so may break if Compiler's internal implementation changes.

Fixes #17105.
latest commit 7085ef15f7
@gitgrimbo gitgrimbo authored wkeese committed


util is a set of utilities developed to utilise with the Dojo Toolkit. It is best to read the documentation to understand what tools are available within the repository.


Installation instructions are available at

Getting Started

If you are starting out with Dojo, the following resources are available to you:

License and Copyright

The Dojo Toolkit (including this package) is dual licensed under BSD 3-Clause and AFL. For more information on the license please see the License Information. The Dojo Toolkit is Copyright (c) 2005-2013, The Dojo Foundation. All rights reserved.

Something went wrong with that request. Please try again.