summaryrefslogtreecommitdiff
path: root/annotations/generate_annotated_java_files.py
diff options
context:
space:
mode:
authorTobias Thierer <tobiast@google.com>2018-03-07 15:10:46 +0000
committerTobias Thierer <tobiast@google.com>2018-09-12 19:39:40 +0100
commit8e1ef5143df1ce5f84c190030068008089f0af4d (patch)
tree32d7d966ab690624bbca3a2a3b79fc08d78ef1b2 /annotations/generate_annotated_java_files.py
parent5ed5e02f1f11ad6e38e8d14dd68cafd2218d4b40 (diff)
Enable and demonstrate Java 9 language features in libcore.
This CL demonstrates that Java 9 language features are supported in libcore, and serves as a regression test. Because the Java 9 language sources added are part of libart sources, targets that include full libart sources (as opposed to libart stubs or oj sources) now require java_version: "1.9" in order to build. Supported Java 9 language features are: - private interface methods - try-with-resources on effectively final variables - diamond operator on anonymous classes - @SafeVarargs annotation on private method Not supported: - JSR 376 modules. Bug: 112443425 Test: cts-tradefed run cts -m CtsLibcoreTestCases Test: Patched this CL on top of the internal master branch and checked: 1.) make checkbuild docs cts droid 2.) cts-tradefed run cts -m CtsLibcoreTestCases \ -t libcore.libcore.internal.Java9LanguageFeaturesTest Change-Id: I94f9248befbc8a99d1b3a36da43d7c283bc0c36b
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions