upgrade fleet to java 1.8 |
||||
Issue descriptionWith the android N SDK, the cronet javadoc prints out many warnings: warning: something.jar(Something.class): major version 52 is newer than 51, the highest major version supported by this compiler. It is recommended that the compiler be upgraded. Since components/cronet/tools/generate_javadoc.py fails on warnings, this fails cronet builds.
,
Oct 18 2016
I looked up the error and it looks like it means that something.jar, which is imported by Something.class, was compiled with a newer compiler than the one currently being used. If I'm understanding this correctly, it would have to be fixed by using a newer Java compiler on the bots. (I tried patching in the SDK roll locally and couldn't repro.) Adding the infra component since I don't think we can fix the compiler situation on our end, and we need to fail on warnings to keep our javadoc well-formed. For reference, here's the full wording of one of the warnings from the trybot run: [javadoc] warning: /b/c/b/android_cronet/src/third_party/android_tools/sdk/platforms/android-24/android.jar(android/annotation/SuppressLint.class): major version 52 is newer than 51, the highest major version supported by this compiler. [javadoc] It is recommended that the compiler be upgraded.
,
Oct 20 2016
,
Oct 21 2016
I just ran into this on my dev machine after syncing today.
,
Oct 27 2016
,
Oct 31 2016
Should http://www.chromium.org/developers/how-tos/android-build-instructions be updated as well? Currently have "Make also sure that OpenJDK 1.7 is selected as default:".
,
Nov 15 2016
,
Jan 11 2017
Unfortunately the other bug is secret. Since it doesn't seem possible to install OpenJDK 1.8 on Ubuntu 14.04, I'm not sure what to do, if anything. Does Chrome for Android compile with Oracle Java? I assume yes.
,
Jan 12 2017
https://launchpad.net/~openjdk-r/+archive/ubuntu/ppa is one option for OpenJDK 1.8 on Ubuntu 14.04
,
Jan 12 2017
Thanks. |
||||
►
Sign in to add a comment |
||||
Comment 1 by mge...@chromium.org
, Oct 18 2016Status: Assigned (was: Untriaged)