File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
src/java.base/unix/native/libjli Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -211,7 +211,6 @@ static jboolean
211211RequiresSetenv (const char * jvmpath ) {
212212 char jpath [PATH_MAX + 1 ];
213213 char * llp ;
214- char * dmllp = NULL ;
215214 char * p ; /* a utility pointer */
216215
217216#ifdef MUSL_LIBC
@@ -229,7 +228,7 @@ RequiresSetenv(const char *jvmpath) {
229228
230229 llp = getenv ("LD_LIBRARY_PATH" );
231230 /* no environment variable is a good environment variable */
232- if (llp == NULL && dmllp == NULL ) {
231+ if (llp == NULL ) {
233232 return JNI_FALSE ;
234233 }
235234#ifdef __linux
@@ -268,9 +267,6 @@ RequiresSetenv(const char *jvmpath) {
268267 if (llp != NULL && ContainsLibJVM (llp )) {
269268 return JNI_TRUE ;
270269 }
271- if (dmllp != NULL && ContainsLibJVM (dmllp )) {
272- return JNI_TRUE ;
273- }
274270 return JNI_FALSE ;
275271}
276272#endif /* SETENV_REQUIRED */
You can’t perform that action at this time.
0 commit comments