Skip to content

Commit a472433

Browse files
committed
8276572: Fake libsyslookup.so library causes tooling issues
Reviewed-by: shade, mcimadamore
1 parent b01f107 commit a472433

File tree

1 file changed

+5
-0
lines changed
  • src/jdk.incubator.foreign/share/native/libsyslookup

1 file changed

+5
-0
lines changed

src/jdk.incubator.foreign/share/native/libsyslookup/syslookup.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,8 @@
2626
// Note: the include below is not strictly required, as dependencies will be pulled using linker flags.
2727
// Adding at least one #include removes unwanted warnings on some platforms.
2828
#include <stdlib.h>
29+
30+
// Simple dummy function so this library appears as a normal library to tooling.
31+
char* syslookup() {
32+
return "syslookup";
33+
}

0 commit comments

Comments
 (0)