Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
8267121: Illegal access to private "size" field of ArrayList from bui…
…ld.gradle

Backport-of: 9c97d9b21232a67a10debdc8dc3b10c419780f7a
  • Loading branch information
arapte committed Aug 19, 2021
1 parent 0dd8eed commit 3aa3f19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Expand Up @@ -701,7 +701,7 @@ void fetchExternalTools(String configName, List packages, File destdir, boolean
}

//fetch all the missing packages
if (fetchedPackages.size > 0) {
if (fetchedPackages.size() > 0) {
destdir.mkdirs()

logger.quiet "fetching missing packages $fetchedPackages"
Expand Down Expand Up @@ -760,7 +760,7 @@ void fetchExternalTools(String configName, List packages, File destdir, boolean
errors.add(pkgname)
}
}
if (errors.size > 0) {
if (errors.size() > 0) {
throw new GradleException("Error: missing tool packages: $errors")
} else {
logger.quiet "all tool packages are present $packages"
Expand Down

1 comment on commit 3aa3f19

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.