need to build a DLL for an openjdk test

Pete Brunet peter.brunet at
Thu Jun 4 01:43:39 UTC 2015

Cross posting to build-dev for possible insight regarding Jon's last
paragraph below.

On 6/3/15 8:13 PM, Jonathan Gibbons wrote:
> On 06/03/2015 04:27 PM, Pete Brunet wrote:
>> Hi, As part of my test I need to build a simple DLL and then load it
>> from my test class.  Can jtreg build the DLL or will I need to create it
>> and include it in my test directory?  -Pete
> jtreg cannot directly compile native code.  In theory, you could do it
> in a shell script, but that immediately becomes a rats nest of "which
> platform, and where do I find the compilers?"
> If you are talking about native code and tests in OpenJDK
> repositories, then it is not acceptable to stash binaries in OpenJDK
> repositories.  But, there is an infrastructure in place for an OpenJDK
> build to build native libraries to be made available to test code.
> Perhaps someone else on this list can explain how that works.
> -- Jon

More information about the jtreg-use mailing list