Permalink
Browse files

Fix ByteBuddy breaking change

  • Loading branch information...
pron committed Dec 2, 2016
1 parent ba2e945 commit 62e30e7c68e03808dbe1a1872de312b3bd197f83
@@ -289,7 +289,7 @@ protected ProxyServerActor(boolean callOnVoidMethods) {
.subclass(Server.class)
.implement(interfaces)
.implement(java.io.Serializable.class)
.method(isDeclaredBy(anyOf(interfaces))).intercept(InvocationHandlerAdapter.of(callOnVoidMethods ? handler1 : handler2).withMethodCache())
.method(isDeclaredBy(anyOf(interfaces))).intercept(InvocationHandlerAdapter.of(callOnVoidMethods ? handler1 : handler2))
.make()
.load(ProxyServerActor.class.getClassLoader(), ClassLoadingStrategy.Default.WRAPPER).getLoaded();
final Class<? extends Server> old = classes.putIfAbsent(key, clazz);

0 comments on commit 62e30e7

Please sign in to comment.