On Tue, 5 Jan 2021 01:30:07 GMT, Ioi Lam <ik...@openjdk.org> wrote: > Now the saproc DLL has an external reference to getLastErrorString, > JNU_NewStringPlatform and JNU_NewObjectByName on all platforms. Do we need to > modify the makefiles for platforms other than Windows?
@iklam Agree, so I added `LIBS_unix := -ljava` to make/modules/jdk.hotspot.agent/Lib.gmk in this change. It works fine on Windows x64 and Linux x64. ------------- PR: https://git.openjdk.java.net/jdk/pull/1928