Skip to content

Conversation

@rossbacher
Copy link
Collaborator

Sometimes the classloader on fragment.arguments is java.lang.BootClassLoader, which cannot be used to load any app classes, which will then lead to a ClassNotFoundException.

This ensures that the classloader used for the arguments bundle is the same that was used to load the Fragment itself.

…sLoader, which cannot be used to load any app classes, which will then lead to a ClassNotFoundException.

This ensures that the classloader used for the arguments bundle is the same that was used to load the Fragment itself.
@rossbacher rossbacher merged commit fc70e45 into airbnb:main Jul 11, 2023
@rossbacher rossbacher deleted the rossi-classLoaderFix branch July 11, 2023 21:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants