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

Reviewed-by: arapte, jvos
  • Loading branch information
kevinrushforth committed May 17, 2021
1 parent f236a7d commit 9c97d9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Expand Up @@ -693,7 +693,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 @@ -752,7 +752,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 9c97d9b

@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.