RFR: JNI: Return the correct error code when a VM is already created
Sylvestre Ledru
sylvestre at debian.org
Fri Jul 5 06:06:58 PDT 2013
Hello,
> Here is the webrev:
>
> http://cr.openjdk.java.net/~coleenp/8019833/
> <http://cr.openjdk.java.net/%7Ecoleenp/8019833/>
>
> And the bug will be at:
> http://bugs.sun.com/view_bug.do?bug_id=8019833.
>
> Sylvestre, can you attach a small test case so I can add it to the
> bug.
> Our jtreg open test system doesn't support native code but if you
> send a test, we can add it when it does.
> Thanks,
> Coleen
Sure. Here it is.
Under my Debian, this is enough to build it:
g++ main.cpp -g -ljvm -L/usr/lib/jvm/default-java/jre/lib/amd64
-L/usr/lib/jvm/default-java/jre/lib/amd64/server/
-I/usr/lib/jvm/default-java/include
-I/usr/lib/jvm/default-java/include/linux -o main
LD_LIBRARY_PATH=:/usr/lib/jvm/default-java/jre/lib/amd64:/usr/lib/jvm/default-java/jre/lib/amd64/server
./main
Thanks
Sylvestre
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.cpp
Type: text/x-c++src
Size: 1487 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/hotspot-runtime-dev/attachments/20130705/20737c93/main.cpp
More information about the hotspot-runtime-dev
mailing list