Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/reproducers/1897602/TestDiagnosticCommandImpl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ case "$OS" in
;;
esac

if $TESTJAVA/bin/java -version 2>&1 | grep 1.8.0 ; then
if $TESTJAVA/bin/java -version 2>&1 | grep '1[.]8[.]0' ; then
EXTFLAGS=""
else
EXTFLAGS='--add-modules jdk.crypto.cryptoki,java.base --add-exports jdk.crypto.cryptoki/sun.security.pkcs11=ALL-UNNAMED --add-opens jdk.crypto.cryptoki/sun.security.pkcs11=ALL-UNNAMED --add-exports java.base/javax.crypto=ALL-UNNAMED --add-opens java.base/javax.crypto=ALL-UNNAMED'
Expand Down
2 changes: 1 addition & 1 deletion test/reproducers/2036462/runtest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ if [ "x$TESTSRC" == x ] ; then
TESTSRC=.
fi

if $JAVA -version 2>&1 | grep 1.8.0 ; then
if $JAVA -version 2>&1 | grep '1[.]8[.]0' ; then
FLAGS=""
else
# this is needed for ojdk 16 and above
Expand Down
2 changes: 1 addition & 1 deletion test/reproducers/6913047/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ if [ $IS_WINDOWS = 'TRUE' ]; then
JAVA=$(cygpath -m "$JAVA")
fi

if $TESTJAVA/bin/java -version 2>&1 | grep 1.8.0 ; then
if $TESTJAVA/bin/java -version 2>&1 | grep '1[.]8[.]0' ; then
EXTFLAGS=""
else
EXTFLAGS='--add-modules jdk.crypto.cryptoki,java.base --add-exports jdk.crypto.cryptoki/sun.security.pkcs11=ALL-UNNAMED --add-opens jdk.crypto.cryptoki/sun.security.pkcs11=ALL-UNNAMED --add-exports java.base/javax.crypto=ALL-UNNAMED --add-opens java.base/javax.crypto=ALL-UNNAMED'
Expand Down