-
Bug
-
Resolution: Fixed
-
P4
-
9
-
None
-
b72
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8135354 | emb-9 | Erik Joelsson | P4 | Resolved | Fixed | team |
In libraries.m4 we have the following checks for libX11.so
if test "x$x_libraries" = xNONE; then
if test -f "$SYS_ROOT/usr/X11R6/lib/libX11.so"; then
x_libraries="$SYS_ROOT/usr/X11R6/lib"
elif test "$SYS_ROOT/usr/lib64/libX11.so" && test "x$OPENJDK_TARGET_CPU_BITS" = x64; then
x_libraries="$SYS_ROOT/usr/lib64"
elif test -f "$SYS_ROOT/usr/lib/libX11.so"; then
x_libraries="$SYS_ROOT/usr/lib"
fi
fi
fi
Where there's obviously a missing "-f" in the second test (test "$SYS_ROOT/usr/lib64/libX11.so")
if test "x$x_libraries" = xNONE; then
if test -f "$SYS_ROOT/usr/X11R6/lib/libX11.so"; then
x_libraries="$SYS_ROOT/usr/X11R6/lib"
elif test "$SYS_ROOT/usr/lib64/libX11.so" && test "x$OPENJDK_TARGET_CPU_BITS" = x64; then
x_libraries="$SYS_ROOT/usr/lib64"
elif test -f "$SYS_ROOT/usr/lib/libX11.so"; then
x_libraries="$SYS_ROOT/usr/lib"
fi
fi
fi
Where there's obviously a missing "-f" in the second test (test "$SYS_ROOT/usr/lib64/libX11.so")
- backported by
-
JDK-8135354 Fix bogus check for libX11.so in libraries.m4
-
- Resolved
-