jtreg - building java and cpp test

Jonathan Gibbons jonathan.gibbons at oracle.com
Thu Nov 19 22:30:56 UTC 2015


I presume that some tests do System.loadLIbrary to access the native 
code that will be present on the
nativepath.

-- Jon

On 11/19/2015 01:45 PM, Pete Brunet wrote:
> Yes, I saw that.  But I don't see how to write my test to use it.  Where
> do I put my cpp file so it ends up in whatever $(shell $(GETMIXEDPATH)
> "$(TESTNATIVE_DIR)/jdk/jtreg/native") is.  I searched for a jtreg/native
> under my entire tree including the build output and didn't find it.
> That's why it seems noone is using this feature.  But maybe I am missing
> something.  I'm hoping someone has already done this so I can use that
> as a prototype.
>
> BTW, I foundhttps://bugs.openjdk.java.net/browse/JDK-8072842  which
> added the infrastructure last February but didn't find any helpful
> information there.
>
> Pete



More information about the jtreg-use mailing list