Skip to content

Commit

Permalink
Exclude DumbExecutor (#598)
Browse files Browse the repository at this point in the history
fixes #586
  • Loading branch information
felixbarny authored Apr 23, 2019
1 parent f97af42 commit dbc4eb7
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ public ElementMatcher<? super NamedElement> getTypeMatcherPreFilter() {
@Override
public ElementMatcher<? super TypeDescription> getTypeMatcher() {
return hasSuperType(named("java.util.concurrent.Executor"))
// executes on same thread, no need to wrap to activate again
.and(not(named("org.apache.felix.resolver.ResolverImpl$DumbExecutor")))
// hazelcast tries to serialize the Runnables/Callables to execute them on remote JVMs
.and(not(nameStartsWith("com.hazelcast")));
}
Expand Down

0 comments on commit dbc4eb7

Please sign in to comment.