summaryrefslogtreecommitdiff
path: root/test/727-checker-unresolved-class
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2021-10-13 13:02:26 +0100
committer Vladimir Marko <vmarko@google.com> 2021-10-14 12:16:10 +0000
commitae96c828a4ca0a688203e3b46abfb28a7b79600d (patch)
treee1f7595f16083c5dcc58f155c7588a80be3d194c /test/727-checker-unresolved-class
parent8ed59b840fe8140258e3612eff267b76280f1b8b (diff)
Fix `--secondary-class-loader-context` for run-tests.
Change the default context to flat PathClassLoader if the `--secondary` flag is passed and keep the old PCL hierarchy otherwise. Explicitly pass that flag in tests where this default is not correct. Test: testrunner.py --host --optimizing Test: Make the "ClassLoaderContext classpath size mismatch" warning FATAL and retest; only 172-app-image-twice fails and the failure is expected for that test. Bug: 166088871 Change-Id: Ic50f206741e6d1f98e08b5db2adc2d7b067266a7
Diffstat (limited to 'test/727-checker-unresolved-class')
-rw-r--r--test/727-checker-unresolved-class/run3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/727-checker-unresolved-class/run b/test/727-checker-unresolved-class/run
index d087a8f980..1c9dd1179c 100644
--- a/test/727-checker-unresolved-class/run
+++ b/test/727-checker-unresolved-class/run
@@ -17,14 +17,11 @@
if [[ "$TEST_RUNTIME" == "jvm" ]]; then
exec ${RUN} $@
else
- # Compile the secondary dex file with the right class loader hierarchy with
- # --secondary-class-loader-context.
# Append graphs for checker tests (we run dex2oat twice) with
# --dump-cfg-append.
# Make some classes unresolved for AOT compilation with
# --updatable-bcp-packages-file.
exec ${RUN} $@ \
- --secondary-class-loader-context "PCL[];PCL[$DEX_LOCATION/$TEST_NAME.jar]" \
-Xcompiler-option --dump-cfg-append \
-Xcompiler-option --updatable-bcp-packages-file="$DEX_LOCATION/res/updateable.txt"
fi