-
-
Notifications
You must be signed in to change notification settings - Fork 711
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Better handle soft proxies for custom assert classes in OSGi bundles (#…
…1968) We use a composite class loader for defining soft proxies when the assert class is from a different class loader than the AssertJ classes. This can occur in OSGi when the assert class is from a bundle. The composite class loader provides access to the internal, non-exported types of AssertJ. ByteBuddy will define the proxy class in the CompositeClassLoader rather than in the class loader of the assert class. This means the assert class cannot assume package private access to super types, interfaces, etc. since the proxy class is defined in a different class loader (the CompositeClassLoader) than the assert class. Fixes #1964 Signed-off-by: BJ Hargrave <[email protected]>
- Loading branch information
1 parent
cbf4577
commit eafed85
Showing
1 changed file
with
49 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters