mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-24 09:10:08 +00:00
8131136: java/awt/font/JNICheck/JNICheck.sh issue warning on core-libs code
Reviewed-by: aivanov, prr, serb
This commit is contained in:
parent
9af36b13c5
commit
dbbfa76b73
@ -74,7 +74,7 @@ DEF_JNI_OnLoad(JavaVM *vm, void *reserved)
|
||||
s = (*env)->NewStringUTF(env, "java.net.preferIPv4Stack");
|
||||
CHECK_NULL_RETURN(s, JNI_VERSION_1_2);
|
||||
preferIPv4Stack = (*env)->CallStaticBooleanMethod(env, iCls, mid, s);
|
||||
|
||||
JNU_CHECK_EXCEPTION_RETURN(env, JNI_VERSION_1_2);
|
||||
/*
|
||||
* Since we have initialized and loaded the socket library we will
|
||||
* check now whether we have IPv6 on this platform and if the
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
#!/bin/ksh -p
|
||||
#
|
||||
# Copyright (c) 2015, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
# Copyright (c) 2015, 2025, Oracle and/or its affiliates. All rights reserved.
|
||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
#
|
||||
# This code is free software; you can redistribute it and/or modify it
|
||||
@ -49,7 +49,7 @@ else
|
||||
fi
|
||||
|
||||
$JAVA_HOME/bin/java ${TESTVMOPTS} \
|
||||
-cp "${CP}" -Xcheck:jni JNICheck | grep -v SIG | grep -v Signal | grep -v Handler | grep -v jsig | grep -v CallStatic > "${CP}"/log.txt
|
||||
-cp "${CP}" -Xcheck:jni JNICheck | grep -v SIG | grep -v Signal | grep -v Handler | grep -v jsig > "${CP}"/log.txt
|
||||
|
||||
# any messages logged may indicate a failure.
|
||||
if [ -s "${CP}"/log.txt ]; then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user