Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove SandboxClassLoader.getPackage override #5786

Merged
merged 1 commit into from
Jul 24, 2020
Merged

Conversation

copybara-robolectric
Copy link
Contributor

@copybara-robolectric copybara-robolectric commented Jul 23, 2020

Remove SandboxClassLoader.getPackage override

This override appears to be obsoleted by #5036, and all tests still pass
without the overridden method.

This fixes the error when running a Robolectric test with Java 11:
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.robolectric.util.ReflectionHelpers$6
to method java.lang.ClassLoader.getPackage(java.lang.String)

@copybara-robolectric copybara-robolectric force-pushed the piper_322810667 branch 2 times, most recently from 4a472d6 to c176ef2 Compare July 23, 2020 18:56
This override appears to be obsoleted by #5036, and all tests still pass
without the overridden method.

This fixes the error when running a Robolectric test with Java 11:
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.robolectric.util.ReflectionHelpers$6
to method java.lang.ClassLoader.getPackage(java.lang.String)
PiperOrigin-RevId: 322810667
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.

None yet

2 participants