cpp files

Jonathan Gibbons jonathan.gibbons at oracle.com
Thu Jun 4 01:13:05 UTC 2015

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