Skip to content

Commit

Permalink
Fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jerboaa committed Dec 17, 2024
1 parent bfac446 commit 92f0736
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/jdk/tools/jlink/basic/AllModulePath.java
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ public void modulePathEmpty() throws IOException {
* --add-modules ALL-MODULE-PATH with an existing module path and module
* limits applied. This case tests a module limit on a dependency, jdk.jfr,
* and *doesn't* list the module explicitly in --add-modules. Therefore,
* expects for the module - on the module path - to be not be present.
* expects for the module - on the module path - to not be present.
*/
@Test
public void modulePathWithLimitMods() throws Exception {
Expand Down Expand Up @@ -276,7 +276,7 @@ public void modulePathWithLimitModNotInDepTree() throws Exception {
}
List<String> allArgs = List.of("--add-modules", "ALL-MODULE-PATH",
"--add-modules", moduleName,
// jdk.jfr doesn't exist in the module path
// jdk.net doesn't exist in the module path
// and is no dependency of com.bar.testmod
"--limit-modules", moduleOutsideDepTree,
"--module-path", customModulePath.toString(),
Expand Down

0 comments on commit 92f0736

Please sign in to comment.