summaryrefslogtreecommitdiff
path: root/java/java.go
diff options
context:
space:
mode:
authorUlya Trafimovich <skvadrik@google.com>2021-01-05 15:41:55 +0000
committerUlya Trafimovich <skvadrik@google.com>2021-01-05 15:41:55 +0000
commit7bc1cf508f8d730c852736ab77470a7be9af9988 (patch)
tree67201bcc2faa1e05c22a834e8c2e476dda4fea98 /java/java.go
parente6056153cf40b2bd68410573ffab9a8c1430e428 (diff)
Remove obsolete class loader context API and update unit tests.
The removed API has been unused since https://r.android.com/1533342 (except for unit tests). Changes in the unit tests reflect the change of API in https://r.android.com/1533342: early errors caused by unknown library paths at CLC construction time have been replaced with late errors at the time of CLC validation. Bug: 132357300 Test: m nothing Change-Id: I739c7c41b6f882b7e28cdd6acd05961d754d8687
Diffstat (limited to 'java/java.go')
-rw-r--r--java/java.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/java.go b/java/java.go
index 18dd9bda4..145f6c9a5 100644
--- a/java/java.go
+++ b/java/java.go
@@ -3300,7 +3300,7 @@ func addCLCFromDep(ctx android.ModuleContext, depModule android.Module,
}
if implicitSdkLib != nil {
- clcMap.AddContextForSdk(ctx, dexpreopt.AnySdkVersion, *implicitSdkLib,
+ clcMap.AddContext(ctx, dexpreopt.AnySdkVersion, *implicitSdkLib,
dep.DexJarBuildPath(), dep.DexJarInstallPath(), dep.ClassLoaderContexts())
} else {
depName := ctx.OtherModuleName(depModule)