Skip to content

Commit

Permalink
glassfish leaks
Browse files Browse the repository at this point in the history
  • Loading branch information
richardstartin committed Jul 29, 2021
1 parent 424e651 commit 92d96e6
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ public ElementMatcher<? super TypeDescription> typeMatcher() {
"org.elasticsearch.transport.netty4.Netty4TcpChannel",
"org.springframework.cglib.core.internal.LoadingCache",
"com.datastax.oss.driver.internal.core.channel.DefaultWriteCoalescer$Flusher",
"com.datastax.oss.driver.api.core.session.SessionBuilder")
"com.datastax.oss.driver.api.core.session.SessionBuilder",
"org.jvnet.hk2.internal.ServiceLocatorImpl")
.or(RX_WORKERS)
.or(GRPC_MANAGED_CHANNEL)
.or(REACTOR_DISABLED_TYPE_INITIALIZERS);
Expand Down Expand Up @@ -135,6 +136,10 @@ public void adviceTransformations(AdviceTransformation transformation) {
named("buildAsync")
.and(isDeclaredBy(named("com.datastax.oss.driver.api.core.session.SessionBuilder"))),
advice);
transformation.applyAdvice(
namedOneOf("getInjecteeDescriptor", "getService")
.and(isDeclaredBy(named("org.jvnet.hk2.internal.ServiceLocatorImpl"))),
advice);
transformation.applyAdvice(
isTypeInitializer().and(isDeclaredBy(REACTOR_DISABLED_TYPE_INITIALIZERS)), advice);
}
Expand Down

0 comments on commit 92d96e6

Please sign in to comment.