Running native code test

Carsten Varming varming at gmail.com
Mon Nov 30 22:21:00 UTC 2015


Dear Ioi,

Absolutely,

diff -r 7606b8556225 test/Makefile
--- a/test/Makefile     Thu Nov 26 13:13:03 2015 +0100
+++ b/test/Makefile     Mon Nov 30 17:20:30 2015 -0500
@@ -156,7 +156,7 @@
   TESTNATIVE_DIR = $(JPRT_TESTNATIVE_PATH)
 endif
 ifdef TESTNATIVE_DIR
-  JTREG_NATIVE_PATH = -nativepath:$(shell $(GETMIXEDPATH)
"$(TESTNATIVE_DIR)/hotspot/jtreg/native")
+  JTREG_NATIVE_PATH = -nativepath:$(shell $(GETMIXEDPATH)
"$(TESTNATIVE_DIR)/hotspot/jtreg/native/lib")
 endif

 # Expect JPRT to set JPRT_ARCHIVE_BUNDLE (path to zip bundle for results)

Carsten

On Mon, Nov 30, 2015 at 5:17 PM, Ioi Lam <ioi.lam at oracle.com> wrote:

> Your patch seems to have been stripped by the mailer. Is it possible to
> just include it as plain text in the e-mail?
>
> Thanks
> - Ioi
>
>
> On 11/30/15 1:34 PM, Carsten Varming wrote:
>
>> Hi everyone,
>>
>> I was recently trying to run some tests that use native code, e.g.,
>> hotspot/runtime/SameObject/SameObject.java and found that I had to apply
>> the attached diff to get the tests to work.
>>
>> I am doing something wrong or is this a trivial bug?
>>
>> Carsten
>>
>
>


More information about the hotspot-runtime-dev mailing list