Skip to content

Commit

Permalink
Merge pull request #7 from theron-wang/main
Browse files Browse the repository at this point in the history
Wrong path for `na-97`
  • Loading branch information
kelloggm authored Jul 29, 2024
2 parents 4fb8e17 + 2acd522 commit 208b9c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion check_compilation.bat
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ for %%t in (!issue_ids!) do (
set "JAVA_FILES=!JAVA_FILES! %%F"
)
if "!testcase!"=="na-97" do (
set "JAVA_FILES=!JAVA_FILES! --patch-module java.base=src"
set "JAVA_FILES=!JAVA_FILES! --patch-module java.base=jdk/src"
)
javac -classpath "%SPECIMIN%\src\test\resources\shared\checker-qual-3.42.0.jar" !JAVA_FILES!
set javac_status=!errorlevel!
Expand Down
2 changes: 1 addition & 1 deletion check_compilation.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ for target in $issue_ids; do
# javac relies on word splitting
# shellcheck disable=SC2046
if [ "$target" = "na-97" ]; then
javac -classpath "$SPECIMIN/src/test/resources/shared/checker-qual-3.42.0.jar" $(find . -name "*.java") --patch-module java.base=src
javac -classpath "$SPECIMIN/src/test/resources/shared/checker-qual-3.42.0.jar" $(find . -name "*.java") --patch-module java.base=jdk/src
else
javac -classpath "$SPECIMIN/src/test/resources/shared/checker-qual-3.42.0.jar" $(find . -name "*.java")
fi
Expand Down

0 comments on commit 208b9c7

Please sign in to comment.