Commit b70e8000 authored by Mathew Inwood's avatar Mathew Inwood
Browse files

Handle bridge methods correctly in class2greylist.

Don't enforce expectedSignature for bridge methods, as they will not match.
Add a test for this, and another for generics.

Also make the test output more verbose, as the existing output was not
enough to understand what was going on in this case.

Fix the build, so that the test Android.mk is actually included in the
build. It was not before.

Test: java -cp external/jsr330/lib/junit.jar:\
out/host/linux-x86/framework/class2greylisttest.jar:\
out/soong/.intermediates/external/objenesis/objenesis/linux_glibc_common/javac/objenesis.jar \
org.junit.runner.JUnitCore  com.android.javac.AnnotationVisitorTest

(atest appears to do nothing in AOSP, so have to invoke it manually)

Bug: 110868826
Change-Id: I1bceae14ffb76aa7cdc58a3b96b3052072f67439
parent ca182f2c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment