Skip to content

Commit 5248338

Browse files
joshbruningshs96c
authored andcommitted
Fix test to work with newer byte-buddy (#6029)
Fix test to work with newer byte-buddy Unblocks byte-buddy update from 1.8.3 to 1.8.12+. 1.8.12 (at least) requires the generated class has access to its super-interfaces, and will otherwise fail with messages like: java.lang.IllegalAccessError: class org.openqa.selenium.remote.RemoteWebDriver$ByteBuddy$CuMcRkYl cannot access its superinterface org.openqa.selenium.remote.BaseAugmenterTest$MagicNumberHolder
1 parent f54e39a commit 5248338

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/client/test/org/openqa/selenium/remote/BaseAugmenterTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ public WebElement findElementById(String id) {
298298
}
299299
}
300300

301-
private interface MagicNumberHolder {
301+
public interface MagicNumberHolder {
302302
public int getMagicNumber();
303303
public void setMagicNumber(int number);
304304
}

0 commit comments

Comments
 (0)