Commit 30becf53 authored by Przemyslaw Szczepaniak's avatar Przemyslaw Szczepaniak
Browse files

Fix AnnotationsTest#testRetentionPolicy in aosp.

Class#getAnnotation behaves differently for pre N
and N target sdk versions. Updated testRetentionPolicy
to test appropriate one.

Test: libcore.java.lang.reflect.AnnotationsTest on cts and vogar
Bug: 29500035
Change-Id: If25ddddcf4dbf0c78548b996b64535fe7479d151
parent c1578fa5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment