Skip to content

Commit 20c37c3

Browse files
committed
Add proxied interfaces to JDK augemented classes.
1 parent 3a30ac9 commit 20c37c3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

java/client/src/org/openqa/selenium/remote/JdkAugmenter.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ protected <X> X create(RemoteWebDriver driver, Map<String, AugmenterProvider> au
9090
Class<?> interfaceProvided = augmenter.getDescribedInterface();
9191
checkState(interfaceProvided.isInterface(),
9292
"JdkAugmenter can only augment interfaces. %s is not an interface.", interfaceProvided);
93+
proxiedInterfaces.add(interfaceProvided);
9394
InterfaceImplementation augmentedImplementation = augmenter.getImplementation(value);
9495
for (Method method : interfaceProvided.getMethods()) {
9596
InterfaceImplementation oldHandler = augmentationHandlers.put(method,

0 commit comments

Comments
 (0)