commit | 066f3b8e320cac12412c9028cc35d4faee58f833 | [log] [tgz] |
---|---|---|
author | Sergio Murguia <srmurguia@google.com> | Tue Apr 20 14:50:58 2021 -0700 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Wed Apr 21 16:36:53 2021 +0000 |
tree | 10f191f9df144601d7576227d99b71e4584c3d84 | |
parent | be2ba25404c5b47e948d0a5a2649e05a8a39660e [diff] |
Recreate JDK from table when importing settings When updating Android Studio from one version to another, we also update the embedded JDK. This means that if we import the setting from an older version, the information on the JDK table for the embedded JDK becomes stale. This was not an issue on previous version since we have been providing a version of Java 8, but starting with Android Studio 4.2, we now provide Java 11, which has different classPath entries on the JDK table, causing unresolved symbols and other problems. This change updates all the JDKs in the JDK table after importing settings so the information in it is correct. Bug: 185562147 Test: Manually checked (will generate a manual test). Change-Id: I14860ac898983300191285f9f86a3e1fbe9a7f83 (cherry picked from commit c91f5bc6cd808bfacb5973d2d67e6b4c5973bd18)
This is the source code of the Android plugin for IntelliJ platform, which is also the main part of Android Studio.
See the links below for implementation details and make sure to read IntelliJ Platform SDK docs first.