diff options
author | Tobias Thierer <tobiast@google.com> | 2018-02-06 15:12:39 +0000 |
---|---|---|
committer | Tobias Thierer <tobiast@google.com> | 2018-02-06 16:35:45 +0000 |
commit | 492c64ae9dad4a0b67a9fdc327f3028a19281184 (patch) | |
tree | 49a30a7019d0a982a8951d13413e32dc2b941642 /annotations/generate_annotated_java_files.py | |
parent | 17cf2892135018b9a1032d12e294862de75bd86b (diff) |
core.current.stubs: add LOCAL_PATCH_MODULE := java.base
The stub classes from core.current.stubs are compiled with libcore
on the bootclasspath / system modules. Since the stub classes are
in the same packages as libcore classes (they carry the same names),
this breaks under OpenJDK 9 javac -target 1.9.
This CL adds LOCAL_PATCH_MODULE := java.base, which means that
javac will be invoked with --patch-module=java.base=., fixing
the compilation.
Bug: 72206056
Bug: 38177569
Test: EXPERIMENTAL_USE_OPENJDK9=true USE_R8=true make checkbuild docs
in a workspace that also included the following CL topic:
http://r.android.com/q/topic:bug72703434_pin_jarjar_targets_to_java_language_version
Change-Id: Iebaf3693bcc2a3ec99cd56d8fe878412bccceb71
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions