diff options
author | Tobias Thierer <tobiast@google.com> | 2017-12-15 18:38:22 +0000 |
---|---|---|
committer | Tobias Thierer <tobiast@google.com> | 2017-12-15 19:27:46 +0000 |
commit | 437b54c730ab306208af5aa035b85c294d090024 (patch) | |
tree | 0a35cb7ccde166b7d3fb7f31e9fa6dd00ae2a8a7 /disassembler/disassembler_mips.cc | |
parent | bb68b222ac429c419b3b591e239fc43c9c3f5b83 (diff) |
Work around a art test script bug mixing up bootclasspaths.
art/test/testrunner/run_build_test_target.py -j40 art-interpreter
compiles tests against the default toolchain (eg. OpenJDK) core
libraries but runs them against libcore.
This is a bug because the default toolchain API may differ from
libcore's; specifically, before this CL, 070-nio-buffer breaks
when the default toolchain is OpenJDK 9.
This CL works around that bug specifically by avoiding use of
OpenJDK9 covariant overrides that aren't in libcore.
For example, IntBuffer#clear->IntBuffer does not exist (but
Buffer#clear->Buffer does).
After this CL, 070-nio-buffer passes when run under OpenJDK 9.
This CL can be reverted when the test runner scripts are fixed
in a future CL.
Bug: 70521453
Test: export EXPERIMENTAL_USE_OPENJDK9=1.8 && \
art/test/testrunner/run_build_test_target.py -j40 art-interpreter
Test: export EXPERIMENTAL_USE_OPENJDK9=false && \
art/test/testrunner/run_build_test_target.py -j40 art-interpreter
Change-Id: I463716906f48d1ecf6b9892f2d793dd75f2619eb
Diffstat (limited to 'disassembler/disassembler_mips.cc')
0 files changed, 0 insertions, 0 deletions