Merge "libcore_private.stubs cannot be built with JDK9"
diff --git a/Android.bp b/Android.bp
index 6995848..4561fec 100644
--- a/Android.bp
+++ b/Android.bp
@@ -591,4 +591,7 @@
     host_supported: true,
     srcs: ["java/core/src/stubs/**/*.java"],
     sdk_version: "core_current",
+    // This library can't be build with JDK9 since the same package (sun.misc) already
+    // exist in jdk.unsupported module. Using the same Java version as libprotobuf-java-lite.
+    java_version: "1.7",
 }