Status Update
Comments
ap...@google.com <ap...@google.com> #2
Gradle issue asking for it to be made easier to avoid making an unused modification to this list:
ap...@google.com <ap...@google.com> #3
I think the issue here is that jvmArgs is null, which causes addAll()
to not run.
IMO we should be adding to jvmArgs and not replacing it entirely, in case something else has previously set jvmArgs. WYT @Ivan?
I could change it to something like
forkOptions.jvmArgs?.addAll(executionOptions.get().jvmArgs) ?: forkOptions.jvmArgs(executionOptions.get().jvmArgs)
ap...@google.com <ap...@google.com> #4
Yeah, the nullness of jvmArgs
was the first possibility I checked too, although even with "!!" it still had no effect, see
I uploaded a change that I observed to fix it for me and added you as a reviewer
ap...@google.com <ap...@google.com> #5
Ah, ok, that makes sense.
ap...@google.com <ap...@google.com> #6
Thanks for the change, Jeff!
Should we cherry-pick it into 7.4? I think AGP 7.4 has that but the settings plugin is not officially supported yet.
ap...@google.com <ap...@google.com> #8
ap...@google.com <ap...@google.com> #9
Branch: 8.1
commit 5d818f36738012e7a46db7676ec8cfb9ca5d815c
Author: Morten Krogh-Jespersen <mkroghj@google.com>
Date: Mon May 01 11:35:07 2023
Fix clobbering in mapping when recording sourcefile for pruned classes
Bug:
Change-Id: Ia2895fa2597ba5264ee420c2a09a5eacc37f7509
M src/main/java/com/android/tools/r8/naming/ClassNameMapper.java
M src/main/java/com/android/tools/r8/naming/SeedMapper.java
M src/main/java/com/android/tools/r8/utils/positions/MappedPositionToClassNameMapperBuilder.java
M src/test/java/com/android/tools/r8/naming/PackageNamingTest.java
M src/test/java/com/android/tools/r8/utils/codeinspector/CodeInspector.java
ap...@google.com <ap...@google.com> #10
Branch: 8.0
commit d2a07998920bb56d3e6f401affc6e6e79120879b
Author: Morten Krogh-Jespersen <mkroghj@google.com>
Date: Tue May 02 09:01:36 2023
Version 8.0.43
This applies the CLs from
Bug:
Change-Id: I91b4946fda02f1ca2b3c2287bf4dc07bfe121ae1
M src/main/java/com/android/tools/r8/Version.java
gr...@gmail.com <gr...@gmail.com> #12
Mendarat dengan 8.1.43 di Studio Giraffe.
gr...@gmail.com <gr...@gmail.com> #13
Proyek: r8 Cabang: 8.0 commit e16a8b582254fb3db39d194d6826316ddd35f737 Penulis: Morten Krogh-Jespersen
Description
Implementing b/214018111 shows an issue found in
ClassNameMinifierOriginalClassNameTest
.Here the expected encoding of the mapping would become:
But the overlap in residual name
A
causes the map to be clobbered. The source for original type A is needed, but it has no residual output so the mapping should be something like: