commit:     498a0b203ccf0ea618d7dd69981594cb188b193f
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Wed Nov 12 11:34:53 2025 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Sun Dec 14 20:27:10 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=498a0b20

dev-java/auto-value: call ejavac with sources file instead of array

This avoids bloating the build log.

Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Part-of: https://github.com/gentoo/gentoo/pull/44601
Closes: https://github.com/gentoo/gentoo/pull/44601
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 dev-java/auto-value/auto-value-1.11.1.ebuild | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-java/auto-value/auto-value-1.11.1.ebuild 
b/dev-java/auto-value/auto-value-1.11.1.ebuild
index 5e32ba376642..339fc50d2257 100644
--- a/dev-java/auto-value/auto-value-1.11.1.ebuild
+++ b/dev-java/auto-value/auto-value-1.11.1.ebuild
@@ -108,18 +108,18 @@ src_compile() {
        cp="${cp}:$(java-pkg_getjars --build-only 
checker-framework-qual,error-prone-annotations)"
        cp="${cp}:$(java-pkg_getjars 
escapevelocity,guava,incap,javapoet,jspecify)"
 
-       local sources=$(find \
+       find \
                common/src/main/java \
                service/annotations/src/main/java \
                service/processor/src/main/java \
                value/src/main/java \
-               -name '*.java') || die "gather sources"
+               -name '*.java' > sources.lst || die "gather sources"
 
        einfo "compile them all"
        mkdir -p target/classes || die "mkdir target/classes"   # still needed 
for openjdk-8
-       ejavac -d target/classes -classpath "${cp}" ${sources[@]}
+       ejavac -d target/classes -classpath "${cp}" @sources.lst
 
-       use doc && ejavadoc -d target/api -classpath "${cp}" -quiet 
${sources[@]}
+       use doc && ejavadoc -d target/api -classpath "${cp}" -quiet @sources.lst
 
        einfo "package auto-value-annotations"
        # according to value/annotations/pom.xml

Reply via email to