Skip to content

Commit

Permalink
Always load com.google.devtools.ksp.symbol from the same classloader.
Browse files Browse the repository at this point in the history
This is similar to CL/538883944. The KSP symbols are exposed through our `dagger.spi.model` classes, so they need to also be included in this list too.

PiperOrigin-RevId: 553491268
Change-Id: I88540674348d80c30313378c2cd5a752da548ca0
  • Loading branch information
bcorso authored and copybara-github committed Aug 3, 2023
1 parent 87181b8 commit 3d941be
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,7 @@ protected Class<?> findClass(String name) throws ClassNotFoundException {
|| name.startsWith("com.google.common.base.")
|| name.startsWith("com.google.common.graph.")
|| name.startsWith("com.google.common.regex.")
|| name.startsWith("com.google.devtools.ksp.symbol.")
|| name.startsWith("org.checkerframework.shaded.dataflow.")
|| name.startsWith("org.checkerframework.errorprone.dataflow.")
|| name.startsWith("com.sun.source.")
Expand Down

0 comments on commit 3d941be

Please sign in to comment.