Skip to content

Commit

Permalink
Register c.g.b.caffeine.cache.NodeFactory#FACTORY for reflection
Browse files Browse the repository at this point in the history
Accessed by
`com.github.benmanes.caffeine.cache.LocalCacheFactory.newFactory`

Relates to quarkusio#41995
  • Loading branch information
zakkak committed Jan 16, 2025
1 parent dcb73d9 commit d34bed5
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ private void registerForReflection(
final Constructor<?>[] z = aClass.getDeclaredConstructors();
RuntimeReflection.register(aClass);
RuntimeReflection.register(z);
// Accessed by com.github.benmanes.caffeine.cache.LocalCacheFactory.newFactory
RuntimeReflection.registerFieldLookup(aClass, "FACTORY");
}

/**
Expand Down

0 comments on commit d34bed5

Please sign in to comment.