diff options
author | 2017-02-22 23:02:44 +0000 | |
---|---|---|
committer | 2017-02-23 11:31:00 +0000 | |
commit | 19e126a1a7643e170ceec65a11f6a4d330ae1b3b (patch) | |
tree | 122df8eaa766e0eae39dab89aabca53772d131d3 /src/main/java/com/google/devtools/build/lib/rules/android/AndroidSemantics.java | |
parent | 1d7db156291762b46550b9610ee1b1c73fde58ad (diff) |
Add a flag to enable desugaring java.* classes by rewriting package names
java.* and sun.* classes cannot be desugared directly because there are hard coded restrictions in the JVM that prevent using loading or using reflection on them. Add a --core_library flag that rewrites package names to have a __desugar__ prefix when reading them, and strips the prefix when writing them back out.
--
PiperOrigin-RevId: 148273386
MOS_MIGRATED_REVID=148273386
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/android/AndroidSemantics.java')
0 files changed, 0 insertions, 0 deletions