From b23d28c6e25aeeefa52f6d2569970be2a6de222c Mon Sep 17 00:00:00 2001 From: Ulya Trafimovich Date: Thu, 8 Oct 2020 12:53:58 +0100 Subject: Rename fields and methods to reflect class loader context changes. Test: lunch aosp_cf_x86_phone-userdebug && m Bug: 132357300 Change-Id: Iebfbf2ffdac5ee48476d2aac312b3b8f4471fc85 --- java/java_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'java/java_test.go') diff --git a/java/java_test.go b/java/java_test.go index 81c4f22a8..4d7cff66a 100644 --- a/java/java_test.go +++ b/java/java_test.go @@ -1593,7 +1593,7 @@ func TestJavaSdkLibrary(t *testing.T) { // test if baz has exported SDK lib names foo and bar to qux qux := ctx.ModuleForTests("qux", "android_common") if quxLib, ok := qux.Module().(*Library); ok { - sdkLibs := quxLib.ExportedSdkLibs().UsesLibs() + sdkLibs := quxLib.ClassLoaderContexts().UsesLibs() if w := []string{"foo", "bar", "fred", "quuz"}; !reflect.DeepEqual(w, sdkLibs) { t.Errorf("qux should export %q but exports %q", w, sdkLibs) } -- cgit v1.2.3-59-g8ed1b