Skip to content

Commit

Permalink
Fix test to work with newer byte-buddy (#6029)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
joshbruning authored and shs96c committed Jul 10, 2018
1 parent f54e39a commit 5248338
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ public WebElement findElementById(String id) {
}
}

private interface MagicNumberHolder {
public interface MagicNumberHolder {
public int getMagicNumber();
public void setMagicNumber(int number);
}
Expand Down

0 comments on commit 5248338

Please sign in to comment.