Merge changes from topic "java17-record-support"

* changes:
  Allow java.lang.runtime in boot image
  Emit record annotation
This commit is contained in:
Sorin Basca
2023-03-03 15:12:28 +00:00
committed by Gerrit Code Review
2 changed files with 3 additions and 0 deletions

View File

@@ -93,9 +93,11 @@ func init() {
"-JXmx4096M",
"-JXX:+TieredCompilation",
"-JXX:TieredStopAtLevel=1",
"-JDcom.android.tools.r8.emitRecordAnnotationsInDex",
}, dexerJavaVmFlagsList...))
exportedVars.ExportStringListStaticVariable("R8Flags", append([]string{
"-JXmx2048M",
"-JDcom.android.tools.r8.emitRecordAnnotationsInDex",
}, dexerJavaVmFlagsList...))
exportedVars.ExportStringListStaticVariable("CommonJdkFlags", []string{