aboutsummaryrefslogtreecommitdiff
path: root/CleanSpec.mk
diff options
context:
space:
mode:
authorTobias Thierer <tobiast@google.com>2017-05-17 16:54:43 +0100
committerTobias Thierer <tobiast@google.com>2017-05-24 22:21:33 +0100
commit55f01c365aae9197a2c6b08116bbdb6ca02b8733 (patch)
treebed06d89598ac22595db7b1b24a94a37625d9a21 /CleanSpec.mk
parent8e31c1039e730814c316c99fca8d52cc60a85919 (diff)
downloadcaliper-55f01c365aae9197a2c6b08116bbdb6ca02b8733.tar.gz
Fix annotation processors working w/ generated code on OpenJDK 9 toolchainandroid-o-preview-3
Generated code is annotated with @javax.annotation.Generated. Annotation processors working with such code break on OpenJDK 9 toolchains because that class lives in the module "java.xml.ws.annotation". This CL makes that module available by adding the javac command line flag -J--add-modules=java.xml.ws.annotation to javac When the environment variable EXPERIMENTAL_USE_OPENJDK9 is set to true. Test: make ANDROID_COMPILE_WITH_JACK=false checkbuild tests \ && make checkbuild tests (with OpenJDK 8u45 toolchain on the PATH) Test: make EXPERIMENTAL_USE_OPENJDK9=true \ ANDROID_COMPILE_WITH_JACK=false checkbuild (with jdk 9-ea+170 toolchain on the PATH) Bug: 62050818 Change-Id: Ifd38cf4e301fbfac1380b6f1462a0a018b25a6a7
Diffstat (limited to 'CleanSpec.mk')
0 files changed, 0 insertions, 0 deletions