Skip to content

Commit

Permalink
Run the format script. No logical changes
Browse files Browse the repository at this point in the history
  • Loading branch information
shs96c committed Jul 31, 2023
1 parent 5f77934 commit 0e0a9b0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion java/src/dev/selenium/tools/modules/ModuleGenerator.java
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,8 @@ public void visit(ModuleRequiresDirective n, Void arg) {
}
int modifiers = getByteBuddyModifier(n.getModifiers());
if (!name.startsWith("org.seleniumhq.selenium.") && !name.startsWith("java.")) {
// Some people like to exclude jars from the classpath. To allow this we need to make these modules static,
// Some people like to exclude jars from the classpath. To allow this we need to make these
// modules static,
// otherwise a 'module not found' error while compiling their code would be the consequence.
modifiers |= ACC_STATIC_PHASE;
}
Expand Down

0 comments on commit 0e0a9b0

Please sign in to comment.