Skip to content

Commit 9190cd5

Browse files
committed
Properly indicate that the remote module uses services.
1 parent b6748a5 commit 9190cd5

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

java/client/src/org/openqa/selenium/remote/module-info.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,7 @@ module org.openqa.selenium.remote {
2020
exports org.openqa.selenium.remote.service;
2121
exports org.openqa.selenium.remote.session;
2222

23+
uses org.openqa.selenium.remote.service.CapabilitiesFilter;
24+
uses org.openqa.selenium.remote.service.CapabilityTransform;
25+
uses org.openqa.selenium.remote.service.DriverService$Builder;
2326
}

java/client/src/org/openqa/selenium/tools/ModuleMaker.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ public void visit(ModuleProvidesStmt n, Void arg) {
143143

144144
@Override
145145
public void visit(ModuleUsesStmt n, Void arg) {
146-
throw new UnsupportedOperationException(n.toString());
146+
byteBuddyVisitor.visitUse(n.getTypeAsString().replace('.', '/'));
147147
}
148148

149149
@Override

0 commit comments

Comments
 (0)