diff --git a/core/definitions.mk b/core/definitions.mk index e7e4b8ba6..804f2c37c 100644 --- a/core/definitions.mk +++ b/core/definitions.mk @@ -2535,12 +2535,7 @@ define desugar-classes-jar @echo Desugar: $@ @mkdir -p $(dir $@) $(hide) rm -f $@ $@.tmp -@rm -rf $(dir $@)/desugar_dumped_classes -@mkdir $(dir $@)/desugar_dumped_classes -$(hide) java \ - --add-opens java.base/java.lang.invoke=ALL-UNNAMED \ - -Djdk.internal.lambda.dumpProxyClasses=$(dir $@)/desugar_dumped_classes \ - -jar $(DESUGAR) \ +$(hide) java -jar $(DESUGAR) \ $(addprefix --bootclasspath_entry ,$(call desugar-bootclasspath,$(PRIVATE_BOOTCLASSPATH))) \ $(addprefix --classpath_entry ,$(PRIVATE_ALL_JAVA_LIBRARIES)) \ --min_sdk_version $(call codename-or-sdk-to-sdk,$(PRIVATE_DEFAULT_APP_TARGET_SDK)) \ diff --git a/core/droiddoc.mk b/core/droiddoc.mk index 93d555169..a70ab0341 100644 --- a/core/droiddoc.mk +++ b/core/droiddoc.mk @@ -175,7 +175,6 @@ $(full_target): \ $(hide) ( \ javadoc \ -encoding UTF-8 \ - -source 1.8 \ \@$(PRIVATE_SRC_LIST_FILE) \ -J-Xmx1600m \ -XDignore.symbol.file \