From e01acbc50e3e95b60bbdc9a165e9d9b626b70294 Mon Sep 17 00:00:00 2001 From: Colin Decker Date: Tue, 5 Jan 2021 13:51:28 -0800 Subject: [PATCH 001/189] Update Jimfs README to refer to 1.2. RELNOTES=n/a PiperOrigin-RevId: 350212274 --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d9759589..e0a81d0c 100644 --- a/README.md +++ b/README.md @@ -11,16 +11,16 @@ abstract file system APIs. Getting started --------------- -The latest release is [1.1](https://github.com/google/jimfs/releases/tag/v1.1). +The latest release is [1.2](https://github.com/google/jimfs/releases/tag/v1.2). It is available in Maven Central as -[com.google.jimfs:jimfs:1.1](http://search.maven.org/#artifactdetails%7Ccom.google.jimfs%7Cjimfs%7C1.1%7Cjar): +[com.google.jimfs:jimfs:1.2](http://search.maven.org/#artifactdetails%7Ccom.google.jimfs%7Cjimfs%7C1.2%7Cjar): ```xml com.google.jimfs jimfs - 1.1 + 1.2 ``` From fc67ffbb141a79f4d964ca126ef00b81d8264a16 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 22 Jan 2021 07:37:49 -0800 Subject: [PATCH 002/189] Bump truth from 1.1 to 1.1.1 Bumps [truth](https://github.com/google/truth) from 1.1 to 1.1.1.
Release notes

Sourced from truth's releases.

1.1.1

  • Made it possible for users to exclude our JUnit 4 dependency and still use standard Truth assertions. (JUnit 4 is still required for some advanced features, like Expect, ExpectFailure, and TruthJUnit.assume().) (2d65326ec)
Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.google.truth:truth&package-manager=maven&previous-version=1.1&new-version=1.1.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #132 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/132 from google:dependabot/maven/com.google.truth-truth-1.1.1 0408dce20fd4cca678c09b38ec397b92b47bf8be PiperOrigin-RevId: 353238961 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index eed6efd3..c2f9264b 100644 --- a/pom.xml +++ b/pom.xml @@ -156,7 +156,7 @@ com.google.truth truth - 1.1 + 1.1.1 test From d06897f95c73aae3d94d3a76b4e1099c0c3f5d38 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 25 Jan 2021 07:06:41 -0800 Subject: [PATCH 003/189] Bump truth from 1.1.1 to 1.1.2 Bumps [truth](https://github.com/google/truth) from 1.1.1 to 1.1.2.
Release notes

Sourced from truth's releases.

1.1.2

This release completes the feature that I got wrong in 1.1.1 -- the ability to exclude our JUnit 4 dependency and still use standard Truth assertions.

  • Made it possible for users to exclude our JUnit 4 dependency and still use standard Truth assertions -- really this time, even in cases in which excluding the dependency failed under 1.1.1. (JUnit 4 is still required for some advanced features, like Expect, ExpectFailure, and TruthJUnit.assume().) (948f3edca)
  • When JUnit 4 is excluded from the classpath, the AssertionError Truth generates as a substitute for ComparisonFailure now includes the expected and actual values that were missing in 1.1.1. (6b0140730)
Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.google.truth:truth&package-manager=maven&previous-version=1.1.1&new-version=1.1.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #133 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/133 from google:dependabot/maven/com.google.truth-truth-1.1.2 cc27e0590971f477b0a8b9a3b6aeb2ca257ce78e PiperOrigin-RevId: 353639174 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index c2f9264b..183d28cc 100644 --- a/pom.xml +++ b/pom.xml @@ -156,7 +156,7 @@ com.google.truth truth - 1.1.1 + 1.1.2 test From 7c219aaf69945cfdfb9f49313df8227fecc4cb72 Mon Sep 17 00:00:00 2001 From: Colin Decker Date: Fri, 5 Feb 2021 14:48:44 -0800 Subject: [PATCH 004/189] First pass at github actions CI for Jimfs. RELNOTES=n/a PiperOrigin-RevId: 355932978 --- .github/workflows/ci.yml | 96 ++++++++++++++++++++++++++++++++++++ util/deploy_snapshot.sh | 16 ------ util/settings.xml | 11 ----- util/update_snapshot_docs.sh | 27 +++++----- 4 files changed, 107 insertions(+), 43 deletions(-) create mode 100644 .github/workflows/ci.yml delete mode 100755 util/deploy_snapshot.sh delete mode 100644 util/settings.xml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..094c0a4b --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,96 @@ +name: CI + +on: + push: + branches: + - master + pull_request: + +jobs: + test: + name: "JDK ${{ matrix.java }} on ${{ matrix.os }}" + strategy: + matrix: + os: [ ubuntu-latest ] + java: [ 15, 11, 7 ] + # Only test on macos and windows with a single recent JDK to avoid a + # combinatorial explosion of test configurations. + # Most OS-specific issues are not specific to a particular JDK version. + include: + - os: macos-latest + java: 15 + - os: windows-latest + java: 15 + runs-on: ${{ matrix.os }} + steps: + - name: 'Check out repository' + uses: actions/checkout@v2 + - name: 'Cache local Maven repository' + uses: actions/cache@v2 + with: + path: ~/.m2/repository + key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} + restore-keys: | + ${{ runner.os }}-maven- + - name: 'Set up JDK ${{ matrix.java }}' + uses: actions/setup-java@v1 + with: + java-version: ${{ matrix.java }} + - name: 'Install' + shell: bash + run: mvn install -U -DskipTests=true + - name: 'Test' + shell: bash + run: mvn verify -U -Dmaven.javadoc.skip=true + + publish_snapshot: + name: 'Publish snapshot' + needs: test + if: github.event_name == 'push' && github.repository == 'google/jimfs' + runs-on: ubuntu-latest + steps: + - name: 'Check out repository' + uses: actions/checkout@v2 + - name: 'Cache local Maven repository' + uses: actions/cache@v2 + with: + path: ~/.m2/repository + key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} + restore-keys: | + ${{ runner.os }}-maven- + - name: 'Set up JDK 8' + uses: actions/setup-java@v1 + with: + java-version: 8 + server-id: sonatype-nexus-snapshots + server-username: CI_DEPLOY_USERNAME + server-password: CI_DEPLOY_PASSWORD + - name: 'Publish' + env: + CI_DEPLOY_USERNAME: ${{ secrets.CI_DEPLOY_USERNAME }} + CI_DEPLOY_PASSWORD: ${{ secrets.CI_DEPLOY_PASSWORD }} + run: mvn clean source:jar javadoc:jar deploy -DskipTests=true + + generate_docs: + name: 'Generate latest docs' + needs: test + if: github.event_name == 'push' && github.repository == 'google/jimfs' + runs-on: ubuntu-latest + steps: + - name: 'Check out repository' + uses: actions/checkout@v2 + - name: 'Cache local Maven repository' + uses: actions/cache@v2 + with: + path: ~/.m2/repository + key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} + restore-keys: | + ${{ runner.os }}-maven- + - name: 'Set up JDK 15' + uses: actions/setup-java@v1 + with: + java-version: 15 + - name: 'Generate latest docs' + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: ./util/update_snapshot_docs.sh diff --git a/util/deploy_snapshot.sh b/util/deploy_snapshot.sh deleted file mode 100755 index 6a26f100..00000000 --- a/util/deploy_snapshot.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash - -# see https://coderwall.com/p/9b_lfq - -set -e -u - -if [ "$TRAVIS_REPO_SLUG" == "google/jimfs" ] && \ - [ "$TRAVIS_JDK_VERSION" == "openjdk8" ] && \ - [ "$TRAVIS_PULL_REQUEST" == "false" ] && \ - [ "$TRAVIS_BRANCH" == "master" ]; then - echo "Publishing Maven snapshot..." - - mvn clean source:jar javadoc:jar deploy --settings="util/settings.xml" -DskipTests=true - - echo "Maven snapshot published." -fi diff --git a/util/settings.xml b/util/settings.xml deleted file mode 100644 index 306d14a7..00000000 --- a/util/settings.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - sonatype-nexus-snapshots - ${env.CI_DEPLOY_USERNAME} - ${env.CI_DEPLOY_PASSWORD} - - - diff --git a/util/update_snapshot_docs.sh b/util/update_snapshot_docs.sh index aae5fa02..947f13a5 100755 --- a/util/update_snapshot_docs.sh +++ b/util/update_snapshot_docs.sh @@ -1,25 +1,20 @@ #!/bin/bash -# see http://benlimmer.com/2013/12/26/automatically-publish-javadoc-to-gh-pages-with-travis-ci/ for details +set -eu -set -e -u +echo -e "Publishing docs...\n" -if [ "$TRAVIS_REPO_SLUG" == "google/jimfs" ] && \ - [ "$TRAVIS_JDK_VERSION" == "oraclejdk7" ] && \ - [ "$TRAVIS_PULL_REQUEST" == "false" ] && \ - [ "$TRAVIS_BRANCH" == "master" ]; then - echo "Publishing Javadoc and JDiff..." +GH_PAGES_DIR="$HOME/gh-pages" - cd $HOME - git clone -q -b gh-pages https://${GH_TOKEN}@github.com/google/jimfs gh-pages > /dev/null - cd gh-pages +git clone --quiet --branch=gh-pages https://x-access-token:${GITHUB_TOKEN}@github.com/google/jimfs.git $GH_PAGES_DIR > /dev/null - git config --global user.email "travis@travis-ci.org" - git config --global user.name "travis-ci" +cd $GH_PAGES_DIR - ./updaterelease.sh snapshot +git config --global user.name "$GITHUB_ACTOR" +git config --global user.email "$GITHUB_ACTOR@users.noreply.github.com" - git push -fq origin gh-pages > /dev/null +./updaterelease.sh snapshot - echo "Javadoc published to gh-pages." -fi +git push -fq origin gh-pages > /dev/null + +echo -e "Published docs to gh-pages.\n" From f730377e56452b0da7dc008a63ab5b6a97248eab Mon Sep 17 00:00:00 2001 From: Colin Decker Date: Fri, 5 Feb 2021 15:10:48 -0800 Subject: [PATCH 005/189] Don't try to test on JDK 7; building requires JDK 8. RELNOTES=n/a PiperOrigin-RevId: 355937553 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 094c0a4b..5bced157 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: os: [ ubuntu-latest ] - java: [ 15, 11, 7 ] + java: [ 15, 11, 8 ] # Only test on macos and windows with a single recent JDK to avoid a # combinatorial explosion of test configurations. # Most OS-specific issues are not specific to a particular JDK version. From e1f9c21154b9a3f09afd24121d1dcdbf1c2e0712 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 8 Feb 2021 07:57:28 -0800 Subject: [PATCH 006/189] Bump actions/cache from v2 to v2.1.4 Bumps [actions/cache](https://github.com/actions/cache) from v2 to v2.1.4.
Release notes

Sourced from actions/cache's releases.

v2.1.4

  • Make caching more verbose #650
  • Use GNU tar on macOS if available #701
Commits
  • 26968a0 Make save/restore logs akin (#509)
  • aeaf731 Use @actions/cache version 1.0.6 (#525)
  • 56a8a2f Merge pull request #514 from eregon/recommend-setup-ruby-bundler-cache
  • 1bfe3ac Recommend ruby/setup-ruby's bundler-cache: true option
  • 3543324 Merge pull request #434 from DanielHabenicht/patch-1
  • 3303695 Merge pull request #507 from odin-delrio/patch-1
  • e64ab30 Improved gradle cache key calculation example
  • 26c48dc Merge pull request #506 from actions/cache-matrix-example
  • 72f66cf Added a cache example when using matrix
  • 9f3a4d3 Merge pull request #443 from guilleijo/pipenv-example
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #137 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/137 from google:dependabot/github_actions/actions/cache-v2.1.4 53d4f4bdbab9b7dc4f80f120c8bc34e3bbfa0caa PiperOrigin-RevId: 356264539 --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5bced157..0b41bfec 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,7 +26,7 @@ jobs: - name: 'Check out repository' uses: actions/checkout@v2 - name: 'Cache local Maven repository' - uses: actions/cache@v2 + uses: actions/cache@v2.1.4 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} @@ -52,7 +52,7 @@ jobs: - name: 'Check out repository' uses: actions/checkout@v2 - name: 'Cache local Maven repository' - uses: actions/cache@v2 + uses: actions/cache@v2.1.4 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} @@ -80,7 +80,7 @@ jobs: - name: 'Check out repository' uses: actions/checkout@v2 - name: 'Cache local Maven repository' - uses: actions/cache@v2 + uses: actions/cache@v2.1.4 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} From 76da2a2c4c4f4873373ba5fc081031b42c0a4667 Mon Sep 17 00:00:00 2001 From: Colin Decker Date: Mon, 8 Feb 2021 18:12:38 -0800 Subject: [PATCH 007/189] Set batch mode for CI Maven builds. This should suppress some output that isn't useful like download progress. RELNOTES=n/a PiperOrigin-RevId: 356398622 --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0b41bfec..73f6d2a7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,10 +38,10 @@ jobs: java-version: ${{ matrix.java }} - name: 'Install' shell: bash - run: mvn install -U -DskipTests=true + run: mvn -B install -U -DskipTests=true - name: 'Test' shell: bash - run: mvn verify -U -Dmaven.javadoc.skip=true + run: mvn -B verify -U -Dmaven.javadoc.skip=true publish_snapshot: name: 'Publish snapshot' @@ -69,7 +69,7 @@ jobs: env: CI_DEPLOY_USERNAME: ${{ secrets.CI_DEPLOY_USERNAME }} CI_DEPLOY_PASSWORD: ${{ secrets.CI_DEPLOY_PASSWORD }} - run: mvn clean source:jar javadoc:jar deploy -DskipTests=true + run: mvn -B clean source:jar javadoc:jar deploy -DskipTests=true generate_docs: name: 'Generate latest docs' From c2ef91ab0e80374b0d5b16027baba5df02220341 Mon Sep 17 00:00:00 2001 From: Colin Decker Date: Tue, 9 Feb 2021 11:21:38 -0800 Subject: [PATCH 008/189] Switch Javadoc/JDiff generation from JDK 15 to 11, since it seems like the doclet API that JDiff is built on was [removed in JDK 13](https://bugs.java.com/bugdatabase/view_bug.do?bug_id=8215584). RELNOTES=n/a PiperOrigin-RevId: 356548050 --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 73f6d2a7..4c413221 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -86,10 +86,10 @@ jobs: key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} restore-keys: | ${{ runner.os }}-maven- - - name: 'Set up JDK 15' + - name: 'Set up JDK 11' uses: actions/setup-java@v1 with: - java-version: 15 + java-version: 11 - name: 'Generate latest docs' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 1e284c567a0737c6a3b124a575abf3b69ab259f1 Mon Sep 17 00:00:00 2001 From: Colin Decker Date: Tue, 9 Feb 2021 12:06:42 -0800 Subject: [PATCH 009/189] Remove Travis config and switch build status badge to use GitHub Actions. RELNOTES=n/a PiperOrigin-RevId: 356559648 --- .travis.yml | 30 ------------------------------ README.md | 2 +- 2 files changed, 1 insertion(+), 31 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 338c662e..00000000 --- a/.travis.yml +++ /dev/null @@ -1,30 +0,0 @@ -sudo: false - -language: java - -jdk: - - openjdk8 - - openjdk11 - -install: mvn install -U -DskipTests=true - -script: mvn verify -U -Dmaven.javadoc.skip=true - -after_success: - - util/deploy_snapshot.sh - - util/update_snapshot_docs.sh - -cache: - directories: - - $HOME/.m2 - -env: - global: - - secure: "YlCxYTG64KLbyyD2tvA7LwCrNMDCxBigClh8enVicY2Rw6EN9ZTE1YYZivsXAN42YtI1snpy4fTn1z42KUx6FhrlkXVnhLi9TO1lz1lVL4czhqj8MGew20+DJs7tlw3xWRJlRVhqGIXFfximqBsYskm7/+qnHga6uyyV59/VwEI=" - - secure: "bTcwsovwxPXplZysfwgNkTR3hfHjb7UvWMlxeEkHHt3GQiZxIDKkiJbgW2mHAG/e/H0wfKQyujeCgQwxn1fa5ttR+UbGz+TIIY2tgjpIFkSbBRzlNGOO0Y23wQpFXXUv3lAY//cV1pa0HlCz+IWNq7ZqPZAoReDAkxExbbmydtE=" - - secure: "JZnVEfpNSCLBZQg1MP7MuhzP9H8t2gGUU4salm5VsRKck27fgg1HwBxADolcVeON2k+2masSKLEQPkeYQizc/VN5hZsCZpTgYjuMke1ZLe1v0KsIdH3Rdt77fhhTqiT1BEkMV8tlBwiraYZz+41iLo+Ug5yjgfmXXayDjYm4h4w=" - -branches: - only: - - master - - /^release.*$/ diff --git a/README.md b/README.md index e0a81d0c..9cfe0dfe 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ Jimfs is an in-memory file system for Java 7 and above, implementing the [java.nio.file](http://docs.oracle.com/javase/7/docs/api/java/nio/file/package-summary.html) abstract file system APIs. -[![Build Status](https://travis-ci.org/google/jimfs.svg?branch=master)](https://travis-ci.org/google/jimfs) +[![Build Status](https://github.com/google/jimfs/workflows/CI/badge.svg?branch=master)](https://github.com/google/jimfs/actions) [![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.google.jimfs/jimfs/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.google.jimfs/jimfs) Getting started From 780bdbef1c1fd1e14057109c2d25cb6761b7d007 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 16 Feb 2021 06:56:11 -0800 Subject: [PATCH 010/189] Bump junit from 4.13.1 to 4.13.2 Bumps [junit](https://github.com/junit-team/junit4) from 4.13.1 to 4.13.2.
Release notes

Sourced from junit's releases.

JUnit 4.13.2

Please refer to the release notes for details.

Commits
  • 05fe2a6 [maven-release-plugin] prepare release r4.13.2
  • ff57344 Add build for JDK 17-ea
  • 02aaa01 Improve check that thread is stopped
  • e9a75f4 Merge test for exception type and message
  • d27ad52 Rename DelegateStatement to DelegatingStatement
  • b83dc2e Better name for test that stops statement
  • 527f3a3 Replace InfiniteLoop with RunForASecond
  • 2db6394 Tidy up FailOnTimeoutTest
  • 64634e1 Update 4.13.2 release notes to document pull 1654
  • f8ee412 Fix serialization of AssumptionViolatedException (#1654)
  • Additional commits viewable in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=junit:junit&package-manager=maven&previous-version=4.13.1&new-version=4.13.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #141 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/141 from google:dependabot/maven/junit-junit-4.13.2 c4e64e0f6ee4f6c56662a2ac22d0eceeb0f31176 PiperOrigin-RevId: 357708940 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 183d28cc..eda7541a 100644 --- a/pom.xml +++ b/pom.xml @@ -144,7 +144,7 @@ junit junit - 4.13.1 + 4.13.2 test From dc61876d8abb0f7a0779f47e6e543eb98057e403 Mon Sep 17 00:00:00 2001 From: Colin Decker Date: Fri, 19 Mar 2021 10:32:56 -0700 Subject: [PATCH 011/189] Attempt to avoid running CI tests for the commit that gets force pushed to a PR just before it is merged. This commit should only change the message of the commit and will be merged and tested on master immediately after in any case. RELNOTES=n/a PiperOrigin-RevId: 363920659 --- .github/workflows/ci.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4c413221..bbe64e83 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,10 +5,19 @@ on: branches: - master pull_request: + branches: + - master jobs: test: name: "JDK ${{ matrix.java }} on ${{ matrix.os }}" + # Only run this for pull_requests when the commit message contains + # PRESUBMIT=true. PRESUBMIT=true should be removed from the message in the + # last commit pushed to the PR before merge, which we don't want to test + # because the only change in that commit should be to the message and + # because the change will be merged to master (and tested there) immediately + # after. + if: github.event_name == 'push' || contains(github.event.head_commit.message, 'PRESUBMIT=true') strategy: matrix: os: [ ubuntu-latest ] From 4dd04a1cbdf1d959627d14cad82023bc032142ca Mon Sep 17 00:00:00 2001 From: Colin Decker Date: Fri, 19 Mar 2021 11:26:16 -0700 Subject: [PATCH 012/189] Add CI step to cancel previous runs (for the same branch) that are still running when starting a new run. RELNOTES=n/a PiperOrigin-RevId: 363933182 --- .github/workflows/ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bbe64e83..e47cf0c8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,6 +32,11 @@ jobs: java: 15 runs-on: ${{ matrix.os }} steps: + # Cancel any previous runs for the same branch that are still running. + - name: 'Cancel previous runs' + uses: styfle/cancel-workflow-action@0.6.0 + with: + access_token: ${{ github.token }} - name: 'Check out repository' uses: actions/checkout@v2 - name: 'Cache local Maven repository' From 30d2134ef862a9b944347af5ca8b9a07b777290c Mon Sep 17 00:00:00 2001 From: Colin Decker Date: Fri, 19 Mar 2021 11:43:57 -0700 Subject: [PATCH 013/189] Explicitly wrap if condition with operator in `${{ }}`. As documented [here](https://docs.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#about-contexts-and-expressions). RELNOTES=n/a PiperOrigin-RevId: 363937045 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e47cf0c8..c89fdadf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ jobs: # because the only change in that commit should be to the message and # because the change will be merged to master (and tested there) immediately # after. - if: github.event_name == 'push' || contains(github.event.head_commit.message, 'PRESUBMIT=true') + if: ${{ github.event_name == 'push' || contains(github.event.head_commit.message, 'PRESUBMIT=true') }} strategy: matrix: os: [ ubuntu-latest ] From cf67ffe1e0341511a7b70ae16205eb1c51f2d5e0 Mon Sep 17 00:00:00 2001 From: Colin Decker Date: Fri, 19 Mar 2021 13:31:46 -0700 Subject: [PATCH 014/189] Remove attempt to skip CI for the force-push to a PR just before merge. It doesn't work because `pull_request` events do not have a `head_commit` or any direct way of accessing the message of any commit in the PR. There are workarounds but they're messy enough that it doesn't seem worth trying right now. RELNOTES=n/a PiperOrigin-RevId: 363959252 --- .github/workflows/ci.yml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c89fdadf..fe1288ca 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,13 +11,6 @@ on: jobs: test: name: "JDK ${{ matrix.java }} on ${{ matrix.os }}" - # Only run this for pull_requests when the commit message contains - # PRESUBMIT=true. PRESUBMIT=true should be removed from the message in the - # last commit pushed to the PR before merge, which we don't want to test - # because the only change in that commit should be to the message and - # because the change will be merged to master (and tested there) immediately - # after. - if: ${{ github.event_name == 'push' || contains(github.event.head_commit.message, 'PRESUBMIT=true') }} strategy: matrix: os: [ ubuntu-latest ] From 97ec74ad68443eec32ed7b4064b31b94c9984638 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 22 Mar 2021 07:04:05 -0700 Subject: [PATCH 015/189] Bump guava.version from 30.1-android to 30.1.1-android Bumps `guava.version` from 30.1-android to 30.1.1-android. Updates `guava` from 30.1-android to 30.1.1-android
Release notes

Sourced from guava's releases.

30.1.1

Maven

<dependency>
  <groupId>com.google.guava</groupId>
  <artifactId>guava</artifactId>
  <version>30.1.1-jre</version>
  <!-- or, for Android: -->
  <version>30.1.1-android</version>
</dependency>

Javadoc

JDiff

Changelog

  • Increased the aggressiveness of Guava 30.1's warning log message for running guava-android under a Java 7 VM. (Android VMs are unaffected.) If the warning itself causes you trouble, you can eliminate it by silencing the logger for com.google.common.base.Preconditions (which is used only for this warning). This warning prepares for removing support for Java 7 in 2021. Please report any problems. We have tried to make the warning as safe as possible, but anytime a common library logs, especially as aggressively as we do in this new release, there is the potential for NullPointerException or even deadlock. (To be clear, Guava will not log under Java 8 or Android, but it will under Java 7.) (00c25e9b11)
  • cache: Fixed compatibility between asMap().compute(...) and a load. (42bf4f4eb7)
  • cache: Added @CheckReturnValue to some APIs. (a5ef129ffc)
  • collect: Added @DoNotCall to the mutator methods on immutable types (6ae9532d11)
  • hash: Removed @Beta from HashCode. (2c9f161e10)
  • io: Removed @Beta from CountingOutputStream. (d394bac847)
Commits

Updates `guava-testlib` from 30.1-android to 30.1.1-android
Release notes

Sourced from guava-testlib's releases.

30.1.1

Maven

<dependency>
  <groupId>com.google.guava</groupId>
  <artifactId>guava</artifactId>
  <version>30.1.1-jre</version>
  <!-- or, for Android: -->
  <version>30.1.1-android</version>
</dependency>

Javadoc

JDiff

Changelog

  • Increased the aggressiveness of Guava 30.1's warning log message for running guava-android under a Java 7 VM. (Android VMs are unaffected.) If the warning itself causes you trouble, you can eliminate it by silencing the logger for com.google.common.base.Preconditions (which is used only for this warning). This warning prepares for removing support for Java 7 in 2021. Please report any problems. We have tried to make the warning as safe as possible, but anytime a common library logs, especially as aggressively as we do in this new release, there is the potential for NullPointerException or even deadlock. (To be clear, Guava will not log under Java 8 or Android, but it will under Java 7.) (00c25e9b11)
  • cache: Fixed compatibility between asMap().compute(...) and a load. (42bf4f4eb7)
  • cache: Added @CheckReturnValue to some APIs. (a5ef129ffc)
  • collect: Added @DoNotCall to the mutator methods on immutable types (6ae9532d11)
  • hash: Removed @Beta from HashCode. (2c9f161e10)
  • io: Removed @Beta from CountingOutputStream. (d394bac847)
Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #146 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/146 from google:dependabot/maven/guava.version-30.1.1-android 7d99e9771e79daa3b916ae884ed76acaa0a784da PiperOrigin-RevId: 364308457 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index eda7541a..e016045e 100644 --- a/pom.xml +++ b/pom.xml @@ -96,7 +96,7 @@ UTF-8 1.0-rc7 1.7 - 30.1-android + 30.1.1-android From 33ff1fc7ba74c3066701a3f4b86fa1869121bf91 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 12 Apr 2021 07:31:17 -0700 Subject: [PATCH 021/189] Bump styfle/cancel-workflow-action from 0.8.0 to 0.9.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [styfle/cancel-workflow-action](https://github.com/styfle/cancel-workflow-action) from 0.8.0 to 0.9.0.
Release notes

Sourced from styfle/cancel-workflow-action's releases.

0.9.0

Minor Changes

  • Add all_but_latest flag - cancel all workflows but the latest: #35
  • Cleanup all_but_latest: #67

Credits

Huge thanks to @​thomwiggers for helping!

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #152 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/152 from google:dependabot/github_actions/styfle/cancel-workflow-action-0.9.0 548054ab2e83ede8d716c269f73aedad7ac3d7cd PiperOrigin-RevId: 367998994 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1b3fe0e5..87315ece 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,7 +27,7 @@ jobs: steps: # Cancel any previous runs for the same branch that are still running. - name: 'Cancel previous runs' - uses: styfle/cancel-workflow-action@0.8.0 + uses: styfle/cancel-workflow-action@0.9.0 with: access_token: ${{ github.token }} - name: 'Check out repository' From 558c360c583581bae03f0508ee14e3de6c8b7e72 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 13 Apr 2021 08:04:06 -0700 Subject: [PATCH 022/189] Bump actions/cache from v2.1.4 to v2.1.5 Bumps [actions/cache](https://github.com/actions/cache) from v2.1.4 to v2.1.5.
Release notes

Sourced from actions/cache's releases.

v2.1.5

  • Fix permissions error seen when extracting caches with GNU tar that were previously created using BSD tar (actions/cache#527)
Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #153 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/153 from google:dependabot/github_actions/actions/cache-v2.1.5 9a7564d15cae6ccad20d005eaf51fb075e82e9f2 PiperOrigin-RevId: 368215515 --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 87315ece..bc8cd7f6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,7 +33,7 @@ jobs: - name: 'Check out repository' uses: actions/checkout@v2 - name: 'Cache local Maven repository' - uses: actions/cache@v2.1.4 + uses: actions/cache@v2.1.5 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} @@ -60,7 +60,7 @@ jobs: - name: 'Check out repository' uses: actions/checkout@v2 - name: 'Cache local Maven repository' - uses: actions/cache@v2.1.4 + uses: actions/cache@v2.1.5 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} @@ -89,7 +89,7 @@ jobs: - name: 'Check out repository' uses: actions/checkout@v2 - name: 'Cache local Maven repository' - uses: actions/cache@v2.1.4 + uses: actions/cache@v2.1.5 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} From c360af99bf77f40f1bcad34bcf8ab1f9a2ce31f0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 11 May 2021 13:25:52 -0700 Subject: [PATCH 023/189] Bump maven-gpg-plugin from 1.6 to 3.0.1 Bumps [maven-gpg-plugin](https://github.com/apache/maven-gpg-plugin) from 1.6 to 3.0.1.
Commits
  • 5255080 [maven-release-plugin] prepare release maven-gpg-plugin-3.0.1
  • e4dc062 [MGPG-79] fix handling of external pinentry programs in case the passphrase i...
  • 5902b2b deps: update JUnit
  • 12fbd63 Merge pull request #10 from Syquel/bugfix/MGPG-66
  • 4da6921 [MGPG-66] fix handling of excluded files on linux
  • 4016721 Merge pull request #12 from Syquel/bugfix/MGPG-80_equality
  • fba2c39 [MGPG-66] add test for handling of excluded files
  • 26aa5b3 [MGPG-66] fix handling of excluded files
  • 7438b37 [MGPG-80] implement GpgVersion equality in adherence to comparibility
  • b38c638 Merge pull request #11 from Syquel/bugfix/MGPG-80
  • Additional commits viewable in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.apache.maven.plugins:maven-gpg-plugin&package-manager=maven&previous-version=1.6&new-version=3.0.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #154 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/154 from google:dependabot/maven/org.apache.maven.plugins-maven-gpg-plugin-3.0.1 8c850dc6c5f5922c1d21d019418457e1a2cec1ad PiperOrigin-RevId: 373220989 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index bcbe8a7b..c8b793a4 100644 --- a/pom.xml +++ b/pom.xml @@ -193,7 +193,7 @@ maven-gpg-plugin - 1.6 + 3.0.1 maven-surefire-plugin From 78e5d7efcaf08d3228cb21cbf13092cf9bb3e090 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 12 May 2021 07:43:26 -0700 Subject: [PATCH 024/189] Bump actions/checkout from 2 to 2.3.4 Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 2.3.4.
Release notes

Sourced from actions/checkout's releases.

v2.3.4

v2.3.3

v2.3.2

Add Third Party License Information to Dist Files

v2.3.1

Fix default branch resolution for .wiki and when using SSH

v2.3.0

Fallback to the default branch

v2.2.0

Fetch all history for all tags and branches when fetch-depth=0

v2.1.1

Changes to support GHES (here and here)

v2.1.0

Changelog

Sourced from actions/checkout's changelog.

Changelog

v2.3.1

v2.3.0

v2.2.0

v2.1.1

  • Changes to support GHES (here and here)

v2.1.0

v2.0.0

Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/checkout&package-manager=github_actions&previous-version=2&new-version=2.3.4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #155 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/155 from google:dependabot/github_actions/actions/checkout-2.3.4 2433609dc1ff98f6ca9cbc583cd1f7b798696bc0 PiperOrigin-RevId: 373367852 --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bc8cd7f6..e8e14935 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,7 @@ jobs: with: access_token: ${{ github.token }} - name: 'Check out repository' - uses: actions/checkout@v2 + uses: actions/checkout@v2.3.4 - name: 'Cache local Maven repository' uses: actions/cache@v2.1.5 with: @@ -58,7 +58,7 @@ jobs: runs-on: ubuntu-latest steps: - name: 'Check out repository' - uses: actions/checkout@v2 + uses: actions/checkout@v2.3.4 - name: 'Cache local Maven repository' uses: actions/cache@v2.1.5 with: @@ -87,7 +87,7 @@ jobs: runs-on: ubuntu-latest steps: - name: 'Check out repository' - uses: actions/checkout@v2 + uses: actions/checkout@v2.3.4 - name: 'Cache local Maven repository' uses: actions/cache@v2.1.5 with: From 5a51a2c36397657c3053e2de3b04c62374a1a86f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 24 May 2021 07:07:11 -0700 Subject: [PATCH 025/189] Bump maven-javadoc-plugin from 3.2.0 to 3.3.0 Bumps [maven-javadoc-plugin](https://github.com/apache/maven-javadoc-plugin) from 3.2.0 to 3.3.0.
Commits
  • aa3e12c [maven-release-plugin] prepare release maven-javadoc-plugin-3.3.0
  • 55982df [MJAVADOC-584] excludePackageNames is not working as documented anymore
  • e9729ce [MJAVADOC-453] Using Alternate Doclet documentation example snippet is out of...
  • 9f98af7 [MJAVADOC-592] detectJavaApiLink should also respect maven.compiler.source pr...
  • 1028afc [MJAVADOC-592] Prepare integration tests
  • 1963ee8 Bump actions/checkout from 2 to 2.3.4
  • f27c99d [MJAVADOC-590] Setting nooverview option always causes a build failure
  • d5b80c0 Revert "(doc) enable streamLogsOnFailure"
  • 3926bd4 [MJAVADOC-619] Maven Javadoc bottom claims copyright for future years
  • 15a02d6 (doc) enable streamLogsOnFailure
  • Additional commits viewable in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.apache.maven.plugins:maven-javadoc-plugin&package-manager=maven&previous-version=3.2.0&new-version=3.3.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #156 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/156 from google:dependabot/maven/org.apache.maven.plugins-maven-javadoc-plugin-3.3.0 05f5b3d9caa78edd05baa83a2de69299817daed1 PiperOrigin-RevId: 375469321 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index c8b793a4..8f3d987d 100644 --- a/pom.xml +++ b/pom.xml @@ -175,7 +175,7 @@
maven-javadoc-plugin - 3.2.0 + 3.3.0 true UTF-8 From 87a82ffa87d5a6011cbab45eb6c1b77408a1467e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 26 May 2021 07:31:10 -0700 Subject: [PATCH 026/189] Bump truth from 1.1.2 to 1.1.3 Bumps [truth](https://github.com/google/truth) from 1.1.2 to 1.1.3.
Release notes

Sourced from truth's releases.

1.1.3

  • Fixed a bug in how comparingExpectedFieldsOnly() handles oneof fields. (f27208428)
  • Improved comparingExpectedFieldsOnly to work when required fields are absent. (f27208428)
  • Changed Subject.toString() to throw UnsupportedOperationException. (fa4c7b512)
Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.google.truth:truth&package-manager=maven&previous-version=1.1.2&new-version=1.1.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #157 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/157 from google:dependabot/maven/com.google.truth-truth-1.1.3 f6af8705bb72d6a886b7a7237be907d4fd3a7b84 PiperOrigin-RevId: 375938814 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 8f3d987d..accea58f 100644 --- a/pom.xml +++ b/pom.xml @@ -156,7 +156,7 @@ com.google.truth truth - 1.1.2 + 1.1.3 test From 3c9d8babec2c79cdce4f4e92ad6d4e174e0a8028 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 1 Jun 2021 08:13:48 -0700 Subject: [PATCH 027/189] Bump actions/cache from 2.1.5 to 2.1.6 Bumps [actions/cache](https://github.com/actions/cache) from 2.1.5 to 2.1.6.
Release notes

Sourced from actions/cache's releases.

v2.1.6

  • Catch unhandled "bad file descriptor" errors that sometimes occurs when the cache server returns non-successful response (actions/cache#596)
Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/cache&package-manager=github_actions&previous-version=2.1.5&new-version=2.1.6)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #158 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/158 from google:dependabot/github_actions/actions/cache-2.1.6 40d3983fdfef8055a3fc6ee91b51b5d1ab941847 PiperOrigin-RevId: 376835597 --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e8e14935..8336f0c6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,7 +33,7 @@ jobs: - name: 'Check out repository' uses: actions/checkout@v2.3.4 - name: 'Cache local Maven repository' - uses: actions/cache@v2.1.5 + uses: actions/cache@v2.1.6 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} @@ -60,7 +60,7 @@ jobs: - name: 'Check out repository' uses: actions/checkout@v2.3.4 - name: 'Cache local Maven repository' - uses: actions/cache@v2.1.5 + uses: actions/cache@v2.1.6 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} @@ -89,7 +89,7 @@ jobs: - name: 'Check out repository' uses: actions/checkout@v2.3.4 - name: 'Cache local Maven repository' - uses: actions/cache@v2.1.5 + uses: actions/cache@v2.1.6 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} From cf5393429c675f5fd287ec116fc70c8f9445fb1c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 30 Jul 2021 07:07:02 -0700 Subject: [PATCH 028/189] Bump styfle/cancel-workflow-action from 0.9.0 to 0.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [styfle/cancel-workflow-action](https://github.com/styfle/cancel-workflow-action) from 0.9.0 to 0.9.1.
Release notes

Sourced from styfle/cancel-workflow-action's releases.

0.9.1

Patches

  • Fix: cancelling jobs from different repos where two branches have the same name: #105
  • Fix: use getBooleanInput instead of getInput: #92
  • Chore: add permissions configuration in the README.md: #96
  • Chore: add prettier config, format file, add lint workflow: #63
  • Chore: create dependabot.yml: #68
  • Bump typescript from 4.1.5 to 4.2.4: #71
  • Bump actions/setup-node requirement to v2.1.5: #69
  • Bump @​vercel/ncc to 0.28.3: #73
  • Bump @​actions/core from 1.2.6 to 1.2.7: #74
  • Bump @​vercel/ncc from 0.28.3 to 0.28.5: #81
  • Bump @​actions/core from 1.2.7 to 1.3.0: #90
  • Bump prettier from 2.2.1 to 2.3.0: #85
  • Bump @​vercel/ncc from 0.28.5 to 0.28.6: #95
  • Bump typescript from 4.2.4 to 4.3.2: #94
  • Bump prettier from 2.3.0 to 2.3.1: #97
  • Bump typescript from 4.3.2 to 4.3.4: #99
  • Bump prettier from 2.3.1 to 2.3.2: #100
  • Bump typescript from 4.3.4 to 4.3.5: #101
  • Bump husky from 6.0.0 to 7.0.0: #102
  • Bump husky from 7.0.0 to 7.0.1: #103

Credits

Huge thanks to @​mikehardy, @​MichaelDeBoey, @​Warashi, @​adrienbernede, and @​spaceface777 for helping!

Commits
  • a40b884 0.9.1
  • a66ae1f fix cancelling jobs from different repos where two branches have the same nam...
  • b54f1a5 Bump husky from 7.0.0 to 7.0.1 (#103)
  • cc6225c Bump husky from 6.0.0 to 7.0.0 (#102)
  • c94109d Bump typescript from 4.3.4 to 4.3.5 (#101)
  • fc3581b Bump prettier from 2.3.1 to 2.3.2 (#100)
  • 6f9f8b4 Bump typescript from 4.3.2 to 4.3.4 (#99)
  • 6135c0f Bump prettier from 2.3.0 to 2.3.1 (#97)
  • 531a036 chore: add permissions configuration in the README.md (#96)
  • 1f10757 Bump typescript from 4.2.4 to 4.3.2 (#94)
  • Additional commits viewable in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=styfle/cancel-workflow-action&package-manager=github_actions&previous-version=0.9.0&new-version=0.9.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #162 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/162 from google:dependabot/github_actions/styfle/cancel-workflow-action-0.9.1 f545791c8b65d65bf195273ad6159cfbcb98041f PiperOrigin-RevId: 387796920 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8336f0c6..0a5a958f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,7 +27,7 @@ jobs: steps: # Cancel any previous runs for the same branch that are still running. - name: 'Cancel previous runs' - uses: styfle/cancel-workflow-action@0.9.0 + uses: styfle/cancel-workflow-action@0.9.1 with: access_token: ${{ github.token }} - name: 'Check out repository' From ee785ea6868e7f75eb8362e93ecebd8944c98cd5 Mon Sep 17 00:00:00 2001 From: Colin Decker Date: Wed, 11 Aug 2021 13:37:12 -0700 Subject: [PATCH 029/189] Fix three bugs with `FileChannel.transferFrom`: 1. `transferFrom` was not behaving according to the spec when given a position that was greater than the size of that file. The spec says that nothing is transferred in that case, but Jimfs was using the same behavior as `write` in this case: the file was first zero-filled from the start until the given position and then bytes were transferred starting there. Jimfs now simply returns 0 in this case. 2. When given a non-blocking channel that can return 0 bytes from a call to `read`, `transferFrom` was spinning until the input channel returned -1. The spec is for `transferFrom` to return immediately in that case. 3. When a transfer ended on a block boundary (i.e. after exactly filling one block) but still had bytes remaining based on the given `count`, an extra (empty) block would be left allocated on the end of the file. That block is now correctly de-allocated so it can be used elsewhere. Fixes https://github.com/google/jimfs/issues/163. Also simplify the implementation of `transferFrom` a bit. RELNOTES=Fixed several bugs with the behavior of `FileChannel.transferFrom`. PiperOrigin-RevId: 390208683 --- .../com/google/common/jimfs/RegularFile.java | 82 +++++++++---------- .../common/jimfs/RegularFileBlocksTest.java | 36 +++++++- .../google/common/jimfs/RegularFileTest.java | 40 +++++---- 3 files changed, 98 insertions(+), 60 deletions(-) diff --git a/jimfs/src/main/java/com/google/common/jimfs/RegularFile.java b/jimfs/src/main/java/com/google/common/jimfs/RegularFile.java index b8bb6888..20c9f4b8 100644 --- a/jimfs/src/main/java/com/google/common/jimfs/RegularFile.java +++ b/jimfs/src/main/java/com/google/common/jimfs/RegularFile.java @@ -385,70 +385,66 @@ public long write(long pos, Iterable bufs) throws IOException { /** * Transfers up to {@code count} bytes from the given channel to this file starting at position * {@code pos}. Returns the number of bytes transferred. If {@code pos} is greater than the - * current size of this file, the file is truncated up to size {@code pos} before writing. + * current size of this file, then no bytes are transferred. * * @throws IOException if the file needs more blocks but the disk is full or if reading from src * throws an exception */ - public long transferFrom(ReadableByteChannel src, long pos, long count) throws IOException { - prepareForWrite(pos, 0); // don't assume the full count bytes will be written - - if (count == 0) { + public long transferFrom(ReadableByteChannel src, long startPos, long count) throws IOException { + if (count == 0 + // Unlike the write() methods, attempting to transfer to a position that is greater than the + // current file size simply does nothing. + || startPos > size) { return 0; } long remaining = count; + long currentPos = startPos; - int blockIndex = blockIndex(pos); - byte[] block = blockForWrite(blockIndex); - int off = offsetInBlock(pos); - - ByteBuffer buf = ByteBuffer.wrap(block, off, length(off, remaining)); - - long currentPos = pos; - int read = 0; - while (buf.hasRemaining()) { - read = src.read(buf); - if (read == -1) { - break; - } - - currentPos += read; - remaining -= read; - } - - // update size before trying to get next block in case the disk is out of space - if (currentPos > size) { - size = currentPos; - } + int blockIndex = blockIndex(startPos); + int off = offsetInBlock(startPos); - if (read != -1) { - outer: - while (remaining > 0) { - block = blockForWrite(++blockIndex); + outer: + while (remaining > 0) { + byte[] block = blockForWrite(blockIndex); - buf = ByteBuffer.wrap(block, 0, length(remaining)); - while (buf.hasRemaining()) { - read = src.read(buf); - if (read == -1) { - break outer; + ByteBuffer buf = ByteBuffer.wrap(block, off, length(off, remaining)); + while (buf.hasRemaining()) { + int read = src.read(buf); + // Note: we stop if we read 0 bytes from the src; even though the src is not at EOF, the + // spec of transferFrom is to stop immediately when reading from a non-blocking channel that + // has no bytes available rather than continuing until it reaches EOF. This makes sense + // because we'd otherwise just spin attempting to read bytes from the src repeatedly. + if (read < 1) { + if (currentPos >= size && buf.position() == 0) { + // The current position is at or beyond the end of file (prior to transfer start) and + // the current buffer position is 0. This means that a new block must have just been + // allocated to hold any potential transferred bytes, but no bytes were transferred to + // it because the src had no remaining bytes. So we need to de-allocate that block. + // It's possible that it would be preferable to always transfer to a temporary block + // first and then copy that block to a newly allocated block when it's full or src + // doesn't have any further bytes. Then if we hadn't read anything into the temporary + // block, we could simply discard it. But I think this scenario is likely rare enough + // that it's fine to temporarily allocate a block that _might_ not get used. + disk.free(this, 1); } - - currentPos += read; - remaining -= read; + break outer; } - if (currentPos > size) { - size = currentPos; - } + currentPos += read; + remaining -= read; } + + // Current write block is full + blockIndex++; + off = 0; } if (currentPos > size) { size = currentPos; } - return currentPos - pos; + return currentPos - startPos; } /** diff --git a/jimfs/src/test/java/com/google/common/jimfs/RegularFileBlocksTest.java b/jimfs/src/test/java/com/google/common/jimfs/RegularFileBlocksTest.java index 1dc9df22..5febfc56 100644 --- a/jimfs/src/test/java/com/google/common/jimfs/RegularFileBlocksTest.java +++ b/jimfs/src/test/java/com/google/common/jimfs/RegularFileBlocksTest.java @@ -19,6 +19,9 @@ import static com.google.common.truth.Truth.assertThat; import com.google.common.primitives.Bytes; +import java.io.ByteArrayInputStream; +import java.io.IOException; +import java.nio.channels.Channels; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; @@ -32,6 +35,8 @@ @RunWith(JUnit4.class) public class RegularFileBlocksTest { + private static final int BLOCK_SIZE = 2; + private RegularFile file; @Before @@ -40,7 +45,7 @@ public void setUp() { } private static RegularFile createFile() { - return RegularFile.create(-1, new HeapDisk(2, 2, 2)); + return RegularFile.create(-1, new HeapDisk(BLOCK_SIZE, 2, 2)); } @Test @@ -142,4 +147,33 @@ public void testTransferTo() { assertThat(Bytes.asList(file.getBlock(0))).isEqualTo(Bytes.asList(new byte[] {1, 2, 3})); assertThat(file.getBlock(1)).isNull(); } + + @Test + public void testTransferFrom() throws IOException { + // Test that when a transferFrom ends on a block boundary because the input has no further bytes + // and not because count bytes have been transferred, we don't leave an extra empty block + // allocated on the end of the file. + // https://github.com/google/jimfs/issues/163 + byte[] bytes = new byte[BLOCK_SIZE]; + RegularFile file = createFile(); + + long transferred = + file.transferFrom(Channels.newChannel(new ByteArrayInputStream(bytes)), 0, Long.MAX_VALUE); + assertThat(transferred).isEqualTo(bytes.length); + assertThat(file.blockCount()).isEqualTo(1); + } + + @Test + public void testTransferFrom_noBytesNoAllocation() throws IOException { + // Similar to the previous test but ensures that if no bytes are transferred at all, no new + // blocks remain allocated. + // https://github.com/google/jimfs/issues/163 + byte[] bytes = new byte[0]; + RegularFile file = createFile(); + + long transferred = + file.transferFrom(Channels.newChannel(new ByteArrayInputStream(bytes)), 0, Long.MAX_VALUE); + assertThat(transferred).isEqualTo(0); + assertThat(file.blockCount()).isEqualTo(0); + } } diff --git a/jimfs/src/test/java/com/google/common/jimfs/RegularFileTest.java b/jimfs/src/test/java/com/google/common/jimfs/RegularFileTest.java index f581690b..65a47cdd 100644 --- a/jimfs/src/test/java/com/google/common/jimfs/RegularFileTest.java +++ b/jimfs/src/test/java/com/google/common/jimfs/RegularFileTest.java @@ -334,23 +334,31 @@ public void testEmpty_transferFrom_fromStart_countGreaterThanSrcSize() throws IO assertContentEquals("111111", file); } - public void testEmpty_transferFrom_fromBeyondStart_countEqualsSrcSize() throws IOException { + public void testEmpty_transferFrom_positionGreaterThanSize() throws IOException { long transferred = file.transferFrom(new ByteBufferChannel(buffer("111111")), 4, 6); - assertEquals(6, transferred); - assertContentEquals("0000111111", file); + assertEquals(0, transferred); + assertContentEquals(bytes(), file); } - public void testEmpty_transferFrom_fromBeyondStart_countLessThanSrcSize() throws IOException { + public void testEmpty_transferFrom_positionGreaterThanSize_countEqualsSrcSize() + throws IOException { + long transferred = file.transferFrom(new ByteBufferChannel(buffer("111111")), 4, 6); + assertEquals(0, transferred); + assertContentEquals(bytes(), file); + } + + public void testEmpty_transferFrom_positionGreaterThanSize_countLessThanSrcSize() + throws IOException { long transferred = file.transferFrom(new ByteBufferChannel(buffer("111111")), 4, 3); - assertEquals(3, transferred); - assertContentEquals("0000111", file); + assertEquals(0, transferred); + assertContentEquals(bytes(), file); } - public void testEmpty_transferFrom_fromBeyondStart_countGreaterThanSrcSize() + public void testEmpty_transferFrom_positionGreaterThanSize_countGreaterThanSrcSize() throws IOException { long transferred = file.transferFrom(new ByteBufferChannel(buffer("111111")), 4, 12); - assertEquals(6, transferred); - assertContentEquals("0000111111", file); + assertEquals(0, transferred); + assertContentEquals(bytes(), file); } public void testEmpty_transferFrom_fromStart_noBytes_countEqualsSrcSize() throws IOException { @@ -366,18 +374,18 @@ public void testEmpty_transferFrom_fromStart_noBytes_countGreaterThanSrcSize() assertContentEquals(bytes(), file); } - public void testEmpty_transferFrom_fromBeyondStart_noBytes_countEqualsSrcSize() + public void testEmpty_transferFrom_postionGreaterThanSrcSize_noBytes_countEqualsSrcSize() throws IOException { long transferred = file.transferFrom(new ByteBufferChannel(buffer("")), 5, 0); assertEquals(0, transferred); - assertContentEquals(bytes("00000"), file); + assertContentEquals(bytes(), file); } - public void testEmpty_transferFrom_fromBeyondStart_noBytes_countGreaterThanSrcSize() + public void testEmpty_transferFrom_postionGreaterThanSrcSize_noBytes_countGreaterThanSrcSize() throws IOException { long transferred = file.transferFrom(new ByteBufferChannel(buffer("")), 5, 10); assertEquals(0, transferred); - assertContentEquals(bytes("00000"), file); + assertContentEquals(bytes(), file); } public void testEmpty_transferTo() throws IOException { @@ -793,11 +801,11 @@ public void testNonEmpty_transferFrom_toEnd() throws IOException { assertContentEquals("222222111111", file); } - public void testNonEmpty_transferFrom_toPastEnd() throws IOException { + public void testNonEmpty_transferFrom_positionGreaterThanSize() throws IOException { fillContent("222222"); ByteBufferChannel channel = new ByteBufferChannel(buffer("111111")); - assertEquals(6, file.transferFrom(channel, 10, 6)); - assertContentEquals("2222220000111111", file); + assertEquals(0, file.transferFrom(channel, 10, 6)); + assertContentEquals("222222", file); } public void testNonEmpty_transferFrom_hugeOverestimateCount() throws IOException { From 8fc04c535981d8091aeac4de0e305293e2751819 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 8 Sep 2021 07:26:13 -0700 Subject: [PATCH 030/189] Bump maven-javadoc-plugin from 3.3.0 to 3.3.1 Bumps [maven-javadoc-plugin](https://github.com/apache/maven-javadoc-plugin) from 3.3.0 to 3.3.1.
Commits
  • 2d22cca [maven-release-plugin] prepare release maven-javadoc-plugin-3.3.1
  • 7b7813e [MJAVADOC-450] Artifacts with a classifier are ignored when looking for resou...
  • 0d0e0cc [MJAVADOC-618] Goal javadoc:aggregate fails with submodules packaged as war
  • a2acaa2 [MJAVADOC-137] transform verify script from bsh to groovy
  • 16ca119 Clean up slf4j-simple
  • 87dbfb2 [MJAVADOC-677] Using "requires static transitive" makes javadoc goal fail
  • d770460 [MJAVADOC-680] JDK 16+: Error fetching link: ...\target\javadoc-bundle-option...
  • 292ebb7 Bump slf4j-simple from 1.7.30 to 1.7.32
  • fe6d738 Bump mockito-core from 3.9.0 to 3.12.0
  • d2dd532 [MJAVADOC-679] "Unable to compute stale date" in a directory with accent char...
  • Additional commits viewable in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.apache.maven.plugins:maven-javadoc-plugin&package-manager=maven&previous-version=3.3.0&new-version=3.3.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #166 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/166 from google:dependabot/maven/org.apache.maven.plugins-maven-javadoc-plugin-3.3.1 36995b6782e541329051e025b4c486401c1338f0 PiperOrigin-RevId: 395468651 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index accea58f..cfe2b300 100644 --- a/pom.xml +++ b/pom.xml @@ -175,7 +175,7 @@
maven-javadoc-plugin - 3.3.0 + 3.3.1 true UTF-8 From e91879c7a706b3f7e0163c6ce3cd9f6ad00dfe55 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 27 Sep 2021 07:23:58 -0700 Subject: [PATCH 031/189] Bump guava.version from 30.1.1-android to 31.0-android Bumps `guava.version` from 30.1.1-android to 31.0-android. Updates `guava` from 30.1.1-android to 31.0-android
Release notes

Sourced from guava's releases.

31.0

Maven

<dependency>
  <groupId>com.google.guava</groupId>
  <artifactId>guava</artifactId>
  <version>31.0-jre</version>
  <!-- or, for Android: -->
  <version>31.0-android</version>
</dependency>

Jar files

Guava requires one runtime dependency, which you can download here:

Javadoc

JDiff

Changelog

  • Changed guava-android to generate Java 8 bytecode. We still restrict ourselves to using APIs available on Ice Cream Sandwich. So, as long as you have enabled Java 8 language features for your Android build, this change should have no effect on Android projects. This change does drop support for Java 7 JREs, as announced last year.
  • Annotated Guava much more thoroughly for nullness. For details, see the bottom of the release notes.
  • base: Changed Functions.forSupplier and Predicates.instanceOf to accept an additional type argument to specify the input type for the returned Function/Predicate. The flexibility we're adding should typically not be necessary if users follow the PECS principle, but it can be useful in some cases, particularly around nullness analysis. Note that this change may require updates to callers' source code (to specify an additional type argument). Still, it maintains binary compatibility. (75110e936d)
  • collect: Added ImmutableMap.ofEntries, like Map.ofEntries but for ImmutableMap. (cd3b4197fb)
  • collect: Added overloads of ImmutableMap.of, ImmutableBiMap.of, and ImmutableSortedMap.of for up to 10 entries. (d5c30e3f19)
  • collect: Renamed ImmutableMap.Builder.build() to buildOrThrow(). The existing build() method will continue to exist but may be deprecated, and the new name should be used in new code. (4bbe12c4e0)
  • collect: Removed @Beta from Interner and Interners. (cf31f3a31d)
  • collect: Added @InlineMe to Streams.stream(Optional) and friends. (a176cd60f1)
  • graph: Made EndpointPair.adjacentNode require an N instead of accept any Object. (b0be21d46c)
  • hash: Removed @Beta from HashFunction. (e1cc195cfb)
  • hash: Deprecated buggy murmur3_32, and introduced murmur3_32_fixed. (a36f08fe31)
  • io: Changed CharStreams.asWriter(appendable).write(string[, ...]) to reject a null string. (50e7dddf5c)
  • io: Fixed a bug in FileBackedOutputStream cleanup: If writing to the temp file fails, we now delete it before propagating the exception. (6e054cea7b)
  • net: Changed HostAndPort.fromString to reject port numbers spelled with non-ASCII digits. (53fd1d7612)
  • net: Added HttpHeaders constants for X-Device-Ip, X-Device-Referer, X-Device-Accept-Language, X-Device-Requested-With, Sec-CH-Prefers-Color-Scheme, Sec-CH-UA-Bitness, and Keep-Alive. (da375be86a, b23b277422, 281edd4b6e, 9c88f9ad6d)

... (truncated)

Commits

Updates `guava-testlib` from 30.1.1-android to 31.0-android
Release notes

Sourced from guava-testlib's releases.

31.0

Maven

<dependency>
  <groupId>com.google.guava</groupId>
  <artifactId>guava</artifactId>
  <version>31.0-jre</version>
  <!-- or, for Android: -->
  <version>31.0-android</version>
</dependency>

Jar files

Guava requires one runtime dependency, which you can download here:

Javadoc

JDiff

Changelog

  • Changed guava-android to generate Java 8 bytecode. We still restrict ourselves to using APIs available on Ice Cream Sandwich. So, as long as you have enabled Java 8 language features for your Android build, this change should have no effect on Android projects. This change does drop support for Java 7 JREs, as announced last year.
  • Annotated Guava much more thoroughly for nullness. For details, see the bottom of the release notes.
  • base: Changed Functions.forSupplier and Predicates.instanceOf to accept an additional type argument to specify the input type for the returned Function/Predicate. The flexibility we're adding should typically not be necessary if users follow the PECS principle, but it can be useful in some cases, particularly around nullness analysis. Note that this change may require updates to callers' source code (to specify an additional type argument). Still, it maintains binary compatibility. (75110e936d)
  • collect: Added ImmutableMap.ofEntries, like Map.ofEntries but for ImmutableMap. (cd3b4197fb)
  • collect: Added overloads of ImmutableMap.of, ImmutableBiMap.of, and ImmutableSortedMap.of for up to 10 entries. (d5c30e3f19)
  • collect: Renamed ImmutableMap.Builder.build() to buildOrThrow(). The existing build() method will continue to exist but may be deprecated, and the new name should be used in new code. (4bbe12c4e0)
  • collect: Removed @Beta from Interner and Interners. (cf31f3a31d)
  • collect: Added @InlineMe to Streams.stream(Optional) and friends. (a176cd60f1)
  • graph: Made EndpointPair.adjacentNode require an N instead of accept any Object. (b0be21d46c)
  • hash: Removed @Beta from HashFunction. (e1cc195cfb)
  • hash: Deprecated buggy murmur3_32, and introduced murmur3_32_fixed. (a36f08fe31)
  • io: Changed CharStreams.asWriter(appendable).write(string[, ...]) to reject a null string. (50e7dddf5c)
  • io: Fixed a bug in FileBackedOutputStream cleanup: If writing to the temp file fails, we now delete it before propagating the exception. (6e054cea7b)
  • net: Changed HostAndPort.fromString to reject port numbers spelled with non-ASCII digits. (53fd1d7612)
  • net: Added HttpHeaders constants for X-Device-Ip, X-Device-Referer, X-Device-Accept-Language, X-Device-Requested-With, Sec-CH-Prefers-Color-Scheme, Sec-CH-UA-Bitness, and Keep-Alive. (da375be86a, b23b277422, 281edd4b6e, 9c88f9ad6d)

... (truncated)

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #167 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/167 from google:dependabot/maven/guava.version-31.0-android 8cd9fffb6696de75fcae2b5e421878a044f58f72 PiperOrigin-RevId: 399184232 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index cfe2b300..52610ace 100644 --- a/pom.xml +++ b/pom.xml @@ -96,7 +96,7 @@ UTF-8 1.0 1.7 - 30.1.1-android + 31.0-android From 8f97c3e42bfe90863db7a9bf7eb00378177a4111 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 3 Nov 2021 06:46:25 -0700 Subject: [PATCH 035/189] Bump actions/checkout from 2.3.5 to 2.4.0 Bumps [actions/checkout](https://github.com/actions/checkout) from 2.3.5 to 2.4.0.
Release notes

Sourced from actions/checkout's releases.

v2.4.0

  • Convert SSH URLs like org-<ORG_ID>@github.com: to https://github.com/ - pr
Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/checkout&package-manager=github_actions&previous-version=2.3.5&new-version=2.4.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #171 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/171 from google:dependabot/github_actions/actions/checkout-2.4.0 d99acb15f2f2032e9eeda9e5c7b78517e4855f3f PiperOrigin-RevId: 407324751 --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5635a08e..fbd0fcec 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,7 @@ jobs: with: access_token: ${{ github.token }} - name: 'Check out repository' - uses: actions/checkout@v2.3.5 + uses: actions/checkout@v2.4.0 - name: 'Cache local Maven repository' uses: actions/cache@v2.1.6 with: @@ -58,7 +58,7 @@ jobs: runs-on: ubuntu-latest steps: - name: 'Check out repository' - uses: actions/checkout@v2.3.5 + uses: actions/checkout@v2.4.0 - name: 'Cache local Maven repository' uses: actions/cache@v2.1.6 with: @@ -87,7 +87,7 @@ jobs: runs-on: ubuntu-latest steps: - name: 'Check out repository' - uses: actions/checkout@v2.3.5 + uses: actions/checkout@v2.4.0 - name: 'Cache local Maven repository' uses: actions/cache@v2.1.6 with: From 2294abc6c985e4efa8ce33ac5d2024e4578dfca9 Mon Sep 17 00:00:00 2001 From: Colin Decker Date: Wed, 10 Nov 2021 06:19:43 -0800 Subject: [PATCH 036/189] Use `Futures.getDone` to get the result of a completed future. RELNOTES=n/a PiperOrigin-RevId: 408861618 --- .../google/common/jimfs/JimfsAsynchronousFileChannel.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/jimfs/src/main/java/com/google/common/jimfs/JimfsAsynchronousFileChannel.java b/jimfs/src/main/java/com/google/common/jimfs/JimfsAsynchronousFileChannel.java index c59522c6..eb83ddbf 100644 --- a/jimfs/src/main/java/com/google/common/jimfs/JimfsAsynchronousFileChannel.java +++ b/jimfs/src/main/java/com/google/common/jimfs/JimfsAsynchronousFileChannel.java @@ -19,6 +19,7 @@ import static com.google.common.base.Preconditions.checkArgument; import static com.google.common.base.Preconditions.checkNotNull; +import com.google.common.util.concurrent.Futures; import com.google.common.util.concurrent.ListenableFuture; import com.google.common.util.concurrent.ListeningExecutorService; import com.google.common.util.concurrent.MoreExecutors; @@ -206,13 +207,11 @@ private CompletionHandlerCallback( public void run() { R result; try { - result = future.get(); + result = Futures.getDone(future); } catch (ExecutionException e) { onFailure(e.getCause()); return; - } catch (InterruptedException | RuntimeException | Error e) { - // get() shouldn't be interrupted since this should only be called when the result is - // ready, but just handle it anyway to be sure and to satisfy the compiler + } catch (RuntimeException | Error e) { onFailure(e); return; } From 45a0fa10e045b404507320d8bb1b46d89b72bd65 Mon Sep 17 00:00:00 2001 From: Chaoren Lin Date: Thu, 11 Nov 2021 07:41:13 -0800 Subject: [PATCH 037/189] Fix runtime dependency on auto-common for auto-service annotation processor. Also bumps auto-service-annotations from 1.0 to 1.0.1. Closes #172 RELNOTES=n/a PiperOrigin-RevId: 409145153 --- pom.xml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index eb62417c..bab897f6 100644 --- a/pom.xml +++ b/pom.xml @@ -94,7 +94,8 @@ UTF-8 - 1.0 + 1.0.1 + 1.2 1.7 31.0.1-android

... (truncated)

Commits

Updates `guava-testlib` from 31.0.1-android to 31.1-android
Release notes

Sourced from guava-testlib's releases.

31.1

Maven

<dependency>
  <groupId>com.google.guava</groupId>
  <artifactId>guava</artifactId>
  <version>31.1-jre</version>
  <!-- or, for Android: -->
  <version>31.1-android</version>
</dependency>

Jar files

Guava requires one runtime dependency, which you can download here:

Javadoc

JDiff

Changelog

  • base: Deprecated the Throwables methods lazyStackTrace and lazyStackTraceIsLazy. They are no longer useful on any current platform. (6ebd7d8648)
  • collect: Added a new method ImmutableMap.Builder.buildKeepingLast(), which keeps the last value for any given key rather than throwing an exception when a key appears more than once. (68500b2c09)
  • collect: As a side-effect of the buildKeepingLast() change, the idiom ImmutableList.copyOf(Maps.transformValues(map, function)) may produce different results if function has side-effects. (This is not recommended.) (68500b2c09)
  • hash: Added Hashing.fingerprint2011(). (13f703c25f)
  • io: Changed ByteStreams.nullOutputStream() to follow the contract of OutputStream.write by throwing an exception if the range of bytes is out of bounds. (1cd85d01c9)
  • net: Added @CheckReturnValue to the package (with a few exceptions). (a0e2577de6)
  • net: Added HttpHeaders constant for Access-Control-Allow-Private-Network. (6dabbdf9c9)
  • util.concurrent: Added accumulate/update methods for AtomicDouble and AtomicDoubleArray. (2d875d327a)

APIs promoted from @Beta

  • base: Throwables methods getCausalChain and getCauseAs (dd462afa6b)
  • collect: Streams methods mapWithIndex and findLast (8079a29463)
  • collect: the remaining methods in Comparators: min, max, lexicographical, emptiesFirst, emptiesLast, isInOrder, isInStrictOrder (a3e411c3a4)
  • escape: various APIs (468c68a6ac)

... (truncated)

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #187 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/187 from google:dependabot/maven/guava.version-31.1-android 1bc0a3e9c98a5914e39744b78bbfe5e5784920b2 PiperOrigin-RevId: 431675198 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 58f3d781..54c718bb 100644 --- a/pom.xml +++ b/pom.xml @@ -97,7 +97,7 @@ 1.0.1 1.2 1.7 - 31.0.1-android + 31.1-android

... (truncated)

Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/checkout&package-manager=github_actions&previous-version=2.4.0&new-version=3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #188 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/188 from google:dependabot/github_actions/actions/checkout-3 d46e5eb11226357f5bf532af1ed30512388e320e PiperOrigin-RevId: 431937137 --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fba07d35..e4435b50 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,7 @@ jobs: with: access_token: ${{ github.token }} - name: 'Check out repository' - uses: actions/checkout@v2.4.0 + uses: actions/checkout@v3 - name: 'Cache local Maven repository' uses: actions/cache@v2.1.7 with: @@ -58,7 +58,7 @@ jobs: runs-on: ubuntu-latest steps: - name: 'Check out repository' - uses: actions/checkout@v2.4.0 + uses: actions/checkout@v3 - name: 'Cache local Maven repository' uses: actions/cache@v2.1.7 with: @@ -87,7 +87,7 @@ jobs: runs-on: ubuntu-latest steps: - name: 'Check out repository' - uses: actions/checkout@v2.4.0 + uses: actions/checkout@v3 - name: 'Cache local Maven repository' uses: actions/cache@v2.1.7 with: From 42f59bf33de7c9d55f0414443a21ebed8fc7a8af Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 22 Mar 2022 07:25:50 -0700 Subject: [PATCH 044/189] Bump actions/cache from 2.1.7 to 3 Bumps [actions/cache](https://github.com/actions/cache) from 2.1.7 to 3.
Release notes

Sourced from actions/cache's releases.

v3.0.0

  • This change adds a minimum runner version(node12 -> node16), which can break users using an out-of-date/fork of the runner. This would be most commonly affecting users on GHES 3.3 or before, as those runners do not support node16 actions and they can use actions from github.com via github connect or manually copying the repo to their GHES instance.

  • Few dependencies and cache action usage examples have also been updated.

Commits
  • 4b0cf6c Merge pull request #769 from actions/users/ashwinsangem/bump_major_version
  • 60c606a Update licensed files
  • b6e9a91 Revert "Updated to the latest version."
  • c842503 Updated to the latest version.
  • 2b7da2a Bumped up to a major version.
  • deae296 Merge pull request #651 from magnetikonline/fix-golang-windows-example
  • c7c46bc Merge pull request #707 from duxtland/main
  • 6535c5f Regenerated examples.md TOC
  • 3fdafa4 Update GitHub Actions status badge markdown in README.md
  • 341e6d7 Merge branch 'actions:main' into fix-golang-windows-example
  • Additional commits viewable in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/cache&package-manager=github_actions&previous-version=2.1.7&new-version=3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #191 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/191 from google:dependabot/github_actions/actions/cache-3 7f6748e1d134c241116c08572b5767acdb5571f0 PiperOrigin-RevId: 436467277 --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e4435b50..cd322920 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,7 +33,7 @@ jobs: - name: 'Check out repository' uses: actions/checkout@v3 - name: 'Cache local Maven repository' - uses: actions/cache@v2.1.7 + uses: actions/cache@v3 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} @@ -60,7 +60,7 @@ jobs: - name: 'Check out repository' uses: actions/checkout@v3 - name: 'Cache local Maven repository' - uses: actions/cache@v2.1.7 + uses: actions/cache@v3 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} @@ -89,7 +89,7 @@ jobs: - name: 'Check out repository' uses: actions/checkout@v3 - name: 'Cache local Maven repository' - uses: actions/cache@v2.1.7 + uses: actions/cache@v3 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} From d92e57f0d741cd0d7c2554b322d6dcbb08ea047e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 7 Apr 2022 06:13:58 -0700 Subject: [PATCH 045/189] Bump maven-surefire-plugin from 3.0.0-M5 to 3.0.0-M6 Bumps [maven-surefire-plugin](https://github.com/apache/maven-surefire) from 3.0.0-M5 to 3.0.0-M6.
Commits
  • 7ac75e5 [maven-release-plugin] prepare release surefire-3.0.0-M6
  • daf717e Bump plexus-component-metadata from 2.0.0 to 2.1.1
  • 487c6fb roadmap
  • e21a81f [index.apt.vm] remove obsolete Maven & JDK requirements
  • f2c5671 [SUREFIRE-2051] Propagate exceptions while resolving artifacts in `SurefireDe...
  • 92b9061 [SUREFIRE-2024] Replace testng-junit5 by testng-engine (#500)
  • 25425c3 [SUREFIRE-2052] Handles internal exceptions do not have suppressed exceptions...
  • 32f7dd3 [SUREFIRE-1432] trimStackTrace = false by default
  • a38bfcc [SUREFIRE-2040] No tests executed with junit-platform-suite and -Dtest=TestSuite
  • db99f16 [SUREFIRE-2046] Resolved TODOs. Updated callbacks ForkedProcessPropertyEventL...
  • Additional commits viewable in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.apache.maven.plugins:maven-surefire-plugin&package-manager=maven&previous-version=3.0.0-M5&new-version=3.0.0-M6)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #192 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/192 from google:dependabot/maven/org.apache.maven.plugins-maven-surefire-plugin-3.0.0-M6 b32fa7fcb6f9f0de20e8d87a54439f3ddadda17a PiperOrigin-RevId: 440087479 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 54c718bb..1ffdde85 100644 --- a/pom.xml +++ b/pom.xml @@ -198,7 +198,7 @@
maven-surefire-plugin - 3.0.0-M5 + 3.0.0-M6 org.apache.felix From 48f5ee1db282081e0a48bac5cd1ad412cd01dd26 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 8 Apr 2022 07:17:10 -0700 Subject: [PATCH 046/189] Bump icu4j from 70.1 to 71.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [icu4j](https://github.com/unicode-org/icu) from 70.1 to 71.1.
Release notes

Sourced from icu4j's releases.

ICU 71.1

We are pleased to announce the release of Unicode® ICU 71.

ICU 71 updates to CLDR 41 locale data with various additions and corrections.

ICU 71 adds phrase-based line breaking for Japanese. Existing line breaking methods follow standards and conventions for body text but do not work well for short Japanese text, such as in titles and headings. This new feature is optimized for these use cases.

ICU 71 adds support for Hindi written in Latin letters (hi_Latn). The CLDR data for this increasingly popular locale has been significantly revised and expanded. Note that based on user expectations, hi_Latn incorporates a large amount of English, and can also be referred to as “Hinglish”.

ICU 71 and CLDR 41 are minor releases, mostly focused on bug fixes and small enhancements. (The fall CLDR/ICU releases will update to Unicode 15 which is planned for September.) We are also working to re-establish continuous performance testing for ICU, and on development towards future versions.

ICU 71 updates to the time zone data version 2022a. Note that pre-1970 data for a number of time zones has been removed, as has been the case in the upstream tzdata release since 2021b.

For details, please see https://icu.unicode.org/download/71. Note: Our website has moved. Please adjust your bookmarks.

The API reference documents are published at the following location: https://unicode-org.github.io/icu-docs/

Note: The prebuilt WinARM64 binaries below should be considered alpha/experimental.

ICU 71 RC

We are pleased to announce the release candidate for Unicode® ICU 71.

ICU 71 updates to CLDR 41 locale data with various additions and corrections, and adds phrase-based line breaking for Japanese. ICU 71 also includes a number of other bug fixes and enhancements, and we are working to re-establish continuous performance testing.

ICU 71 updates to the time zone data version 2022a. Note that pre-1970 data for a number of time zones has been removed, as has been the case in the upstream tzdata release since 2021b.

For details, please see https://icu.unicode.org/download/71. Note: Our website has moved. Please adjust your bookmarks.

Please test this release candidate on your platforms and report bugs and regressions by Tuesday, 2022-apr-05, via the icu-support mailing list, and/or please find/submit error reports.

Please do not use this release candidate in production.

The release candidate API reference documents are published on https://unicode-org.github.io/icu-docs/ – follow the “Dev” links there.

Note: The prebuilt WinARM64 binaries below should be considered alpha/experimental.

Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.ibm.icu:icu4j&package-manager=maven&previous-version=70.1&new-version=71.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #193 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/193 from google:dependabot/maven/com.ibm.icu-icu4j-71.1 153dc6db620c7825dd55e1f0624bd97ff6b5290b PiperOrigin-RevId: 440357813 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 1ffdde85..c57ac158 100644 --- a/pom.xml +++ b/pom.xml @@ -121,7 +121,7 @@ com.ibm.icu icu4j - 70.1 + 71.1 From 695d23af2cf692a0d0cd7f06c50026daf08687fc Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Apr 2022 07:36:56 -0700 Subject: [PATCH 047/189] Bump actions/setup-java from 2 to 3 Bumps [actions/setup-java](https://github.com/actions/setup-java) from 2 to 3.
Release notes

Sourced from actions/setup-java's releases.

v3.0.0

In scope of this release we changed version of the runtime Node.js for the setup-java action and updated package-lock.json file to v2.

Breaking Changes

With the update to Node 16 in #290, all scripts will now be run with Node 16 rather than Node 12.

v2.5.0

In scope of this pull request we add support for Microsoft Build of OpenJDK (actions/setup-java#252).

steps:
  - name: Checkout
    uses: actions/checkout@v2
  - name: Setup-java
    uses: actions/setup-java@v2
    with:
      distribution: microsoft
      java-version: 11

Supported distributions

Currently, the following distributions are supported:

Keyword Distribution Official site License
temurin Eclipse Temurin Link Link
zulu Zulu OpenJDK Link Link
adopt or adopt-hotspot Adopt OpenJDK Hotspot Link Link
adopt-openj9 Adopt OpenJDK OpenJ9 Link Link
liberica Liberica JDK Link Link
microsoft Microsoft Build of OpenJDK Link Link

v2.4.0

In scope of this pull request we add support for Liberica JDK (actions/setup-java#225).

steps:
  - name: Checkout
    uses: actions/checkout@v2
  - name: Setup-java
    uses: actions/setup-java@v2
    with:
      distribution: liberica
      java-version: 11

Supported distributions

Currently, the following distributions are supported:

Keyword Distribution Official site License
zulu Zulu OpenJDK Link Link
adopt or adopt-hotspot Adopt OpenJDK Hotspot Link Link
adopt-openj9 Adopt OpenJDK OpenJ9 Link Link
temurin Eclipse Temurin Link Link

... (truncated)

Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/setup-java&package-manager=github_actions&previous-version=2&new-version=3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #194 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/194 from google:dependabot/github_actions/actions/setup-java-3 f0985b54898594a838cd463a80a20faabb1e0f78 PiperOrigin-RevId: 440887032 --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cd322920..6dbd97e0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,7 +40,7 @@ jobs: restore-keys: | ${{ runner.os }}-maven- - name: 'Set up JDK ${{ matrix.java }}' - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: java-version: ${{ matrix.java }} distribution: 'zulu' @@ -67,7 +67,7 @@ jobs: restore-keys: | ${{ runner.os }}-maven- - name: 'Set up JDK 8' - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: java-version: 8 distribution: 'zulu' @@ -96,7 +96,7 @@ jobs: restore-keys: | ${{ runner.os }}-maven- - name: 'Set up JDK 11' - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: java-version: 11 distribution: 'zulu' From b729e5e634d9a396c98ccc00aa0e1bf62e90b8c2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 21 Apr 2022 07:25:33 -0700 Subject: [PATCH 048/189] Bump maven-javadoc-plugin from 3.3.2 to 3.4.0 Bumps [maven-javadoc-plugin](https://github.com/apache/maven-javadoc-plugin) from 3.3.2 to 3.4.0.
Commits
  • 40cc602 [maven-release-plugin] prepare release maven-javadoc-plugin-3.4.0
  • 0c6b32f [MJAVADOC-714] Upgrade to Maven 3.2.5
  • 506cb74 [MJAVADOC-696] Invalid anchors in Javadoc and plugin mojo
  • 47d03d3 [MJAVADOC-712] Remove remains of org.codehaus.doxia.sink.Sink
  • 5fae3b6 [MJAVADOC-711] Upgrade plugins in ITs
  • 03ca843 Bump maven-archiver from 3.5.1 to 3.5.2
  • 5dcfa6e Bump plexus-archiver from 4.2.6 to 4.2.7
  • ca00601 Bump junit in /src/it/projects/MJAVADOC-498_modulepath
  • 2583554 Bump commons-io from 2.2 to 2.7 in /src/it/projects/MJAVADOC-437/module2
  • 9dd7bdd use shared gh action/release-drafter (#128)
  • Additional commits viewable in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.apache.maven.plugins:maven-javadoc-plugin&package-manager=maven&previous-version=3.3.2&new-version=3.4.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #195 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/195 from google:dependabot/maven/org.apache.maven.plugins-maven-javadoc-plugin-3.4.0 4bf4d5db4d827ab0b4de87f859e5a2230d6af248 PiperOrigin-RevId: 443371936 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index c57ac158..6df8fce1 100644 --- a/pom.xml +++ b/pom.xml @@ -176,7 +176,7 @@
maven-javadoc-plugin - 3.3.2 + 3.4.0 true UTF-8 From 8171b278631f608c48e7be2ee0ae0f42d9a49bdd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 29 Apr 2022 07:46:07 -0700 Subject: [PATCH 049/189] Bump maven-bundle-plugin from 5.1.4 to 5.1.5 Bumps maven-bundle-plugin from 5.1.4 to 5.1.5. [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.apache.felix:maven-bundle-plugin&package-manager=maven&previous-version=5.1.4&new-version=5.1.5)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #196 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/196 from google:dependabot/maven/org.apache.felix-maven-bundle-plugin-5.1.5 c4ed76fc21e121a02e214cfb248792ba20f01e4f PiperOrigin-RevId: 445417318 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 6df8fce1..ad1e44b2 100644 --- a/pom.xml +++ b/pom.xml @@ -203,7 +203,7 @@ org.apache.felix maven-bundle-plugin - 5.1.4 + 5.1.5 From 735a8bd7e1f2a03a4368e564e5acc128c164e6b3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 16 May 2022 05:47:57 -0700 Subject: [PATCH 050/189] Bump maven-bundle-plugin from 5.1.5 to 5.1.6 Bumps maven-bundle-plugin from 5.1.5 to 5.1.6. [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.apache.felix:maven-bundle-plugin&package-manager=maven&previous-version=5.1.5&new-version=5.1.6)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #197 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/197 from google:dependabot/maven/org.apache.felix-maven-bundle-plugin-5.1.6 b470a20864af04dd46cafabbd79139522a8da3af PiperOrigin-RevId: 448935219 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index ad1e44b2..90ffbec4 100644 --- a/pom.xml +++ b/pom.xml @@ -203,7 +203,7 @@ org.apache.felix maven-bundle-plugin - 5.1.5 + 5.1.6 From 39ef52691bfd45196915acbbf2908cd1e4b37aa7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 7 Jun 2022 07:17:24 -0700 Subject: [PATCH 051/189] Bump maven-surefire-plugin from 3.0.0-M6 to 3.0.0-M7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [maven-surefire-plugin](https://github.com/apache/maven-surefire) from 3.0.0-M6 to 3.0.0-M7.
Release notes

Sourced from maven-surefire-plugin's releases.

3.0.0-M7

🚀 New features and improvements

🐛 Bug Fixes

📦 Dependency updates

👻 Maintenance

Commits
  • fcdd766 [maven-release-plugin] prepare release surefire-3.0.0-M7
  • 559db4c [SUREFIRE-2086] Management of temporary files (#535)
  • bce6b43 [SUREFIRE-2067] Improve site configuration
  • ec47652 move this version changelog to a dedicated page (#539)
  • 535855a [SUREFIRE-2077] Allow consecutive spaces in argLine (#527)
  • 2cf4674 [SUREFIRE-2075] Only set thread count if spec'd
  • 7008175 Bump javacc from 7.0.10 to 7.0.11 (#524)
  • 03cafca Bump javassist from 3.22.0-GA to 3.29.0-GA
  • 8fa3098 [SUREFIRE-2083] Remove redundant config from maven-shade-plugin
  • 17628ad [SUREFIRE-2081] Upgrade Parent to 36
  • Additional commits viewable in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.apache.maven.plugins:maven-surefire-plugin&package-manager=maven&previous-version=3.0.0-M6&new-version=3.0.0-M7)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #198 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/198 from google:dependabot/maven/org.apache.maven.plugins-maven-surefire-plugin-3.0.0-M7 6b29d4a600ed3adccd2b4ec3027d13e95caf987a PiperOrigin-RevId: 453430214 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 90ffbec4..faf024d0 100644 --- a/pom.xml +++ b/pom.xml @@ -198,7 +198,7 @@
maven-surefire-plugin - 3.0.0-M6 + 3.0.0-M7 org.apache.felix From bb0ba57c7024277c21bbbbd591e0593302d66e48 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 27 Jun 2022 08:10:28 -0700 Subject: [PATCH 052/189] Bump styfle/cancel-workflow-action from 0.9.1 to 0.10.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [styfle/cancel-workflow-action](https://github.com/styfle/cancel-workflow-action) from 0.9.1 to 0.10.0.
Release notes

Sourced from styfle/cancel-workflow-action's releases.

0.10.0

Changes

  • Feat(all):support for considering all workflows with one term: #165
  • Chore: rebuild: 74a81dc1a9321342ebc12fa8670cc91600c8c494
  • Chore: update main.yml: #78
  • Bump @​vercel/ncc from 0.28.6 to 0.29.1: #106
  • Bump @​vercel/ncc from 0.29.1 to 0.29.2: #109
  • Bump @​vercel/ncc from 0.29.2 to 0.30.0: #112
  • Bump husky from 7.0.1 to 7.0.2: #110
  • Bump prettier from 2.3.2 to 2.4.0: #116
  • Bump @​vercel/ncc from 0.30.0 to 0.31.1: #115
  • Bump typescript from 4.3.5 to 4.4.3: #114
  • Bump prettier from 2.4.0 to 2.4.1: #117
  • Bump @​actions/github from 4.0.0 to 5.0.0: #89
  • Bump @​actions/core from 1.3.0 to 1.6.0: #118
  • Bump typescript from 4.4.3 to 4.4.4: #119
  • Bump husky from 7.0.2 to 7.0.4: #120
  • Bump typescript from 4.4.4 to 4.5.2: #124
  • Bump @​vercel/ncc from 0.31.1 to 0.32.0: #123
  • Bump prettier from 2.4.1 to 2.5.0: #125
  • Bump prettier from 2.5.0 to 2.5.1: #126
  • Bump @​vercel/ncc from 0.32.0 to 0.33.0: #127
  • Bump typescript from 4.5.2 to 4.5.3: #128
  • Bump @​vercel/ncc from 0.33.0 to 0.33.1: #130
  • Bump typescript from 4.5.3 to 4.5.4: #129
  • Bump typescript from 4.5.4 to 4.5.5: #131
  • Bump node-fetch from 2.6.5 to 2.6.7: #132
  • Bump @​vercel/ncc from 0.33.1 to 0.33.3: #138
  • Bump actions/setup-node from 2 to 3.0.0: #140
  • Bump actions/checkout from 2 to 3: #141
  • Bump typescript from 4.5.5 to 4.6.2: #142
  • Bump prettier from 2.5.1 to 2.6.0: #143
  • Bump prettier from 2.6.0 to 2.6.1: #145
  • Bump actions/setup-node from 3.0.0 to 3.1.0: #146
  • Bump typescript from 4.6.2 to 4.6.3: #144
  • Bump prettier from 2.6.1 to 2.6.2: #147
  • Bump @​actions/github from 5.0.0 to 5.0.1: #148
  • Bump actions/setup-node from 3.1.0 to 3.1.1: #149
  • Bump @​vercel/ncc from 0.33.3 to 0.33.4: #151
  • Bump @​actions/core from 1.6.0 to 1.7.0: #153
  • Bump typescript from 4.6.3 to 4.6.4: #154
  • Bump husky from 7.0.4 to 8.0.1: #155
  • Bump @​actions/core from 1.7.0 to 1.8.0: #156
  • Bump actions/setup-node from 3.1.1 to 3.2.0: #159
  • Bump @​actions/github from 5.0.1 to 5.0.3: #157
  • Bump @​actions/core from 1.8.0 to 1.8.2: #158
  • Bump typescript from 4.6.4 to 4.7.2: #160
  • Bump @​vercel/ncc from 0.33.4 to 0.34.0: #161
  • Bump typescript from 4.7.2 to 4.7.3: #163

... (truncated)

Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=styfle/cancel-workflow-action&package-manager=github_actions&previous-version=0.9.1&new-version=0.10.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #199 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/199 from google:dependabot/github_actions/styfle/cancel-workflow-action-0.10.0 b0384d7ebb1589e6c3a2cd05bd3d64dcfe8ec42c PiperOrigin-RevId: 457482666 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6dbd97e0..c24300e9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,7 +27,7 @@ jobs: steps: # Cancel any previous runs for the same branch that are still running. - name: 'Cancel previous runs' - uses: styfle/cancel-workflow-action@0.9.1 + uses: styfle/cancel-workflow-action@0.10.0 with: access_token: ${{ github.token }} - name: 'Check out repository' From 311824108b362e0bc057aef4232eb00ea1e8a818 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 15 Jul 2022 13:08:00 -0700 Subject: [PATCH 053/189] Bump maven-bundle-plugin from 5.1.6 to 5.1.7 Bumps maven-bundle-plugin from 5.1.6 to 5.1.7. [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.apache.felix:maven-bundle-plugin&package-manager=maven&previous-version=5.1.6&new-version=5.1.7)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #200 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/200 from google:dependabot/maven/org.apache.felix-maven-bundle-plugin-5.1.7 ca099bc4a48561f7cb6d88afe938484dad15fa2b PiperOrigin-RevId: 461228451 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index faf024d0..dd247a60 100644 --- a/pom.xml +++ b/pom.xml @@ -203,7 +203,7 @@ org.apache.felix maven-bundle-plugin - 5.1.6 + 5.1.7 From 8911cc82caef7cab0c95ea753305624852fda22d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 1 Aug 2022 07:47:57 -0700 Subject: [PATCH 054/189] Bump maven-bundle-plugin from 5.1.7 to 5.1.8 Bumps maven-bundle-plugin from 5.1.7 to 5.1.8. [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.apache.felix:maven-bundle-plugin&package-manager=maven&previous-version=5.1.7&new-version=5.1.8)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #201 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/201 from google:dependabot/maven/org.apache.felix-maven-bundle-plugin-5.1.8 b1333a0e6f4477b9cee3eb314747de184f1f4099 PiperOrigin-RevId: 464534202 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index dd247a60..8a7e15c8 100644 --- a/pom.xml +++ b/pom.xml @@ -203,7 +203,7 @@ org.apache.felix maven-bundle-plugin - 5.1.7 + 5.1.8 From 61076c60d3c0e185d991d684a151491ab0fd5489 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 15 Aug 2022 07:33:25 -0700 Subject: [PATCH 055/189] Bump maven-javadoc-plugin from 3.4.0 to 3.4.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [maven-javadoc-plugin](https://github.com/apache/maven-javadoc-plugin) from 3.4.0 to 3.4.1.
Release notes

Sourced from maven-javadoc-plugin's releases.

3.4.1

📦 Dependency updates

Commits
  • a5db96e [maven-release-plugin] prepare release maven-javadoc-plugin-3.4.1
  • a10f0b1 [MJAVADOC-723] Upgrade Maven Reporting API to 3.1.1/Complete with Maven Repor...
  • c19dba2 Skip Java 9-14 in reproducible test
  • 26d84b2 Add notimestamp for reproducible builds test
  • 92ce668 Ignore Maven Core updates
  • bacc078 Add Integration Test for reproducible builds
  • 497f80f [MJAVADOC-719] - Update Maven Archiver to 3.6.0
  • 34b501d Bump assertj-core from 3.21.0 to 3.23.1
  • b928970 Bump spring-webmvc in /src/it/projects/MJAVADOC-434_fixcompile
  • 4306c92 Bump mockito-core from 4.1.0 to 4.4.0
  • Additional commits viewable in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.apache.maven.plugins:maven-javadoc-plugin&package-manager=maven&previous-version=3.4.0&new-version=3.4.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #202 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/202 from google:dependabot/maven/org.apache.maven.plugins-maven-javadoc-plugin-3.4.1 ad8eb0de23e3a026ad542e2aca1a85118c55578a PiperOrigin-RevId: 467665392 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 8a7e15c8..0625251c 100644 --- a/pom.xml +++ b/pom.xml @@ -176,7 +176,7 @@
maven-javadoc-plugin - 3.4.0 + 3.4.1 true UTF-8 From 7962d7e77a756b4712f3ca382491b63e3856232b Mon Sep 17 00:00:00 2001 From: Jimfs Team Date: Mon, 22 Aug 2022 09:24:27 -0700 Subject: [PATCH 056/189] Add suppressions for existing violations of LenientFormatStringValidation to support making it an ERROR. PiperOrigin-RevId: 469204271 --- jimfs/src/main/java/com/google/common/jimfs/HeapDisk.java | 3 ++- jimfs/src/test/java/com/google/common/jimfs/FileTreeTest.java | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/jimfs/src/main/java/com/google/common/jimfs/HeapDisk.java b/jimfs/src/main/java/com/google/common/jimfs/HeapDisk.java index ab06933f..abfb6177 100644 --- a/jimfs/src/main/java/com/google/common/jimfs/HeapDisk.java +++ b/jimfs/src/main/java/com/google/common/jimfs/HeapDisk.java @@ -69,7 +69,8 @@ public HeapDisk(int blockSize, int maxBlockCount, int maxCachedBlockCount) { checkArgument(blockSize > 0, "blockSize (%s) must be positive", blockSize); checkArgument(maxBlockCount > 0, "maxBlockCount (%s) must be positive", maxBlockCount); checkArgument( - maxCachedBlockCount >= 0, "maxCachedBlockCount must be non-negative", maxCachedBlockCount); + maxCachedBlockCount >= 0, "maxCachedBlockCount (%s) must be non-negative", + maxCachedBlockCount); this.blockSize = blockSize; this.maxBlockCount = maxBlockCount; this.maxCachedBlockCount = maxCachedBlockCount; diff --git a/jimfs/src/test/java/com/google/common/jimfs/FileTreeTest.java b/jimfs/src/test/java/com/google/common/jimfs/FileTreeTest.java index 54f590d2..e9259718 100644 --- a/jimfs/src/test/java/com/google/common/jimfs/FileTreeTest.java +++ b/jimfs/src/test/java/com/google/common/jimfs/FileTreeTest.java @@ -101,7 +101,8 @@ public String toUriPath(String root, Iterable names, boolean directory) @Override public ParseResult parseUriPath(String uriPath) { checkArgument( - uriPath.matches("^/[/$!].*"), "uriPath (%s) must start with // or /$ or /!"); + uriPath.matches("^/[/$!].*"), "uriPath (%s) must start with // or /$ or /!", + uriPath); return parsePath(uriPath.substring(1)); // skip leading / } }, From cde605162a39abb5e62d3a0fd4ef036bed069e05 Mon Sep 17 00:00:00 2001 From: cpovirk Date: Thu, 8 Sep 2022 09:52:00 -0700 Subject: [PATCH 057/189] Add `@Nullable` to the return declaration of methods that can clearly return null. PiperOrigin-RevId: 473014878 --- .../java/com/google/common/jimfs/BasicAttributeProvider.java | 1 + jimfs/src/main/java/com/google/common/jimfs/Handler.java | 2 ++ jimfs/src/main/java/com/google/common/jimfs/JimfsPath.java | 3 +++ .../main/java/com/google/common/jimfs/PathURLConnection.java | 2 ++ .../java/com/google/common/jimfs/UnixAttributeProvider.java | 2 ++ .../com/google/common/jimfs/UserDefinedAttributeProvider.java | 2 ++ 6 files changed, 12 insertions(+) diff --git a/jimfs/src/main/java/com/google/common/jimfs/BasicAttributeProvider.java b/jimfs/src/main/java/com/google/common/jimfs/BasicAttributeProvider.java index 6315ab70..35dc8112 100644 --- a/jimfs/src/main/java/com/google/common/jimfs/BasicAttributeProvider.java +++ b/jimfs/src/main/java/com/google/common/jimfs/BasicAttributeProvider.java @@ -56,6 +56,7 @@ public ImmutableSet fixedAttributes() { return ATTRIBUTES; } + @NullableDecl @Override public Object get(File file, String attribute) { switch (attribute) { diff --git a/jimfs/src/main/java/com/google/common/jimfs/Handler.java b/jimfs/src/main/java/com/google/common/jimfs/Handler.java index fd4ab74a..9b1dfee2 100644 --- a/jimfs/src/main/java/com/google/common/jimfs/Handler.java +++ b/jimfs/src/main/java/com/google/common/jimfs/Handler.java @@ -23,6 +23,7 @@ import java.net.URL; import java.net.URLConnection; import java.net.URLStreamHandler; +import org.checkerframework.checker.nullness.compatqual.NullableDecl; /** * {@link URLStreamHandler} implementation for jimfs. Named {@code Handler} so that the class can be @@ -79,6 +80,7 @@ protected URLConnection openConnection(URL url) throws IOException { return new PathURLConnection(url); } + @NullableDecl @Override @SuppressWarnings("UnsynchronizedOverridesSynchronized") // no need to synchronize to return null protected InetAddress getHostAddress(URL url) { diff --git a/jimfs/src/main/java/com/google/common/jimfs/JimfsPath.java b/jimfs/src/main/java/com/google/common/jimfs/JimfsPath.java index 9d18837a..73a3b989 100644 --- a/jimfs/src/main/java/com/google/common/jimfs/JimfsPath.java +++ b/jimfs/src/main/java/com/google/common/jimfs/JimfsPath.java @@ -111,6 +111,7 @@ public boolean isAbsolute() { return root != null; } + @NullableDecl @Override public JimfsPath getRoot() { if (root == null) { @@ -119,11 +120,13 @@ public JimfsPath getRoot() { return pathService.createRoot(root); } + @NullableDecl @Override public JimfsPath getFileName() { return names.isEmpty() ? null : getName(names.size() - 1); } + @NullableDecl @Override public JimfsPath getParent() { if (names.isEmpty() || (names.size() == 1 && root == null)) { diff --git a/jimfs/src/main/java/com/google/common/jimfs/PathURLConnection.java b/jimfs/src/main/java/com/google/common/jimfs/PathURLConnection.java index 4f71d33b..9c983874 100644 --- a/jimfs/src/main/java/com/google/common/jimfs/PathURLConnection.java +++ b/jimfs/src/main/java/com/google/common/jimfs/PathURLConnection.java @@ -43,6 +43,7 @@ import java.util.Locale; import java.util.Map; import java.util.TimeZone; +import org.checkerframework.checker.nullness.compatqual.NullableDecl; /** * {@code URLConnection} implementation. @@ -133,6 +134,7 @@ public Map> getHeaderFields() { return (ImmutableMap>) (ImmutableMap) headers.asMap(); } + @NullableDecl @Override public String getHeaderField(String name) { try { diff --git a/jimfs/src/main/java/com/google/common/jimfs/UnixAttributeProvider.java b/jimfs/src/main/java/com/google/common/jimfs/UnixAttributeProvider.java index e3146434..4d1f5082 100644 --- a/jimfs/src/main/java/com/google/common/jimfs/UnixAttributeProvider.java +++ b/jimfs/src/main/java/com/google/common/jimfs/UnixAttributeProvider.java @@ -29,6 +29,7 @@ import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentMap; import java.util.concurrent.atomic.AtomicInteger; +import org.checkerframework.checker.nullness.compatqual.NullableDecl; /** * Attribute provider that provides the "unix" attribute view. @@ -94,6 +95,7 @@ private Integer getUniqueId(Object object) { return id; } + @NullableDecl @SuppressWarnings("unchecked") @Override public Object get(File file, String attribute) { diff --git a/jimfs/src/main/java/com/google/common/jimfs/UserDefinedAttributeProvider.java b/jimfs/src/main/java/com/google/common/jimfs/UserDefinedAttributeProvider.java index 51cbfa69..0c8e8723 100644 --- a/jimfs/src/main/java/com/google/common/jimfs/UserDefinedAttributeProvider.java +++ b/jimfs/src/main/java/com/google/common/jimfs/UserDefinedAttributeProvider.java @@ -25,6 +25,7 @@ import java.nio.file.attribute.FileAttributeView; import java.nio.file.attribute.UserDefinedFileAttributeView; import java.util.List; +import org.checkerframework.checker.nullness.compatqual.NullableDecl; /** * Attribute provider that provides the {@link UserDefinedFileAttributeView} ("user"). Unlike most @@ -68,6 +69,7 @@ private static ImmutableSet userDefinedAttributes(File file) { return builder.build(); } + @NullableDecl @Override public Object get(File file, String attribute) { Object value = file.getAttribute("user", attribute); From 139c10e662eb99a14f4475a983e4afc53e112beb Mon Sep 17 00:00:00 2001 From: Colin Decker Date: Fri, 9 Sep 2022 10:24:33 -0700 Subject: [PATCH 058/189] Allow Jimfs file systems to get file times from something other than `System.currentTimeMillis()`, such as a fake time source, by configuring them with a custom `FileTimeSource`. RELNOTES=Added `FileTimeSource` and made it possible to set a `FileTimeSource` in the `Configuration` of a file system. PiperOrigin-RevId: 473284348 --- .../common/jimfs/BasicAttributeProvider.java | 24 +++---- .../google/common/jimfs/Configuration.java | 30 +++++++++ .../com/google/common/jimfs/Directory.java | 25 ++++---- .../java/com/google/common/jimfs/File.java | 51 ++++++--------- .../com/google/common/jimfs/FileFactory.java | 18 ++++-- .../google/common/jimfs/FileSystemState.java | 10 ++- .../google/common/jimfs/FileSystemView.java | 23 ++++--- .../google/common/jimfs/FileTimeSource.java | 29 +++++++++ .../com/google/common/jimfs/HeapDisk.java | 9 ++- .../google/common/jimfs/JimfsFileChannel.java | 22 +++---- .../google/common/jimfs/JimfsFileSystems.java | 5 +- .../google/common/jimfs/JimfsInputStream.java | 4 +- .../common/jimfs/JimfsOutputStream.java | 4 +- .../com/google/common/jimfs/JimfsPath.java | 1 + .../common/jimfs/PollingWatchService.java | 11 ++-- .../com/google/common/jimfs/RegularFile.java | 23 ++++--- .../com/google/common/jimfs/SymbolicLink.java | 14 ++-- .../common/jimfs/SystemFileTimeSource.java | 38 +++++++++++ .../common/jimfs/UnixAttributeProvider.java | 3 +- .../jimfs/AbstractAttributeProviderTest.java | 4 +- .../common/jimfs/AttributeServiceTest.java | 48 ++++++++------ .../jimfs/BasicAttributeProviderTest.java | 26 ++++---- .../common/jimfs/ConfigurationTest.java | 10 +++ .../google/common/jimfs/DirectoryTest.java | 36 ++++++----- .../common/jimfs/FakeFileTimeSource.java | 64 +++++++++++++++++++ .../google/common/jimfs/FileFactoryTest.java | 14 +++- .../common/jimfs/FileSystemStateTest.java | 12 +++- .../com/google/common/jimfs/FileTest.java | 12 ++-- .../com/google/common/jimfs/FileTreeTest.java | 12 ++-- .../com/google/common/jimfs/HeapDiskTest.java | 6 +- .../JimfsAsynchronousFileChannelTest.java | 2 +- .../common/jimfs/JimfsFileChannelTest.java | 34 +++++----- .../common/jimfs/JimfsInputStreamTest.java | 3 +- .../common/jimfs/JimfsOutputStreamTest.java | 3 +- .../common/jimfs/PollingWatchServiceTest.java | 2 +- .../common/jimfs/RegularFileBlocksTest.java | 6 +- .../google/common/jimfs/RegularFileTest.java | 13 ++-- .../com/google/common/jimfs/TestUtils.java | 3 +- .../jimfs/UnixAttributeProviderTest.java | 3 +- 39 files changed, 452 insertions(+), 205 deletions(-) create mode 100644 jimfs/src/main/java/com/google/common/jimfs/FileTimeSource.java create mode 100644 jimfs/src/main/java/com/google/common/jimfs/SystemFileTimeSource.java create mode 100644 jimfs/src/test/java/com/google/common/jimfs/FakeFileTimeSource.java diff --git a/jimfs/src/main/java/com/google/common/jimfs/BasicAttributeProvider.java b/jimfs/src/main/java/com/google/common/jimfs/BasicAttributeProvider.java index 35dc8112..247aa163 100644 --- a/jimfs/src/main/java/com/google/common/jimfs/BasicAttributeProvider.java +++ b/jimfs/src/main/java/com/google/common/jimfs/BasicAttributeProvider.java @@ -73,11 +73,11 @@ public Object get(File file, String attribute) { case "isOther": return !file.isDirectory() && !file.isRegularFile() && !file.isSymbolicLink(); case "creationTime": - return FileTime.fromMillis(file.getCreationTime()); + return file.getCreationTime(); case "lastAccessTime": - return FileTime.fromMillis(file.getLastAccessTime()); + return file.getLastAccessTime(); case "lastModifiedTime": - return FileTime.fromMillis(file.getLastModifiedTime()); + return file.getLastModifiedTime(); default: return null; } @@ -88,15 +88,15 @@ public void set(File file, String view, String attribute, Object value, boolean switch (attribute) { case "creationTime": checkNotCreate(view, attribute, create); - file.setCreationTime(checkType(view, attribute, value, FileTime.class).toMillis()); + file.setCreationTime(checkType(view, attribute, value, FileTime.class)); break; case "lastAccessTime": checkNotCreate(view, attribute, create); - file.setLastAccessTime(checkType(view, attribute, value, FileTime.class).toMillis()); + file.setLastAccessTime(checkType(view, attribute, value, FileTime.class)); break; case "lastModifiedTime": checkNotCreate(view, attribute, create); - file.setLastModifiedTime(checkType(view, attribute, value, FileTime.class).toMillis()); + file.setLastModifiedTime(checkType(view, attribute, value, FileTime.class)); break; case "size": case "fileKey": @@ -156,15 +156,15 @@ public void setTimes( File file = lookupFile(); if (lastModifiedTime != null) { - file.setLastModifiedTime(lastModifiedTime.toMillis()); + file.setLastModifiedTime(lastModifiedTime); } if (lastAccessTime != null) { - file.setLastAccessTime(lastAccessTime.toMillis()); + file.setLastAccessTime(lastAccessTime); } if (createTime != null) { - file.setCreationTime(createTime.toMillis()); + file.setCreationTime(createTime); } } } @@ -182,9 +182,9 @@ static class Attributes implements BasicFileAttributes { private final Object fileKey; protected Attributes(File file) { - this.lastModifiedTime = FileTime.fromMillis(file.getLastModifiedTime()); - this.lastAccessTime = FileTime.fromMillis(file.getLastAccessTime()); - this.creationTime = FileTime.fromMillis(file.getCreationTime()); + this.lastModifiedTime = file.getLastModifiedTime(); + this.lastAccessTime = file.getLastAccessTime(); + this.creationTime = file.getCreationTime(); this.regularFile = file.isRegularFile(); this.directory = file.isDirectory(); this.symbolicLink = file.isSymbolicLink(); diff --git a/jimfs/src/main/java/com/google/common/jimfs/Configuration.java b/jimfs/src/main/java/com/google/common/jimfs/Configuration.java index 06630eb7..71202982 100644 --- a/jimfs/src/main/java/com/google/common/jimfs/Configuration.java +++ b/jimfs/src/main/java/com/google/common/jimfs/Configuration.java @@ -31,6 +31,7 @@ import com.google.common.collect.ImmutableSet; import com.google.common.collect.Lists; import com.google.common.collect.Sets; +import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.nio.channels.FileChannel; import java.nio.file.FileSystem; import java.nio.file.InvalidPathException; @@ -233,6 +234,7 @@ public static Builder builder(PathType pathType) { final ImmutableSet attributeViews; final ImmutableSet attributeProviders; final ImmutableMap defaultAttributeValues; + final FileTimeSource fileTimeSource; // Watch service final WatchServiceConfiguration watchServiceConfig; @@ -261,6 +263,7 @@ private Configuration(Builder builder) { builder.defaultAttributeValues == null ? ImmutableMap.of() : ImmutableMap.copyOf(builder.defaultAttributeValues); + this.fileTimeSource = builder.fileTimeSource; this.watchServiceConfig = builder.watchServiceConfig; this.roots = builder.roots; this.workingDirectory = builder.workingDirectory; @@ -301,6 +304,7 @@ public String toString() { if (!defaultAttributeValues.isEmpty()) { helper.add("defaultAttributeValues", defaultAttributeValues); } + helper.add("fileTimeSource", fileTimeSource); if (watchServiceConfig != WatchServiceConfiguration.DEFAULT) { helper.add("watchServiceConfig", watchServiceConfig); } @@ -341,6 +345,7 @@ public static final class Builder { private ImmutableSet attributeViews = ImmutableSet.of(); private Set attributeProviders = null; private Map defaultAttributeValues; + private FileTimeSource fileTimeSource = SystemFileTimeSource.INSTANCE; // Watch service private WatchServiceConfiguration watchServiceConfig = WatchServiceConfiguration.DEFAULT; @@ -372,6 +377,7 @@ private Builder(Configuration configuration) { configuration.defaultAttributeValues.isEmpty() ? null : new HashMap<>(configuration.defaultAttributeValues); + this.fileTimeSource = configuration.fileTimeSource; this.watchServiceConfig = configuration.watchServiceConfig; this.roots = configuration.roots; this.workingDirectory = configuration.workingDirectory; @@ -383,6 +389,7 @@ private Builder(Configuration configuration) { * Sets the normalizations that will be applied to the display form of filenames. The display * form is used in the {@code toString()} of {@code Path} objects. */ + @CanIgnoreReturnValue public Builder setNameDisplayNormalization(PathNormalization first, PathNormalization... more) { this.nameDisplayNormalization = checkNormalizations(Lists.asList(first, more)); return this; @@ -393,6 +400,7 @@ public Builder setNameDisplayNormalization(PathNormalization first, PathNormaliz * file system. The canonical form is used to determine the equality of two filenames when * performing a file lookup. */ + @CanIgnoreReturnValue public Builder setNameCanonicalNormalization( PathNormalization first, PathNormalization... more) { this.nameCanonicalNormalization = checkNormalizations(Lists.asList(first, more)); @@ -447,6 +455,7 @@ private static void checkNormalizationNotSet( * *

The default is false. */ + @CanIgnoreReturnValue public Builder setPathEqualityUsesCanonicalForm(boolean useCanonicalForm) { this.pathEqualityUsesCanonicalForm = useCanonicalForm; return this; @@ -458,6 +467,7 @@ public Builder setPathEqualityUsesCanonicalForm(boolean useCanonicalForm) { * *

The default is 8192 bytes (8 KB). */ + @CanIgnoreReturnValue public Builder setBlockSize(int blockSize) { checkArgument(blockSize > 0, "blockSize (%s) must be positive", blockSize); this.blockSize = blockSize; @@ -478,6 +488,7 @@ public Builder setBlockSize(int blockSize) { * *

The default is 4 GB. */ + @CanIgnoreReturnValue public Builder setMaxSize(long maxSize) { checkArgument(maxSize > 0, "maxSize (%s) must be positive", maxSize); this.maxSize = maxSize; @@ -497,6 +508,7 @@ public Builder setMaxSize(long maxSize) { *

Like the maximum size, the actual value will be the closest multiple of the block size * that is less than or equal to the given size. */ + @CanIgnoreReturnValue public Builder setMaxCacheSize(long maxCacheSize) { checkArgument(maxCacheSize >= 0, "maxCacheSize (%s) may not be negative", maxCacheSize); this.maxCacheSize = maxCacheSize; @@ -553,12 +565,14 @@ public Builder setMaxCacheSize(long maxCacheSize) { *

If any other views should be supported, attribute providers for those views must be * {@linkplain #addAttributeProvider(AttributeProvider) added}. */ + @CanIgnoreReturnValue public Builder setAttributeViews(String first, String... more) { this.attributeViews = ImmutableSet.copyOf(Lists.asList(first, more)); return this; } /** Adds an attribute provider for a custom view for the file system to support. */ + @CanIgnoreReturnValue public Builder addAttributeProvider(AttributeProvider provider) { checkNotNull(provider); if (attributeProviders == null) { @@ -614,6 +628,7 @@ public Builder addAttributeProvider(AttributeProvider provider) { * * */ + @CanIgnoreReturnValue public Builder setDefaultAttributeValue(String attribute, Object value) { checkArgument( ATTRIBUTE_PATTERN.matcher(attribute).matches(), @@ -631,6 +646,17 @@ public Builder setDefaultAttributeValue(String attribute, Object value) { private static final Pattern ATTRIBUTE_PATTERN = Pattern.compile("[^:]+:[^:]+"); + /** + * Sets the {@link FileTimeSource} that will supply the current time for this file system. + * + * @since 1.3 + */ + @CanIgnoreReturnValue + public Builder setFileTimeSource(FileTimeSource source) { + this.fileTimeSource = checkNotNull(source); + return this; + } + /** * Sets the roots for the file system. * @@ -639,6 +665,7 @@ public Builder setDefaultAttributeValue(String attribute, Object value) { * @throws IllegalArgumentException if any of the given roots is a valid path for this builder's * path type but is not a root path with no name elements */ + @CanIgnoreReturnValue public Builder setRoots(String first, String... more) { List roots = Lists.asList(first, more); for (String root : roots) { @@ -657,6 +684,7 @@ public Builder setRoots(String first, String... more) { * @throws IllegalArgumentException if the given path is valid for this builder's path type but * is not an absolute path */ + @CanIgnoreReturnValue public Builder setWorkingDirectory(String workingDirectory) { PathType.ParseResult parseResult = pathType.parsePath(workingDirectory); checkArgument( @@ -671,6 +699,7 @@ public Builder setWorkingDirectory(String workingDirectory) { * Sets the given features to be supported by the file system. Any features not provided here * will not be supported. */ + @CanIgnoreReturnValue public Builder setSupportedFeatures(Feature... features) { supportedFeatures = Sets.immutableEnumSet(Arrays.asList(features)); return this; @@ -682,6 +711,7 @@ public Builder setSupportedFeatures(Feature... features) { * * @since 1.1 */ + @CanIgnoreReturnValue public Builder setWatchServiceConfiguration(WatchServiceConfiguration config) { this.watchServiceConfig = checkNotNull(config); return this; diff --git a/jimfs/src/main/java/com/google/common/jimfs/Directory.java b/jimfs/src/main/java/com/google/common/jimfs/Directory.java index aaab83b6..83093e69 100644 --- a/jimfs/src/main/java/com/google/common/jimfs/Directory.java +++ b/jimfs/src/main/java/com/google/common/jimfs/Directory.java @@ -19,6 +19,7 @@ import com.google.common.annotations.VisibleForTesting; import com.google.common.collect.AbstractIterator; import com.google.common.collect.ImmutableSortedSet; +import java.nio.file.attribute.FileTime; import java.util.Iterator; import org.checkerframework.checker.nullness.compatqual.NullableDecl; @@ -32,23 +33,23 @@ final class Directory extends File implements Iterable { /** The entry linking to this directory in its parent directory. */ private DirectoryEntry entryInParent; - /** Creates a new normal directory with the given ID. */ - public static Directory create(int id) { - return new Directory(id); + /** Creates a new normal directory with the given ID and creation time. */ + public static Directory create(int id, FileTime creationTime) { + return new Directory(id, creationTime); } - /** Creates a new root directory with the given ID and name. */ - public static Directory createRoot(int id, Name name) { - return new Directory(id, name); + /** Creates a new root directory with the given ID, creation time, and name. */ + public static Directory createRoot(int id, FileTime creationTime, Name name) { + return new Directory(id, creationTime, name); } - private Directory(int id) { - super(id); + private Directory(int id, FileTime creationTime) { + super(id, creationTime); put(new DirectoryEntry(this, Name.SELF, this)); } - private Directory(int id, Name rootName) { - this(id); + private Directory(int id, FileTime creationTime, Name rootName) { + this(id, creationTime); linked(new DirectoryEntry(this, rootName, this)); } @@ -57,8 +58,8 @@ private Directory(int id, Name rootName) { * this directory. */ @Override - Directory copyWithoutContent(int id) { - return Directory.create(id); + Directory copyWithoutContent(int id, FileTime creationTime) { + return Directory.create(id, creationTime); } /** diff --git a/jimfs/src/main/java/com/google/common/jimfs/File.java b/jimfs/src/main/java/com/google/common/jimfs/File.java index ce1cc001..f363ac97 100644 --- a/jimfs/src/main/java/com/google/common/jimfs/File.java +++ b/jimfs/src/main/java/com/google/common/jimfs/File.java @@ -24,6 +24,7 @@ import com.google.common.collect.ImmutableSet; import com.google.common.collect.Table; import java.io.IOException; +import java.nio.file.attribute.FileTime; import java.util.concurrent.locks.ReadWriteLock; import org.checkerframework.checker.nullness.compatqual.NullableDecl; @@ -38,20 +39,19 @@ public abstract class File { private int links; - private long creationTime; - private long lastAccessTime; - private long lastModifiedTime; + private FileTime creationTime; + private FileTime lastAccessTime; + private FileTime lastModifiedTime; @NullableDecl // null when only the basic view is used (default) private Table attributes; - File(int id) { + File(int id, FileTime creationTime) { this.id = id; - long now = System.currentTimeMillis(); // TODO(cgdecker): Use a Clock - this.creationTime = now; - this.lastAccessTime = now; - this.lastModifiedTime = now; + this.creationTime = creationTime; + this.lastAccessTime = creationTime; + this.lastModifiedTime = creationTime; } /** Returns the ID of this file. */ @@ -83,11 +83,11 @@ public final boolean isSymbolicLink() { } /** - * Creates a new file of the same type as this file with the given ID. Does not copy the content - * of this file unless the cost of copying the content is minimal. This is because this method is - * called with a hold on the file system's lock. + * Creates a new file of the same type as this file with the given ID and creation time. Does not + * copy the content of this file unless the cost of copying the content is minimal. This is + * because this method is called with a hold on the file system's lock. */ - abstract File copyWithoutContent(int id); + abstract File copyWithoutContent(int id, FileTime creationTime); /** * Copies the content of this file to the given file. The given file must be the same type of file @@ -155,48 +155,35 @@ final synchronized void decrementLinkCount() { } /** Gets the creation time of the file. */ - @SuppressWarnings("GoodTime") // should return a java.time.Instant - public final synchronized long getCreationTime() { + public final synchronized FileTime getCreationTime() { return creationTime; } /** Gets the last access time of the file. */ - @SuppressWarnings("GoodTime") // should return a java.time.Instant - public final synchronized long getLastAccessTime() { + public final synchronized FileTime getLastAccessTime() { return lastAccessTime; } /** Gets the last modified time of the file. */ - @SuppressWarnings("GoodTime") // should return a java.time.Instant - public final synchronized long getLastModifiedTime() { + public final synchronized FileTime getLastModifiedTime() { return lastModifiedTime; } /** Sets the creation time of the file. */ - final synchronized void setCreationTime(long creationTime) { + final synchronized void setCreationTime(FileTime creationTime) { this.creationTime = creationTime; } /** Sets the last access time of the file. */ - final synchronized void setLastAccessTime(long lastAccessTime) { + final synchronized void setLastAccessTime(FileTime lastAccessTime) { this.lastAccessTime = lastAccessTime; } /** Sets the last modified time of the file. */ - final synchronized void setLastModifiedTime(long lastModifiedTime) { + final synchronized void setLastModifiedTime(FileTime lastModifiedTime) { this.lastModifiedTime = lastModifiedTime; } - /** Sets the last access time of the file to the current time. */ - final void updateAccessTime() { - setLastAccessTime(System.currentTimeMillis()); - } - - /** Sets the last modified time of the file to the current time. */ - final void updateModifiedTime() { - setLastModifiedTime(System.currentTimeMillis()); - } - /** * Returns the names of the attributes contained in the given attribute view in the file's * attributes table. @@ -252,7 +239,7 @@ final synchronized void copyBasicAttributes(File target) { } private synchronized void setFileTimes( - long creationTime, long lastModifiedTime, long lastAccessTime) { + FileTime creationTime, FileTime lastModifiedTime, FileTime lastAccessTime) { this.creationTime = creationTime; this.lastModifiedTime = lastModifiedTime; this.lastAccessTime = lastAccessTime; diff --git a/jimfs/src/main/java/com/google/common/jimfs/FileFactory.java b/jimfs/src/main/java/com/google/common/jimfs/FileFactory.java index e26d41de..b4363937 100644 --- a/jimfs/src/main/java/com/google/common/jimfs/FileFactory.java +++ b/jimfs/src/main/java/com/google/common/jimfs/FileFactory.java @@ -33,10 +33,14 @@ final class FileFactory { private final AtomicInteger idGenerator = new AtomicInteger(); private final HeapDisk disk; + private final FileTimeSource fileTimeSource; - /** Creates a new file factory using the given disk for regular files. */ - public FileFactory(HeapDisk disk) { + /** + * Creates a new file factory using the given disk for regular files and the given time source. + */ + public FileFactory(HeapDisk disk, FileTimeSource fileTimeSource) { this.disk = checkNotNull(disk); + this.fileTimeSource = checkNotNull(fileTimeSource); } private int nextFileId() { @@ -45,29 +49,29 @@ private int nextFileId() { /** Creates a new directory. */ public Directory createDirectory() { - return Directory.create(nextFileId()); + return Directory.create(nextFileId(), fileTimeSource.now()); } /** Creates a new root directory with the given name. */ public Directory createRootDirectory(Name name) { - return Directory.createRoot(nextFileId(), name); + return Directory.createRoot(nextFileId(), fileTimeSource.now(), name); } /** Creates a new regular file. */ @VisibleForTesting RegularFile createRegularFile() { - return RegularFile.create(nextFileId(), disk); + return RegularFile.create(nextFileId(), fileTimeSource.now(), disk); } /** Creates a new symbolic link referencing the given target path. */ @VisibleForTesting SymbolicLink createSymbolicLink(JimfsPath target) { - return SymbolicLink.create(nextFileId(), target); + return SymbolicLink.create(nextFileId(), fileTimeSource.now(), target); } /** Creates and returns a copy of the given file. */ public File copyWithoutContent(File file) throws IOException { - return file.copyWithoutContent(nextFileId()); + return file.copyWithoutContent(nextFileId(), fileTimeSource.now()); } // suppliers to act as file creation callbacks diff --git a/jimfs/src/main/java/com/google/common/jimfs/FileSystemState.java b/jimfs/src/main/java/com/google/common/jimfs/FileSystemState.java index f15a5ff0..e57a5f13 100644 --- a/jimfs/src/main/java/com/google/common/jimfs/FileSystemState.java +++ b/jimfs/src/main/java/com/google/common/jimfs/FileSystemState.java @@ -23,6 +23,7 @@ import java.io.Closeable; import java.io.IOException; import java.nio.file.ClosedFileSystemException; +import java.nio.file.attribute.FileTime; import java.util.Set; import java.util.concurrent.atomic.AtomicBoolean; import java.util.concurrent.atomic.AtomicInteger; @@ -37,6 +38,7 @@ final class FileSystemState implements Closeable { private final Set resources = Sets.newConcurrentHashSet(); + private final FileTimeSource fileTimeSource; private final Runnable onClose; private final AtomicBoolean open = new AtomicBoolean(true); @@ -44,7 +46,8 @@ final class FileSystemState implements Closeable { /** Count of resources currently in the process of being registered. */ private final AtomicInteger registering = new AtomicInteger(); - FileSystemState(Runnable onClose) { + FileSystemState(FileTimeSource fileTimeSource, Runnable onClose) { + this.fileTimeSource = checkNotNull(fileTimeSource); this.onClose = checkNotNull(onClose); } @@ -90,6 +93,11 @@ public void unregister(Closeable resource) { resources.remove(resource); } + /** Returns the current {@link FileTime}. */ + public FileTime now() { + return fileTimeSource.now(); + } + /** * Closes the file system, runs the {@code onClose} callback and closes all registered resources. */ diff --git a/jimfs/src/main/java/com/google/common/jimfs/FileSystemView.java b/jimfs/src/main/java/com/google/common/jimfs/FileSystemView.java index 62e8739c..a27c4e45 100644 --- a/jimfs/src/main/java/com/google/common/jimfs/FileSystemView.java +++ b/jimfs/src/main/java/com/google/common/jimfs/FileSystemView.java @@ -42,6 +42,7 @@ import java.nio.file.attribute.BasicFileAttributes; import java.nio.file.attribute.FileAttribute; import java.nio.file.attribute.FileAttributeView; +import java.nio.file.attribute.FileTime; import java.util.ArrayList; import java.util.List; import java.util.Objects; @@ -86,6 +87,10 @@ public FileSystemState state() { return store.state(); } + private FileTime now() { + return state().now(); + } + /** * Returns the path of the working directory at the time this view was created. Does not reflect * changes to the path caused by the directory being moved. @@ -135,7 +140,7 @@ public ImmutableSortedSet snapshotWorkingDirectoryEntries() { store.readLock().lock(); try { ImmutableSortedSet names = workingDirectory.snapshot(); - workingDirectory.updateAccessTime(); + workingDirectory.setLastAccessTime(now()); return names; } finally { store.readLock().unlock(); @@ -146,8 +151,8 @@ public ImmutableSortedSet snapshotWorkingDirectoryEntries() { * Returns a snapshot mapping the names of each file in the directory at the given path to the * last modified time of that file. */ - public ImmutableMap snapshotModifiedTimes(JimfsPath path) throws IOException { - ImmutableMap.Builder modifiedTimes = ImmutableMap.builder(); + public ImmutableMap snapshotModifiedTimes(JimfsPath path) throws IOException { + ImmutableMap.Builder modifiedTimes = ImmutableMap.builder(); store.readLock().lock(); try { @@ -271,7 +276,7 @@ private File createFile( File newFile = fileCreator.get(); store.setInitialAttributes(newFile, attrs); parent.link(path.name(), newFile); - parent.updateModifiedTime(); + parent.setLastModifiedTime(now()); return newFile; } finally { store.writeLock().unlock(); @@ -423,7 +428,7 @@ public void link(JimfsPath link, FileSystemView existingView, JimfsPath existing lookUp(link, Options.NOFOLLOW_LINKS).requireDoesNotExist(link).directory(); linkParent.link(linkName, existingFile); - linkParent.updateModifiedTime(); + linkParent.setLastModifiedTime(now()); } finally { store.writeLock().unlock(); } @@ -448,7 +453,7 @@ private void delete(DirectoryEntry entry, DeleteMode deleteMode, JimfsPath pathF checkDeletable(file, deleteMode, pathForException); parent.unlink(entry.name()); - parent.updateModifiedTime(); + parent.setLastModifiedTime(now()); file.deleted(); } @@ -545,10 +550,10 @@ public void copy( if (move && sameFileSystem) { // Real move on the same file system. sourceParent.unlink(source.name()); - sourceParent.updateModifiedTime(); + sourceParent.setLastModifiedTime(now()); destParent.link(dest.name(), sourceFile); - destParent.updateModifiedTime(); + destParent.setLastModifiedTime(now()); } else { // Doing a copy OR a move to a different file system, which must be implemented by copy and // delete. @@ -571,7 +576,7 @@ public void copy( // Copy the file, but don't copy its content while we're holding the file store locks. copyFile = destView.store.copyWithoutContent(sourceFile, attributeCopyOption); destParent.link(dest.name(), copyFile); - destParent.updateModifiedTime(); + destParent.setLastModifiedTime(now()); // In order for the copy to be atomic (not strictly necessary, but seems preferable since // we can) lock both source and copy files before leaving the file store locks. This diff --git a/jimfs/src/main/java/com/google/common/jimfs/FileTimeSource.java b/jimfs/src/main/java/com/google/common/jimfs/FileTimeSource.java new file mode 100644 index 00000000..bbc12928 --- /dev/null +++ b/jimfs/src/main/java/com/google/common/jimfs/FileTimeSource.java @@ -0,0 +1,29 @@ +/* + * Copyright 2021 Google Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.common.jimfs; + +import java.nio.file.attribute.FileTime; + +/** + * A source of the current time as a {@link FileTime}, to enable fake time sources for testing. + * + * @since 1.3 + */ +public interface FileTimeSource { + /** Returns the current time according to this source as a {@link FileTime}. */ + FileTime now(); +} diff --git a/jimfs/src/main/java/com/google/common/jimfs/HeapDisk.java b/jimfs/src/main/java/com/google/common/jimfs/HeapDisk.java index abfb6177..81328698 100644 --- a/jimfs/src/main/java/com/google/common/jimfs/HeapDisk.java +++ b/jimfs/src/main/java/com/google/common/jimfs/HeapDisk.java @@ -83,7 +83,14 @@ private static int toBlockCount(long size, int blockSize) { } private RegularFile createBlockCache(int maxCachedBlockCount) { - return new RegularFile(-1, this, new byte[Math.min(maxCachedBlockCount, 8192)][], 0, 0); + // This file is just for holding blocks so things like the creation time don't matter + return new RegularFile( + -1, + SystemFileTimeSource.INSTANCE.now(), + this, + new byte[Math.min(maxCachedBlockCount, 8192)][], + 0, + 0); } /** Returns the size of blocks created by this disk. */ diff --git a/jimfs/src/main/java/com/google/common/jimfs/JimfsFileChannel.java b/jimfs/src/main/java/com/google/common/jimfs/JimfsFileChannel.java index 95863cc5..57240bfd 100644 --- a/jimfs/src/main/java/com/google/common/jimfs/JimfsFileChannel.java +++ b/jimfs/src/main/java/com/google/common/jimfs/JimfsFileChannel.java @@ -158,7 +158,7 @@ public int read(ByteBuffer dst) throws IOException { if (read != -1) { position += read; } - file.updateAccessTime(); + file.setLastAccessTime(fileSystemState.now()); completed = true; } finally { file.readLock().unlock(); @@ -195,7 +195,7 @@ public long read(ByteBuffer[] dsts, int offset, int length) throws IOException { if (read != -1) { position += read; } - file.updateAccessTime(); + file.setLastAccessTime(fileSystemState.now()); completed = true; } finally { file.readLock().unlock(); @@ -228,7 +228,7 @@ public int read(ByteBuffer dst, long position) throws IOException { file.readLock().lockInterruptibly(); try { read = file.read(position, dst); - file.updateAccessTime(); + file.setLastAccessTime(fileSystemState.now()); completed = true; } finally { file.readLock().unlock(); @@ -263,7 +263,7 @@ public int write(ByteBuffer src) throws IOException { } written = file.write(position, src); position += written; - file.updateModifiedTime(); + file.setLastModifiedTime(fileSystemState.now()); completed = true; } finally { file.writeLock().unlock(); @@ -301,7 +301,7 @@ public long write(ByteBuffer[] srcs, int offset, int length) throws IOException } written = file.write(position, buffers); position += written; - file.updateModifiedTime(); + file.setLastModifiedTime(fileSystemState.now()); completed = true; } finally { file.writeLock().unlock(); @@ -339,7 +339,7 @@ public int write(ByteBuffer src, long position) throws IOException { position = file.sizeWithoutLocking(); written = file.write(position, src); this.position = position + written; - file.updateModifiedTime(); + file.setLastModifiedTime(fileSystemState.now()); completed = true; } finally { file.writeLock().unlock(); @@ -360,7 +360,7 @@ public int write(ByteBuffer src, long position) throws IOException { file.writeLock().lockInterruptibly(); try { written = file.write(position, src); - file.updateModifiedTime(); + file.setLastModifiedTime(fileSystemState.now()); completed = true; } finally { file.writeLock().unlock(); @@ -465,7 +465,7 @@ public FileChannel truncate(long size) throws IOException { if (position > size) { position = size; } - file.updateModifiedTime(); + file.setLastModifiedTime(fileSystemState.now()); completed = true; } finally { file.writeLock().unlock(); @@ -514,7 +514,7 @@ public long transferTo(long position, long count, WritableByteChannel target) th file.readLock().lockInterruptibly(); try { transferred = file.transferTo(position, count, target); - file.updateAccessTime(); + file.setLastAccessTime(fileSystemState.now()); completed = true; } finally { file.readLock().unlock(); @@ -552,7 +552,7 @@ public long transferFrom(ReadableByteChannel src, long position, long count) thr position = file.sizeWithoutLocking(); transferred = file.transferFrom(src, position, count); this.position = position + transferred; - file.updateModifiedTime(); + file.setLastModifiedTime(fileSystemState.now()); completed = true; } finally { file.writeLock().unlock(); @@ -573,7 +573,7 @@ public long transferFrom(ReadableByteChannel src, long position, long count) thr file.writeLock().lockInterruptibly(); try { transferred = file.transferFrom(src, position, count); - file.updateModifiedTime(); + file.setLastModifiedTime(fileSystemState.now()); completed = true; } finally { file.writeLock().unlock(); diff --git a/jimfs/src/main/java/com/google/common/jimfs/JimfsFileSystems.java b/jimfs/src/main/java/com/google/common/jimfs/JimfsFileSystems.java index bd36c8f2..7143dae6 100644 --- a/jimfs/src/main/java/com/google/common/jimfs/JimfsFileSystems.java +++ b/jimfs/src/main/java/com/google/common/jimfs/JimfsFileSystems.java @@ -68,7 +68,8 @@ private static Runnable removeFileSystemRunnable(URI uri) { public static JimfsFileSystem newFileSystem( JimfsFileSystemProvider provider, URI uri, Configuration config) throws IOException { PathService pathService = new PathService(config); - FileSystemState state = new FileSystemState(removeFileSystemRunnable(uri)); + FileSystemState state = + new FileSystemState(config.fileTimeSource, removeFileSystemRunnable(uri)); JimfsFileStore fileStore = createFileStore(config, pathService, state); FileSystemView defaultView = createDefaultView(config, fileStore, pathService); @@ -87,7 +88,7 @@ private static JimfsFileStore createFileStore( AttributeService attributeService = new AttributeService(config); HeapDisk disk = new HeapDisk(config); - FileFactory fileFactory = new FileFactory(disk); + FileFactory fileFactory = new FileFactory(disk, config.fileTimeSource); Map roots = new HashMap<>(); diff --git a/jimfs/src/main/java/com/google/common/jimfs/JimfsInputStream.java b/jimfs/src/main/java/com/google/common/jimfs/JimfsInputStream.java index 750530c5..41bcc911 100644 --- a/jimfs/src/main/java/com/google/common/jimfs/JimfsInputStream.java +++ b/jimfs/src/main/java/com/google/common/jimfs/JimfsInputStream.java @@ -63,7 +63,7 @@ public synchronized int read() throws IOException { if (b == -1) { finished = true; } else { - file.updateAccessTime(); + file.setLastAccessTime(fileSystemState.now()); } return b; } finally { @@ -97,7 +97,7 @@ private synchronized int readInternal(byte[] b, int off, int len) throws IOExcep pos += read; } - file.updateAccessTime(); + file.setLastAccessTime(fileSystemState.now()); return read; } finally { file.readLock().unlock(); diff --git a/jimfs/src/main/java/com/google/common/jimfs/JimfsOutputStream.java b/jimfs/src/main/java/com/google/common/jimfs/JimfsOutputStream.java index 0b88046e..654857e4 100644 --- a/jimfs/src/main/java/com/google/common/jimfs/JimfsOutputStream.java +++ b/jimfs/src/main/java/com/google/common/jimfs/JimfsOutputStream.java @@ -58,7 +58,7 @@ public synchronized void write(int b) throws IOException { } file.write(pos++, (byte) b); - file.updateModifiedTime(); + file.setLastModifiedTime(fileSystemState.now()); } finally { file.writeLock().unlock(); } @@ -85,7 +85,7 @@ private synchronized void writeInternal(byte[] b, int off, int len) throws IOExc } pos += file.write(pos, b, off, len); - file.updateModifiedTime(); + file.setLastModifiedTime(fileSystemState.now()); } finally { file.writeLock().unlock(); } diff --git a/jimfs/src/main/java/com/google/common/jimfs/JimfsPath.java b/jimfs/src/main/java/com/google/common/jimfs/JimfsPath.java index 73a3b989..a9a39fea 100644 --- a/jimfs/src/main/java/com/google/common/jimfs/JimfsPath.java +++ b/jimfs/src/main/java/com/google/common/jimfs/JimfsPath.java @@ -49,6 +49,7 @@ * * @author Colin Decker */ +@SuppressWarnings("ShouldNotSubclass") // I know what I'm doing I promise final class JimfsPath implements Path { @NullableDecl private final Name root; diff --git a/jimfs/src/main/java/com/google/common/jimfs/PollingWatchService.java b/jimfs/src/main/java/com/google/common/jimfs/PollingWatchService.java index d1f5b898..b9438834 100644 --- a/jimfs/src/main/java/com/google/common/jimfs/PollingWatchService.java +++ b/jimfs/src/main/java/com/google/common/jimfs/PollingWatchService.java @@ -31,6 +31,7 @@ import java.nio.file.WatchEvent; import java.nio.file.WatchService; import java.nio.file.Watchable; +import java.nio.file.attribute.FileTime; import java.util.Map; import java.util.Set; import java.util.concurrent.ConcurrentHashMap; @@ -198,9 +199,9 @@ private Snapshot takeSnapshot(JimfsPath path) throws IOException { private final class Snapshot { /** Maps directory entry names to last modified times. */ - private final ImmutableMap modifiedTimes; + private final ImmutableMap modifiedTimes; - Snapshot(Map modifiedTimes) { + Snapshot(Map modifiedTimes) { this.modifiedTimes = ImmutableMap.copyOf(modifiedTimes); } @@ -232,11 +233,11 @@ boolean postChanges(Snapshot newState, Key key) { } if (key.subscribesTo(ENTRY_MODIFY)) { - for (Map.Entry entry : modifiedTimes.entrySet()) { + for (Map.Entry entry : modifiedTimes.entrySet()) { Name name = entry.getKey(); - Long modifiedTime = entry.getValue(); + FileTime modifiedTime = entry.getValue(); - Long newModifiedTime = newState.modifiedTimes.get(name); + FileTime newModifiedTime = newState.modifiedTimes.get(name); if (newModifiedTime != null && !modifiedTime.equals(newModifiedTime)) { key.post(new Event<>(ENTRY_MODIFY, 1, pathService.createFileName(name))); changesPosted = true; diff --git a/jimfs/src/main/java/com/google/common/jimfs/RegularFile.java b/jimfs/src/main/java/com/google/common/jimfs/RegularFile.java index 20c9f4b8..171d97e8 100644 --- a/jimfs/src/main/java/com/google/common/jimfs/RegularFile.java +++ b/jimfs/src/main/java/com/google/common/jimfs/RegularFile.java @@ -28,6 +28,7 @@ import java.nio.channels.FileChannel; import java.nio.channels.ReadableByteChannel; import java.nio.channels.WritableByteChannel; +import java.nio.file.attribute.FileTime; import java.util.Arrays; import java.util.concurrent.locks.Lock; import java.util.concurrent.locks.ReadWriteLock; @@ -53,12 +54,18 @@ final class RegularFile extends File { private long size; /** Creates a new regular file with the given ID and using the given disk. */ - public static RegularFile create(int id, HeapDisk disk) { - return new RegularFile(id, disk, new byte[32][], 0, 0); - } - - RegularFile(int id, HeapDisk disk, byte[][] blocks, int blockCount, long size) { - super(id); + public static RegularFile create(int id, FileTime creationTime, HeapDisk disk) { + return new RegularFile(id, creationTime, disk, new byte[32][], 0, 0); + } + + RegularFile( + int id, + FileTime creationTime, + HeapDisk disk, + byte[][] blocks, + int blockCount, + long size) { + super(id, creationTime); this.disk = checkNotNull(disk); this.blocks = checkNotNull(blocks); this.blockCount = blockCount; @@ -150,9 +157,9 @@ public long size() { } @Override - RegularFile copyWithoutContent(int id) { + RegularFile copyWithoutContent(int id, FileTime creationTime) { byte[][] copyBlocks = new byte[Math.max(blockCount * 2, 32)][]; - return new RegularFile(id, disk, copyBlocks, 0, size); + return new RegularFile(id, creationTime, disk, copyBlocks, 0, size); } @Override diff --git a/jimfs/src/main/java/com/google/common/jimfs/SymbolicLink.java b/jimfs/src/main/java/com/google/common/jimfs/SymbolicLink.java index 29f4aa55..c563d6a4 100644 --- a/jimfs/src/main/java/com/google/common/jimfs/SymbolicLink.java +++ b/jimfs/src/main/java/com/google/common/jimfs/SymbolicLink.java @@ -18,6 +18,8 @@ import static com.google.common.base.Preconditions.checkNotNull; +import java.nio.file.attribute.FileTime; + /** * A symbolic link file, containing a {@linkplain JimfsPath path}. * @@ -28,12 +30,12 @@ final class SymbolicLink extends File { private final JimfsPath target; /** Creates a new symbolic link with the given ID and target. */ - public static SymbolicLink create(int id, JimfsPath target) { - return new SymbolicLink(id, target); + public static SymbolicLink create(int id, FileTime creationTime, JimfsPath target) { + return new SymbolicLink(id, creationTime, target); } - private SymbolicLink(int id, JimfsPath target) { - super(id); + private SymbolicLink(int id, FileTime creationTime, JimfsPath target) { + super(id, creationTime); this.target = checkNotNull(target); } @@ -43,7 +45,7 @@ JimfsPath target() { } @Override - File copyWithoutContent(int id) { - return SymbolicLink.create(id, target); + File copyWithoutContent(int id, FileTime creationTime) { + return SymbolicLink.create(id, creationTime, target); } } diff --git a/jimfs/src/main/java/com/google/common/jimfs/SystemFileTimeSource.java b/jimfs/src/main/java/com/google/common/jimfs/SystemFileTimeSource.java new file mode 100644 index 00000000..47635b81 --- /dev/null +++ b/jimfs/src/main/java/com/google/common/jimfs/SystemFileTimeSource.java @@ -0,0 +1,38 @@ +/* + * Copyright 2021 Google Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.common.jimfs; + +import java.nio.file.attribute.FileTime; + +/** Implementation of of {@link FileTimeSource} that gets the current time from the system. */ +enum SystemFileTimeSource implements FileTimeSource { + INSTANCE; + + // If/when Jimfs requires Java 8 this should use the FileTime factory that takes an Instant as + // that has the potential to be more precise. At that point, we should make a similar change to + // FakeFileTimeSource. + + @Override + public FileTime now() { + return FileTime.fromMillis(System.currentTimeMillis()); + } + + @Override + public String toString() { + return "SystemFileTimeSource"; + } +} diff --git a/jimfs/src/main/java/com/google/common/jimfs/UnixAttributeProvider.java b/jimfs/src/main/java/com/google/common/jimfs/UnixAttributeProvider.java index 4d1f5082..b1e3b5cf 100644 --- a/jimfs/src/main/java/com/google/common/jimfs/UnixAttributeProvider.java +++ b/jimfs/src/main/java/com/google/common/jimfs/UnixAttributeProvider.java @@ -21,7 +21,6 @@ import com.google.common.collect.ImmutableMap; import com.google.common.collect.ImmutableSet; import java.nio.file.attribute.FileAttributeView; -import java.nio.file.attribute.FileTime; import java.nio.file.attribute.GroupPrincipal; import java.nio.file.attribute.PosixFilePermission; import java.nio.file.attribute.UserPrincipal; @@ -111,7 +110,7 @@ public Object get(File file, String attribute) { (Set) file.getAttribute("posix", "permissions"); return toMode(permissions); case "ctime": - return FileTime.fromMillis(file.getCreationTime()); + return file.getCreationTime(); case "rdev": return 0L; case "dev": diff --git a/jimfs/src/test/java/com/google/common/jimfs/AbstractAttributeProviderTest.java b/jimfs/src/test/java/com/google/common/jimfs/AbstractAttributeProviderTest.java index 7e2bdf95..1b9a639b 100644 --- a/jimfs/src/test/java/com/google/common/jimfs/AbstractAttributeProviderTest.java +++ b/jimfs/src/test/java/com/google/common/jimfs/AbstractAttributeProviderTest.java @@ -36,6 +36,8 @@ public abstract class AbstractAttributeProviderTest

protected static final ImmutableMap NO_INHERITED_VIEWS = ImmutableMap.of(); + protected final FakeFileTimeSource fileTimeSource = new FakeFileTimeSource(); + protected P provider; protected File file; @@ -57,7 +59,7 @@ public File lookup() throws IOException { @Before public void setUp() { this.provider = createProvider(); - this.file = Directory.create(0); + this.file = Directory.create(0, fileTimeSource.now()); Map defaultValues = createDefaultValues(); setDefaultValues(file, provider, defaultValues); diff --git a/jimfs/src/test/java/com/google/common/jimfs/AttributeServiceTest.java b/jimfs/src/test/java/com/google/common/jimfs/AttributeServiceTest.java index 80b01910..c7a12f4f 100644 --- a/jimfs/src/test/java/com/google/common/jimfs/AttributeServiceTest.java +++ b/jimfs/src/test/java/com/google/common/jimfs/AttributeServiceTest.java @@ -43,6 +43,8 @@ public class AttributeServiceTest { private AttributeService service; + private final FakeFileTimeSource fileTimeSource = new FakeFileTimeSource(); + @Before public void setUp() { ImmutableSet providers = @@ -53,6 +55,10 @@ public void setUp() { service = new AttributeService(providers, ImmutableMap.of()); } + private File createFile() { + return Directory.create(0, fileTimeSource.now()); + } + @Test public void testSupportedFileAttributeViews() { assertThat(service.supportedFileAttributeViews()) @@ -68,7 +74,7 @@ public void testSupportsFileAttributeView() { @Test public void testSetInitialAttributes() { - File file = Directory.create(0); + File file = createFile(); service.setInitialAttributes(file); assertThat(file.getAttributeNames("test")).containsExactly("bar", "baz"); @@ -81,7 +87,7 @@ public void testSetInitialAttributes() { @Test public void testGetAttribute() { - File file = Directory.create(0); + File file = createFile(); service.setInitialAttributes(file); assertThat(service.getAttribute(file, "test:foo")).isEqualTo("hello"); @@ -93,7 +99,7 @@ public void testGetAttribute() { @Test public void testGetAttribute_fromInheritedProvider() { - File file = Directory.create(0); + File file = createFile(); assertThat(service.getAttribute(file, "test:isRegularFile")).isEqualTo(false); assertThat(service.getAttribute(file, "test:isDirectory")).isEqualTo(true); assertThat(service.getAttribute(file, "test", "fileKey")).isEqualTo(0); @@ -101,7 +107,7 @@ public void testGetAttribute_fromInheritedProvider() { @Test public void testGetAttribute_failsForAttributesNotDefinedByProvider() { - File file = Directory.create(0); + File file = createFile(); try { service.getAttribute(file, "test:blah"); fail(); @@ -118,7 +124,7 @@ public void testGetAttribute_failsForAttributesNotDefinedByProvider() { @Test public void testSetAttribute() { - File file = Directory.create(0); + File file = createFile(); service.setAttribute(file, "test:bar", 10L, false); assertThat(file.getAttribute("test", "bar")).isEqualTo(10L); @@ -128,7 +134,7 @@ public void testSetAttribute() { @Test public void testSetAttribute_forInheritedProvider() { - File file = Directory.create(0); + File file = createFile(); service.setAttribute(file, "test:lastModifiedTime", FileTime.fromMillis(0), false); assertThat(file.getAttribute("test", "lastModifiedTime")).isNull(); assertThat(service.getAttribute(file, "basic:lastModifiedTime")) @@ -137,7 +143,7 @@ public void testSetAttribute_forInheritedProvider() { @Test public void testSetAttribute_withAlternateAcceptedType() { - File file = Directory.create(0); + File file = createFile(); service.setAttribute(file, "test:bar", 10F, false); assertThat(file.getAttribute("test", "bar")).isEqualTo(10L); @@ -147,14 +153,14 @@ public void testSetAttribute_withAlternateAcceptedType() { @Test public void testSetAttribute_onCreate() { - File file = Directory.create(0); + File file = createFile(); service.setInitialAttributes(file, new BasicFileAttribute<>("test:baz", 123)); assertThat(file.getAttribute("test", "baz")).isEqualTo(123); } @Test public void testSetAttribute_failsForAttributesNotDefinedByProvider() { - File file = Directory.create(0); + File file = createFile(); service.setInitialAttributes(file); try { @@ -175,7 +181,7 @@ public void testSetAttribute_failsForAttributesNotDefinedByProvider() { @Test public void testSetAttribute_failsForArgumentThatIsNotOfCorrectType() { - File file = Directory.create(0); + File file = createFile(); service.setInitialAttributes(file); try { service.setAttribute(file, "test:bar", "wrong", false); @@ -188,7 +194,7 @@ public void testSetAttribute_failsForArgumentThatIsNotOfCorrectType() { @Test public void testSetAttribute_failsForNullArgument() { - File file = Directory.create(0); + File file = createFile(); service.setInitialAttributes(file); try { service.setAttribute(file, "test:bar", null, false); @@ -201,7 +207,7 @@ public void testSetAttribute_failsForNullArgument() { @Test public void testSetAttribute_failsForAttributeThatIsNotSettable() { - File file = Directory.create(0); + File file = createFile(); try { service.setAttribute(file, "test:foo", "world", false); fail(); @@ -213,7 +219,7 @@ public void testSetAttribute_failsForAttributeThatIsNotSettable() { @Test public void testSetAttribute_onCreate_failsForAttributeThatIsNotSettableOnCreate() { - File file = Directory.create(0); + File file = createFile(); try { service.setInitialAttributes(file, new BasicFileAttribute<>("test:foo", "world")); fail(); @@ -232,7 +238,7 @@ public void testSetAttribute_onCreate_failsForAttributeThatIsNotSettableOnCreate @SuppressWarnings("ConstantConditions") @Test public void testGetFileAttributeView() throws IOException { - final File file = Directory.create(0); + final File file = createFile(); service.setInitialAttributes(file); FileLookup fileLookup = @@ -255,7 +261,7 @@ public File lookup() throws IOException { @Test public void testGetFileAttributeView_isNullForUnsupportedView() { - final File file = Directory.create(0); + final File file = createFile(); FileLookup fileLookup = new FileLookup() { @Override @@ -268,13 +274,13 @@ public File lookup() throws IOException { @Test public void testReadAttributes_asMap() { - File file = Directory.create(0); + File file = createFile(); service.setInitialAttributes(file); ImmutableMap map = service.readAttributes(file, "test:foo,bar,baz"); assertThat(map).isEqualTo(ImmutableMap.of("foo", "hello", "bar", 0L, "baz", 1)); - FileTime time = (FileTime) service.getAttribute(file, "basic:creationTime"); + FileTime time = fileTimeSource.now(); map = service.readAttributes(file, "test:*"); assertThat(map) @@ -312,7 +318,7 @@ public void testReadAttributes_asMap() { @Test public void testReadAttributes_asMap_failsForInvalidAttributes() { - File file = Directory.create(0); + File file = createFile(); try { service.readAttributes(file, "basic:fileKey,isOther,*,creationTime"); fail(); @@ -330,7 +336,7 @@ public void testReadAttributes_asMap_failsForInvalidAttributes() { @Test public void testReadAttributes_asObject() { - File file = Directory.create(0); + File file = createFile(); service.setInitialAttributes(file); BasicFileAttributes basicAttrs = service.readAttributes(file, BasicFileAttributes.class); @@ -349,7 +355,7 @@ public void testReadAttributes_asObject() { @Test public void testReadAttributes_failsForUnsupportedAttributesType() { - File file = Directory.create(0); + File file = createFile(); try { service.readAttributes(file, PosixFileAttributes.class); fail(); @@ -359,7 +365,7 @@ public void testReadAttributes_failsForUnsupportedAttributesType() { @Test public void testIllegalAttributeFormats() { - File file = Directory.create(0); + File file = createFile(); try { service.getAttribute(file, ":bar"); fail(); diff --git a/jimfs/src/test/java/com/google/common/jimfs/BasicAttributeProviderTest.java b/jimfs/src/test/java/com/google/common/jimfs/BasicAttributeProviderTest.java index a101b789..5c72eeb6 100644 --- a/jimfs/src/test/java/com/google/common/jimfs/BasicAttributeProviderTest.java +++ b/jimfs/src/test/java/com/google/common/jimfs/BasicAttributeProviderTest.java @@ -64,10 +64,10 @@ public void testSupportedAttributes() { @Test public void testInitialAttributes() { - long time = file.getCreationTime(); - assertThat(time).isNotEqualTo(0L); - assertThat(time).isEqualTo(file.getLastAccessTime()); - assertThat(time).isEqualTo(file.getLastModifiedTime()); + FileTime expected = fileTimeSource.now(); + assertThat(file.getCreationTime()).isEqualTo(expected); + assertThat(file.getLastAccessTime()).isEqualTo(expected); + assertThat(file.getLastModifiedTime()).isEqualTo(expected); assertContainsAll( file, @@ -121,22 +121,22 @@ public void testView() throws IOException { BasicFileAttributes attrs = view.readAttributes(); assertThat(attrs.fileKey()).isEqualTo(0); - FileTime time = attrs.creationTime(); - assertThat(attrs.lastAccessTime()).isEqualTo(time); - assertThat(attrs.lastModifiedTime()).isEqualTo(time); + FileTime initial = fileTimeSource.now(); + assertThat(attrs.creationTime()).isEqualTo(initial); + assertThat(attrs.lastAccessTime()).isEqualTo(initial); + assertThat(attrs.lastModifiedTime()).isEqualTo(initial); view.setTimes(null, null, null); - attrs = view.readAttributes(); - assertThat(attrs.creationTime()).isEqualTo(time); - assertThat(attrs.lastAccessTime()).isEqualTo(time); - assertThat(attrs.lastModifiedTime()).isEqualTo(time); + assertThat(attrs.creationTime()).isEqualTo(initial); + assertThat(attrs.lastAccessTime()).isEqualTo(initial); + assertThat(attrs.lastModifiedTime()).isEqualTo(initial); view.setTimes(FileTime.fromMillis(0L), null, null); attrs = view.readAttributes(); - assertThat(attrs.creationTime()).isEqualTo(time); - assertThat(attrs.lastAccessTime()).isEqualTo(time); + assertThat(attrs.creationTime()).isEqualTo(initial); + assertThat(attrs.lastAccessTime()).isEqualTo(initial); assertThat(attrs.lastModifiedTime()).isEqualTo(FileTime.fromMillis(0L)); } diff --git a/jimfs/src/test/java/com/google/common/jimfs/ConfigurationTest.java b/jimfs/src/test/java/com/google/common/jimfs/ConfigurationTest.java index 0404f57f..19898c90 100644 --- a/jimfs/src/test/java/com/google/common/jimfs/ConfigurationTest.java +++ b/jimfs/src/test/java/com/google/common/jimfs/ConfigurationTest.java @@ -70,6 +70,7 @@ public void testDefaultUnixConfiguration() { assertThat(config.attributeViews).containsExactly("basic"); assertThat(config.attributeProviders).isEmpty(); assertThat(config.defaultAttributeValues).isEmpty(); + assertThat(config.fileTimeSource).isEqualTo(SystemFileTimeSource.INSTANCE); } @Test @@ -104,6 +105,7 @@ public void testDefaultOsXConfiguration() { assertThat(config.attributeViews).containsExactly("basic"); assertThat(config.attributeProviders).isEmpty(); assertThat(config.defaultAttributeValues).isEmpty(); + assertThat(config.fileTimeSource).isEqualTo(SystemFileTimeSource.INSTANCE); } @Test @@ -143,6 +145,7 @@ public void testDefaultWindowsConfiguration() { assertThat(config.attributeViews).containsExactly("basic"); assertThat(config.attributeProviders).isEmpty(); assertThat(config.defaultAttributeValues).isEmpty(); + assertThat(config.fileTimeSource).isEqualTo(SystemFileTimeSource.INSTANCE); } @Test @@ -170,6 +173,7 @@ public void testFileSystemForDefaultWindowsConfiguration() throws IOException { public void testBuilder() { AttributeProvider unixProvider = StandardAttributeProviders.get("unix"); + FileTimeSource fileTimeSource = new FakeFileTimeSource(); Configuration config = Configuration.builder(PathType.unix()) .setRoots("/") @@ -184,6 +188,7 @@ public void testBuilder() { .addAttributeProvider(unixProvider) .setDefaultAttributeValue( "posix:permissions", PosixFilePermissions.fromString("---------")) + .setFileTimeSource(fileTimeSource) .build(); assertThat(config.pathType).isEqualTo(PathType.unix()); @@ -199,10 +204,12 @@ public void testBuilder() { assertThat(config.attributeProviders).containsExactly(unixProvider); assertThat(config.defaultAttributeValues) .containsEntry("posix:permissions", PosixFilePermissions.fromString("---------")); + assertThat(config.fileTimeSource).isEqualTo(fileTimeSource); } @Test public void testFileSystemForCustomConfiguration() throws IOException { + FileTimeSource fileTimeSource = new FakeFileTimeSource(); Configuration config = Configuration.builder(PathType.unix()) .setRoots("/") @@ -216,6 +223,7 @@ public void testFileSystemForCustomConfiguration() throws IOException { .setAttributeViews("unix") .setDefaultAttributeValue( "posix:permissions", PosixFilePermissions.fromString("---------")) + .setFileTimeSource(fileTimeSource) .build(); FileSystem fs = Jimfs.newFileSystem(config); @@ -230,6 +238,8 @@ public void testFileSystemForCustomConfiguration() throws IOException { Files.createFile(fs.getPath("/foo")); assertThat(Files.getAttribute(fs.getPath("/foo"), "posix:permissions")) .isEqualTo(PosixFilePermissions.fromString("---------")); + assertThat(Files.getAttribute(fs.getPath("/foo"), "creationTime")) + .isEqualTo(fileTimeSource.now()); try { Files.createFile(fs.getPath("/FOO")); diff --git a/jimfs/src/test/java/com/google/common/jimfs/DirectoryTest.java b/jimfs/src/test/java/com/google/common/jimfs/DirectoryTest.java index 1fee1e5c..ebbd9fd4 100644 --- a/jimfs/src/test/java/com/google/common/jimfs/DirectoryTest.java +++ b/jimfs/src/test/java/com/google/common/jimfs/DirectoryTest.java @@ -42,17 +42,23 @@ @RunWith(JUnit4.class) public class DirectoryTest { + private final FakeFileTimeSource fileTimeSource = new FakeFileTimeSource(); + private Directory root; private Directory dir; @Before public void setUp() { - root = Directory.createRoot(0, Name.simple("/")); + root = Directory.createRoot(0, fileTimeSource.now(), Name.simple("/")); - dir = Directory.create(1); + dir = createDirectory(1); root.link(Name.simple("foo"), dir); } + private Directory createDirectory(int id) { + return Directory.create(id, fileTimeSource.now()); + } + @Test public void testRootDirectory() { assertThat(root.entryCount()).isEqualTo(3); // two for parent/self, one for dir @@ -82,7 +88,7 @@ public void testGet() { public void testLink() { assertThat(dir.get(Name.simple("bar"))).isNull(); - File bar = Directory.create(2); + File bar = createDirectory(2); dir.link(Name.simple("bar"), bar); assertThat(dir.get(Name.simple("bar"))).isEqualTo(entry(dir, "bar", bar)); @@ -91,7 +97,7 @@ public void testLink() { @Test public void testLink_existingNameFails() { try { - root.link(Name.simple("foo"), Directory.create(2)); + root.link(Name.simple("foo"), createDirectory(2)); fail(); } catch (IllegalArgumentException expected) { } @@ -100,13 +106,13 @@ public void testLink_existingNameFails() { @Test public void testLink_parentAndSelfNameFails() { try { - dir.link(Name.simple("."), Directory.create(2)); + dir.link(Name.simple("."), createDirectory(2)); fail(); } catch (IllegalArgumentException expected) { } try { - dir.link(Name.simple(".."), Directory.create(2)); + dir.link(Name.simple(".."), createDirectory(2)); fail(); } catch (IllegalArgumentException expected) { } @@ -114,7 +120,7 @@ public void testLink_parentAndSelfNameFails() { @Test public void testGet_normalizingCaseInsensitive() { - File bar = Directory.create(2); + File bar = createDirectory(2); Name barName = caseInsensitive("bar"); dir.link(barName, bar); @@ -161,7 +167,7 @@ public void testUnlink_parentAndSelfNameFails() { @Test public void testUnlink_normalizingCaseInsensitive() { - dir.link(caseInsensitive("bar"), Directory.create(2)); + dir.link(caseInsensitive("bar"), createDirectory(2)); assertThat(dir.get(caseInsensitive("bar"))).isNotNull(); @@ -172,7 +178,7 @@ public void testUnlink_normalizingCaseInsensitive() { @Test public void testLinkDirectory() { - Directory newDir = Directory.create(10); + Directory newDir = createDirectory(10); assertThat(newDir.entryInParent()).isNull(); assertThat(newDir.get(Name.SELF).file()).isEqualTo(newDir); @@ -191,7 +197,7 @@ public void testLinkDirectory() { @Test public void testUnlinkDirectory() { - Directory newDir = Directory.create(10); + Directory newDir = createDirectory(10); dir.link(Name.simple("foo"), newDir); @@ -244,7 +250,7 @@ public void testSnapshot_sortsUsingStringAndNotCanonicalValueOfNames() { // Tests for internal hash table implementation - private static final Directory A = Directory.create(0); + private final Directory a = createDirectory(0); @Test public void testInitialState() { @@ -361,15 +367,15 @@ public void testManyPutsAndRemoves() { } } - private static DirectoryEntry entry(String name) { - return new DirectoryEntry(A, Name.simple(name), A); + private DirectoryEntry entry(String name) { + return new DirectoryEntry(a, Name.simple(name), a); } - private static DirectoryEntry entry(Directory dir, String name, @NullableDecl File file) { + private DirectoryEntry entry(Directory dir, String name, @NullableDecl File file) { return new DirectoryEntry(dir, Name.simple(name), file); } - private static void assertParentAndSelf(Directory dir, File parent, File self) { + private void assertParentAndSelf(Directory dir, File parent, File self) { assertThat(dir).isEqualTo(self); assertThat(dir.parent()).isEqualTo(parent); diff --git a/jimfs/src/test/java/com/google/common/jimfs/FakeFileTimeSource.java b/jimfs/src/test/java/com/google/common/jimfs/FakeFileTimeSource.java new file mode 100644 index 00000000..942c8354 --- /dev/null +++ b/jimfs/src/test/java/com/google/common/jimfs/FakeFileTimeSource.java @@ -0,0 +1,64 @@ +/* + * Copyright 2021 Google Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.common.jimfs; + +import static com.google.common.base.Preconditions.checkNotNull; + +import com.google.common.math.LongMath; +import com.google.errorprone.annotations.CanIgnoreReturnValue; +import java.nio.file.attribute.FileTime; +import java.util.Random; +import java.util.concurrent.TimeUnit; + +/** Fake implementation of {@link FileTimeSource}. */ +final class FakeFileTimeSource implements FileTimeSource { + + private final Random random = new Random(System.currentTimeMillis()); + private FileTime now; + + FakeFileTimeSource() { + randomize(); + } + + @CanIgnoreReturnValue + FakeFileTimeSource setNow(FileTime now) { + this.now = checkNotNull(now); + return this; + } + + @CanIgnoreReturnValue + private FakeFileTimeSource setNowMillis(long millis) { + return setNow(FileTime.fromMillis(millis)); + } + + @CanIgnoreReturnValue + FakeFileTimeSource randomize() { + // Use a random int rather than long as an easy way of ensuring we don't get something near + // Long.MAX_VALUE + return setNowMillis(random.nextInt()); + } + + @CanIgnoreReturnValue + FakeFileTimeSource advance(long duration, TimeUnit unit) { + return setNowMillis(LongMath.checkedAdd(now.toMillis(), unit.toMillis(duration))); + } + + @Override + public FileTime now() { + return now; + } +} diff --git a/jimfs/src/test/java/com/google/common/jimfs/FileFactoryTest.java b/jimfs/src/test/java/com/google/common/jimfs/FileFactoryTest.java index 9e3cb403..ad2e0dc4 100644 --- a/jimfs/src/test/java/com/google/common/jimfs/FileFactoryTest.java +++ b/jimfs/src/test/java/com/google/common/jimfs/FileFactoryTest.java @@ -31,11 +31,13 @@ @RunWith(JUnit4.class) public class FileFactoryTest { + private final FakeFileTimeSource fileTimeSource = new FakeFileTimeSource(); + private FileFactory factory; @Before public void setUp() { - factory = new FileFactory(new HeapDisk(2, 2, 0)); + factory = new FileFactory(new HeapDisk(2, 2, 0), fileTimeSource); } @Test @@ -43,14 +45,19 @@ public void testCreateFiles_basic() { File file = factory.createDirectory(); assertThat(file.id()).isEqualTo(0L); assertThat(file.isDirectory()).isTrue(); + assertThat(file.getCreationTime()).isEqualTo(fileTimeSource.now()); + fileTimeSource.randomize(); file = factory.createRegularFile(); assertThat(file.id()).isEqualTo(1L); assertThat(file.isRegularFile()).isTrue(); + assertThat(file.getCreationTime()).isEqualTo(fileTimeSource.now()); + fileTimeSource.randomize(); file = factory.createSymbolicLink(fakePath()); assertThat(file.id()).isEqualTo(2L); assertThat(file.isSymbolicLink()).isTrue(); + assertThat(file.getCreationTime()).isEqualTo(fileTimeSource.now()); } @Test @@ -58,14 +65,19 @@ public void testCreateFiles_withSupplier() { File file = factory.directoryCreator().get(); assertThat(file.id()).isEqualTo(0L); assertThat(file.isDirectory()).isTrue(); + assertThat(file.getCreationTime()).isEqualTo(fileTimeSource.now()); + fileTimeSource.randomize(); file = factory.regularFileCreator().get(); assertThat(file.id()).isEqualTo(1L); assertThat(file.isRegularFile()).isTrue(); + assertThat(file.getCreationTime()).isEqualTo(fileTimeSource.now()); + fileTimeSource.randomize(); file = factory.symbolicLinkCreator(fakePath()).get(); assertThat(file.id()).isEqualTo(2L); assertThat(file.isSymbolicLink()).isTrue(); + assertThat(file.getCreationTime()).isEqualTo(fileTimeSource.now()); } static JimfsPath fakePath() { diff --git a/jimfs/src/test/java/com/google/common/jimfs/FileSystemStateTest.java b/jimfs/src/test/java/com/google/common/jimfs/FileSystemStateTest.java index f8143b6e..7274ab1e 100644 --- a/jimfs/src/test/java/com/google/common/jimfs/FileSystemStateTest.java +++ b/jimfs/src/test/java/com/google/common/jimfs/FileSystemStateTest.java @@ -16,6 +16,8 @@ package com.google.common.jimfs; +import static com.google.common.truth.Truth.assertThat; +import static java.util.concurrent.TimeUnit.SECONDS; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; @@ -40,7 +42,8 @@ public class FileSystemStateTest { private final TestRunnable onClose = new TestRunnable(); - private final FileSystemState state = new FileSystemState(onClose); + private final FakeFileTimeSource fileTimeSource = new FakeFileTimeSource(); + private final FileSystemState state = new FileSystemState(fileTimeSource, onClose); @Test public void testIsOpen() throws IOException { @@ -60,6 +63,13 @@ public void testCheckOpen() throws IOException { } } + @Test + public void testNow() { + assertThat(state.now()).isEqualTo(fileTimeSource.now()); + fileTimeSource.advance(1, SECONDS); + assertThat(state.now()).isEqualTo(fileTimeSource.now()); + } + @Test public void testClose_callsOnCloseRunnable() throws IOException { assertEquals(0, onClose.runCount); diff --git a/jimfs/src/test/java/com/google/common/jimfs/FileTest.java b/jimfs/src/test/java/com/google/common/jimfs/FileTest.java index 83cda00e..d128c6a2 100644 --- a/jimfs/src/test/java/com/google/common/jimfs/FileTest.java +++ b/jimfs/src/test/java/com/google/common/jimfs/FileTest.java @@ -32,12 +32,14 @@ @RunWith(JUnit4.class) public class FileTest { + private final FakeFileTimeSource fileTimeSource = new FakeFileTimeSource(); + @Test public void testAttributes() { // these methods are basically just thin wrappers around a map, so no need to test too // thoroughly - File file = RegularFile.create(0, new HeapDisk(10, 10, 10)); + File file = RegularFile.create(0, fileTimeSource.now(), new HeapDisk(10, 10, 10)); assertThat(file.getAttributeKeys()).isEmpty(); assertThat(file.getAttribute("foo", "foo")).isNull(); @@ -65,7 +67,7 @@ public void testFileBasics() { @Test public void testDirectory() { - File file = Directory.create(0); + File file = Directory.create(0, fileTimeSource.now()); assertThat(file.isDirectory()).isTrue(); assertThat(file.isRegularFile()).isFalse(); assertThat(file.isSymbolicLink()).isFalse(); @@ -81,7 +83,7 @@ public void testRegularFile() { @Test public void testSymbolicLink() { - File file = SymbolicLink.create(0, fakePath()); + File file = SymbolicLink.create(0, fileTimeSource.now(), fakePath()); assertThat(file.isDirectory()).isFalse(); assertThat(file.isRegularFile()).isFalse(); assertThat(file.isSymbolicLink()).isTrue(); @@ -89,10 +91,10 @@ public void testSymbolicLink() { @Test public void testRootDirectory() { - Directory file = Directory.createRoot(0, Name.simple("/")); + Directory file = Directory.createRoot(0, fileTimeSource.now(), Name.simple("/")); assertThat(file.isRootDirectory()).isTrue(); - Directory otherFile = Directory.createRoot(1, Name.simple("$")); + Directory otherFile = Directory.createRoot(1, fileTimeSource.now(), Name.simple("$")); assertThat(otherFile.isRootDirectory()).isTrue(); } diff --git a/jimfs/src/test/java/com/google/common/jimfs/FileTreeTest.java b/jimfs/src/test/java/com/google/common/jimfs/FileTreeTest.java index e9259718..12dc7244 100644 --- a/jimfs/src/test/java/com/google/common/jimfs/FileTreeTest.java +++ b/jimfs/src/test/java/com/google/common/jimfs/FileTreeTest.java @@ -108,16 +108,18 @@ public ParseResult parseUriPath(String uriPath) { }, false); + private final FakeFileTimeSource fileTimeSource = new FakeFileTimeSource(); + private FileTree fileTree; private File workingDirectory; private final Map files = new HashMap<>(); @Before public void setUp() { - Directory root = Directory.createRoot(0, Name.simple("/")); + Directory root = Directory.createRoot(0, fileTimeSource.now(), Name.simple("/")); files.put("/", root); - Directory otherRoot = Directory.createRoot(2, Name.simple("$")); + Directory otherRoot = Directory.createRoot(2, fileTimeSource.now(), Name.simple("$")); files.put("$", otherRoot); Map roots = new HashMap<>(); @@ -440,7 +442,7 @@ private void assertParentExists(DirectoryEntry entry, String parent) { private File createDirectory(String parent, String name) { Directory dir = (Directory) files.get(parent); - Directory newFile = Directory.create(new Random().nextInt()); + Directory newFile = Directory.create(new Random().nextInt(), fileTimeSource.now()); dir.link(Name.simple(name), newFile); files.put(name, newFile); return newFile; @@ -456,7 +458,9 @@ private File createFile(String parent, String name) { private File createSymbolicLink(String parent, String name, String target) { Directory dir = (Directory) files.get(parent); - File newFile = SymbolicLink.create(new Random().nextInt(), pathService.parsePath(target)); + File newFile = + SymbolicLink.create( + new Random().nextInt(), fileTimeSource.now(), pathService.parsePath(target)); dir.link(Name.simple(name), newFile); files.put(name, newFile); return newFile; diff --git a/jimfs/src/test/java/com/google/common/jimfs/HeapDiskTest.java b/jimfs/src/test/java/com/google/common/jimfs/HeapDiskTest.java index af09b85e..48235893 100644 --- a/jimfs/src/test/java/com/google/common/jimfs/HeapDiskTest.java +++ b/jimfs/src/test/java/com/google/common/jimfs/HeapDiskTest.java @@ -35,12 +35,14 @@ @RunWith(JUnit4.class) public class HeapDiskTest { + private final FakeFileTimeSource fileTimeSource = new FakeFileTimeSource(); + private RegularFile blocks; @Before public void setUp() { // the HeapDisk of this file is unused; it's passed to other HeapDisks to test operations - blocks = RegularFile.create(-1, new HeapDisk(2, 2, 2)); + blocks = RegularFile.create(-1, fileTimeSource.now(), new HeapDisk(2, 2, 2)); } @Test @@ -216,7 +218,7 @@ public void testFullDisk_doesNotAllocatePartiallyWhenTooManyBlocksRequested() th HeapDisk disk = new HeapDisk(4, 10, 4); disk.allocate(blocks, 6); - RegularFile blocks2 = RegularFile.create(-2, disk); + RegularFile blocks2 = RegularFile.create(-2, fileTimeSource.now(), disk); try { disk.allocate(blocks2, 5); diff --git a/jimfs/src/test/java/com/google/common/jimfs/JimfsAsynchronousFileChannelTest.java b/jimfs/src/test/java/com/google/common/jimfs/JimfsAsynchronousFileChannelTest.java index 7d47588a..a4a4ba91 100644 --- a/jimfs/src/test/java/com/google/common/jimfs/JimfsAsynchronousFileChannelTest.java +++ b/jimfs/src/test/java/com/google/common/jimfs/JimfsAsynchronousFileChannelTest.java @@ -63,7 +63,7 @@ private static JimfsAsynchronousFileChannel channel( new JimfsFileChannel( file, Options.getOptionsForChannel(ImmutableSet.copyOf(options)), - new FileSystemState(Runnables.doNothing())); + new FileSystemState(new FakeFileTimeSource(), Runnables.doNothing())); return new JimfsAsynchronousFileChannel(channel, executor); } diff --git a/jimfs/src/test/java/com/google/common/jimfs/JimfsFileChannelTest.java b/jimfs/src/test/java/com/google/common/jimfs/JimfsFileChannelTest.java index c525ef1f..28723069 100644 --- a/jimfs/src/test/java/com/google/common/jimfs/JimfsFileChannelTest.java +++ b/jimfs/src/test/java/com/google/common/jimfs/JimfsFileChannelTest.java @@ -48,6 +48,7 @@ import java.nio.channels.NonReadableChannelException; import java.nio.channels.NonWritableChannelException; import java.nio.file.OpenOption; +import java.nio.file.attribute.FileTime; import java.util.ArrayList; import java.util.List; import java.util.concurrent.Callable; @@ -74,7 +75,7 @@ private static FileChannel channel(RegularFile file, OpenOption... options) thro return new JimfsFileChannel( file, Options.getOptionsForChannel(ImmutableSet.copyOf(options)), - new FileSystemState(Runnables.doNothing())); + new FileSystemState(new FakeFileTimeSource(), Runnables.doNothing())); } @Test @@ -227,76 +228,77 @@ public void testTruncate() throws IOException { @Test public void testFileTimeUpdates() throws IOException { RegularFile file = regularFile(10); + FakeFileTimeSource fileTimeSource = new FakeFileTimeSource(); FileChannel channel = new JimfsFileChannel( file, ImmutableSet.of(READ, WRITE), - new FileSystemState(Runnables.doNothing())); + new FileSystemState(fileTimeSource, Runnables.doNothing())); - // accessed - long accessTime = file.getLastAccessTime(); - Uninterruptibles.sleepUninterruptibly(2, MILLISECONDS); + // accessedTime + FileTime accessTime = file.getLastAccessTime(); + fileTimeSource.advance(2, MILLISECONDS); channel.read(ByteBuffer.allocate(10)); assertNotEquals(accessTime, file.getLastAccessTime()); accessTime = file.getLastAccessTime(); - Uninterruptibles.sleepUninterruptibly(2, MILLISECONDS); + fileTimeSource.advance(2, MILLISECONDS); channel.read(ByteBuffer.allocate(10), 0); assertNotEquals(accessTime, file.getLastAccessTime()); accessTime = file.getLastAccessTime(); - Uninterruptibles.sleepUninterruptibly(2, MILLISECONDS); + fileTimeSource.advance(2, MILLISECONDS); channel.read(new ByteBuffer[] {ByteBuffer.allocate(10)}); assertNotEquals(accessTime, file.getLastAccessTime()); accessTime = file.getLastAccessTime(); - Uninterruptibles.sleepUninterruptibly(2, MILLISECONDS); + fileTimeSource.advance(2, MILLISECONDS); channel.read(new ByteBuffer[] {ByteBuffer.allocate(10)}, 0, 1); assertNotEquals(accessTime, file.getLastAccessTime()); accessTime = file.getLastAccessTime(); - Uninterruptibles.sleepUninterruptibly(2, MILLISECONDS); + fileTimeSource.advance(2, MILLISECONDS); channel.transferTo(0, 10, new ByteBufferChannel(10)); assertNotEquals(accessTime, file.getLastAccessTime()); // modified - long modifiedTime = file.getLastModifiedTime(); - Uninterruptibles.sleepUninterruptibly(2, MILLISECONDS); + FileTime modifiedTime = file.getLastModifiedTime(); + fileTimeSource.advance(2, MILLISECONDS); channel.write(ByteBuffer.allocate(10)); assertNotEquals(modifiedTime, file.getLastModifiedTime()); modifiedTime = file.getLastModifiedTime(); - Uninterruptibles.sleepUninterruptibly(2, MILLISECONDS); + fileTimeSource.advance(2, MILLISECONDS); channel.write(ByteBuffer.allocate(10), 0); assertNotEquals(modifiedTime, file.getLastModifiedTime()); modifiedTime = file.getLastModifiedTime(); - Uninterruptibles.sleepUninterruptibly(2, MILLISECONDS); + fileTimeSource.advance(2, MILLISECONDS); channel.write(new ByteBuffer[] {ByteBuffer.allocate(10)}); assertNotEquals(modifiedTime, file.getLastModifiedTime()); modifiedTime = file.getLastModifiedTime(); - Uninterruptibles.sleepUninterruptibly(2, MILLISECONDS); + fileTimeSource.advance(2, MILLISECONDS); channel.write(new ByteBuffer[] {ByteBuffer.allocate(10)}, 0, 1); assertNotEquals(modifiedTime, file.getLastModifiedTime()); modifiedTime = file.getLastModifiedTime(); - Uninterruptibles.sleepUninterruptibly(2, MILLISECONDS); + fileTimeSource.advance(2, MILLISECONDS); channel.truncate(0); assertNotEquals(modifiedTime, file.getLastModifiedTime()); modifiedTime = file.getLastModifiedTime(); - Uninterruptibles.sleepUninterruptibly(2, MILLISECONDS); + fileTimeSource.advance(2, MILLISECONDS); channel.transferFrom(new ByteBufferChannel(10), 0, 10); assertNotEquals(modifiedTime, file.getLastModifiedTime()); diff --git a/jimfs/src/test/java/com/google/common/jimfs/JimfsInputStreamTest.java b/jimfs/src/test/java/com/google/common/jimfs/JimfsInputStreamTest.java index 94cc5f47..8a2947e1 100644 --- a/jimfs/src/test/java/com/google/common/jimfs/JimfsInputStreamTest.java +++ b/jimfs/src/test/java/com/google/common/jimfs/JimfsInputStreamTest.java @@ -228,7 +228,8 @@ private static JimfsInputStream newInputStream(int... bytes) throws IOException RegularFile file = regularFile(0); file.write(0, b, 0, b.length); - return new JimfsInputStream(file, new FileSystemState(Runnables.doNothing())); + return new JimfsInputStream( + file, new FileSystemState(new FakeFileTimeSource(), Runnables.doNothing())); } private static void assertEmpty(JimfsInputStream in) throws IOException { diff --git a/jimfs/src/test/java/com/google/common/jimfs/JimfsOutputStreamTest.java b/jimfs/src/test/java/com/google/common/jimfs/JimfsOutputStreamTest.java index 3c230a74..fdec32aa 100644 --- a/jimfs/src/test/java/com/google/common/jimfs/JimfsOutputStreamTest.java +++ b/jimfs/src/test/java/com/google/common/jimfs/JimfsOutputStreamTest.java @@ -184,7 +184,8 @@ public void testClosedOutputStream_doesNotThrowOnFlush() throws IOException { private static JimfsOutputStream newOutputStream(boolean append) { RegularFile file = regularFile(0); - return new JimfsOutputStream(file, append, new FileSystemState(Runnables.doNothing())); + return new JimfsOutputStream( + file, append, new FileSystemState(new FakeFileTimeSource(), Runnables.doNothing())); } @SuppressWarnings("GuardedByChecker") diff --git a/jimfs/src/test/java/com/google/common/jimfs/PollingWatchServiceTest.java b/jimfs/src/test/java/com/google/common/jimfs/PollingWatchServiceTest.java index 86f98323..407f70dd 100644 --- a/jimfs/src/test/java/com/google/common/jimfs/PollingWatchServiceTest.java +++ b/jimfs/src/test/java/com/google/common/jimfs/PollingWatchServiceTest.java @@ -62,7 +62,7 @@ public void setUp() { new PollingWatchService( fs.getDefaultView(), fs.getPathService(), - new FileSystemState(Runnables.doNothing()), + new FileSystemState(new FakeFileTimeSource(), Runnables.doNothing()), 4, MILLISECONDS); } diff --git a/jimfs/src/test/java/com/google/common/jimfs/RegularFileBlocksTest.java b/jimfs/src/test/java/com/google/common/jimfs/RegularFileBlocksTest.java index 5febfc56..22697ffc 100644 --- a/jimfs/src/test/java/com/google/common/jimfs/RegularFileBlocksTest.java +++ b/jimfs/src/test/java/com/google/common/jimfs/RegularFileBlocksTest.java @@ -37,6 +37,8 @@ public class RegularFileBlocksTest { private static final int BLOCK_SIZE = 2; + private final FakeFileTimeSource fileTimeSource = new FakeFileTimeSource(); + private RegularFile file; @Before @@ -44,8 +46,8 @@ public void setUp() { file = createFile(); } - private static RegularFile createFile() { - return RegularFile.create(-1, new HeapDisk(BLOCK_SIZE, 2, 2)); + private RegularFile createFile() { + return RegularFile.create(-1, fileTimeSource.now(), new HeapDisk(BLOCK_SIZE, 2, 2)); } @Test diff --git a/jimfs/src/test/java/com/google/common/jimfs/RegularFileTest.java b/jimfs/src/test/java/com/google/common/jimfs/RegularFileTest.java index 65a47cdd..6beb8873 100644 --- a/jimfs/src/test/java/com/google/common/jimfs/RegularFileTest.java +++ b/jimfs/src/test/java/com/google/common/jimfs/RegularFileTest.java @@ -121,6 +121,8 @@ public static final class TestConfiguration { private final int cacheSize; private final ReuseStrategy reuseStrategy; + private final FakeFileTimeSource fileTimeSource = new FakeFileTimeSource(); + private HeapDisk disk; public TestConfiguration(int blockSize, int cacheSize, ReuseStrategy reuseStrategy) { @@ -142,7 +144,7 @@ public RegularFile createRegularFile() { if (reuseStrategy == ReuseStrategy.NEW_DISK) { disk = createDisk(); } - return RegularFile.create(0, disk); + return RegularFile.create(0, fileTimeSource.now(), disk); } public void tearDown(RegularFile file) { @@ -172,6 +174,7 @@ public String toString() { public static class RegularFileTestRunner extends TestCase { private final TestConfiguration configuration; + private final FakeFileTimeSource fileTimeSource = new FakeFileTimeSource(); protected RegularFile file; @@ -394,7 +397,7 @@ public void testEmpty_transferTo() throws IOException { } public void testEmpty_copy() throws IOException { - RegularFile copy = file.copyWithoutContent(1); + RegularFile copy = file.copyWithoutContent(1, fileTimeSource.now()); assertContentEquals("", copy); } @@ -817,16 +820,16 @@ public void testNonEmpty_transferFrom_hugeOverestimateCount() throws IOException public void testNonEmpty_copy() throws IOException { fillContent("123456"); - RegularFile copy = file.copyWithoutContent(1); + RegularFile copy = file.copyWithoutContent(1, fileTimeSource.now()); file.copyContentTo(copy); assertContentEquals("123456", copy); } public void testNonEmpty_copy_multipleTimes() throws IOException { fillContent("123456"); - RegularFile copy = file.copyWithoutContent(1); + RegularFile copy = file.copyWithoutContent(1, fileTimeSource.now()); file.copyContentTo(copy); - RegularFile copy2 = copy.copyWithoutContent(2); + RegularFile copy2 = copy.copyWithoutContent(2, fileTimeSource.now()); copy.copyContentTo(copy2); assertContentEquals("123456", copy); } diff --git a/jimfs/src/test/java/com/google/common/jimfs/TestUtils.java b/jimfs/src/test/java/com/google/common/jimfs/TestUtils.java index 30e0930b..61e138e9 100644 --- a/jimfs/src/test/java/com/google/common/jimfs/TestUtils.java +++ b/jimfs/src/test/java/com/google/common/jimfs/TestUtils.java @@ -133,7 +133,8 @@ public static void assertNotEquals(Object unexpected, Object actual) { } static RegularFile regularFile(int size) { - RegularFile file = RegularFile.create(0, new HeapDisk(8096, 1000, 1000)); + RegularFile file = + RegularFile.create(0, new FakeFileTimeSource().now(), new HeapDisk(8096, 1000, 1000)); try { file.write(0, new byte[size], 0, size); return file; diff --git a/jimfs/src/test/java/com/google/common/jimfs/UnixAttributeProviderTest.java b/jimfs/src/test/java/com/google/common/jimfs/UnixAttributeProviderTest.java index dc32d202..e0c4608e 100644 --- a/jimfs/src/test/java/com/google/common/jimfs/UnixAttributeProviderTest.java +++ b/jimfs/src/test/java/com/google/common/jimfs/UnixAttributeProviderTest.java @@ -21,7 +21,6 @@ import static com.google.common.truth.Truth.assertThat; import com.google.common.collect.ImmutableSet; -import java.nio.file.attribute.FileTime; import java.nio.file.attribute.PosixFilePermissions; import java.util.Set; import org.junit.Test; @@ -67,7 +66,7 @@ public void testInitialAttributes() { // these have logical origins in attributes from other views assertThat(provider.get(file, "mode")).isEqualTo(0644); // rw-r--r-- - assertThat(provider.get(file, "ctime")).isEqualTo(FileTime.fromMillis(file.getCreationTime())); + assertThat(provider.get(file, "ctime")).isEqualTo(file.getCreationTime()); // this is based on a property this file system does actually have assertThat(provider.get(file, "nlink")).isEqualTo(1); From 10806eec8baf29306fec9a0de65004bb03d1df9d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 3 Oct 2022 06:14:21 -0700 Subject: [PATCH 059/189] Bump styfle/cancel-workflow-action from 0.10.0 to 0.10.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [styfle/cancel-workflow-action](https://github.com/styfle/cancel-workflow-action) from 0.10.0 to 0.10.1.

Release notes

Sourced from styfle/cancel-workflow-action's releases.

0.10.1

Patches

  • Bump actions/setup-node from 3.3.0 to 3.4.0: #171
  • Bump actions/setup-node from 3.4.0 to 3.4.1: #172
  • Bump @​actions/core from 1.9.0 to 1.9.1: #176
  • Bump typescript from 4.7.4 to 4.8.2: #177
  • Bump typescript from 4.8.2 to 4.8.3: #178
  • Bump @​actions/github from 5.0.3 to 5.1.0: #179
  • Bump actions/setup-node from 3.4.1 to 3.5.0: #180
  • Chore: change access_token to optional: #72
  • Chore: update README.md to the correct version: #173
  • Chore: add README.md section about versioning: bb0138e6865a516b5413971879ceda1467fd2930 2c6e931f39ab183387be060414035511a22e69bd

Credits

Huge thanks to @​licitdev and @​MichaelDeBoey for helping!

Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=styfle/cancel-workflow-action&package-manager=github_actions&previous-version=0.10.0&new-version=0.10.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #208 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/208 from google:dependabot/github_actions/styfle/cancel-workflow-action-0.10.1 072ed25761e5bd37dbcf6f79eb6b744fac060dde PiperOrigin-RevId: 478484398 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c24300e9..82c163c5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,7 +27,7 @@ jobs: steps: # Cancel any previous runs for the same branch that are still running. - name: 'Cancel previous runs' - uses: styfle/cancel-workflow-action@0.10.0 + uses: styfle/cancel-workflow-action@0.10.1 with: access_token: ${{ github.token }} - name: 'Check out repository' From 2c7330557d5387a0460d99f30533b31ee9cdd3a4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 13 Oct 2022 06:43:23 -0700 Subject: [PATCH 060/189] Bump styfle/cancel-workflow-action from 0.10.1 to 0.11.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [styfle/cancel-workflow-action](https://github.com/styfle/cancel-workflow-action) from 0.10.1 to 0.11.0.
Release notes

Sourced from styfle/cancel-workflow-action's releases.

0.11.0

Minor Changes

  • Update to Node 16: #186
  • Chore: rebuild: 1e0e690cd3756927cda56ad0033137ff1268c477
  • Chore(deps-dev): bump typescript from 4.8.3 to 4.8.4: #181
  • Chore(deps): bump @​actions/github from 5.1.0 to 5.1.1: #182
  • Chore(deps): bump @​actions/core from 1.9.1 to 1.10.0: #183

Credits

Huge thanks to @​mattjohnsonpint for helping!

Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=styfle/cancel-workflow-action&package-manager=github_actions&previous-version=0.10.1&new-version=0.11.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #209 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/209 from google:dependabot/github_actions/styfle/cancel-workflow-action-0.11.0 f642285b32745e7c53c041d3fd77c4a7484d5195 PiperOrigin-RevId: 480878903 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 82c163c5..3881d8d7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,7 +27,7 @@ jobs: steps: # Cancel any previous runs for the same branch that are still running. - name: 'Cancel previous runs' - uses: styfle/cancel-workflow-action@0.10.1 + uses: styfle/cancel-workflow-action@0.11.0 with: access_token: ${{ github.token }} - name: 'Check out repository' From c6a44ad2d871bd0399ea0b44adace8e50c59a309 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 20 Oct 2022 09:39:16 -0700 Subject: [PATCH 061/189] Bump icu4j from 71.1 to 72.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [icu4j](https://github.com/unicode-org/icu) from 71.1 to 72.1.
Release notes

Sourced from icu4j's releases.

ICU 72.1

We are pleased to announce the release of Unicode® ICU 72. It updates to Unicode 15, and to CLDR 42 locale data with various additions and corrections.

ICU 72 and CLDR 42 are major releases, including a new version of Unicode and major locale data improvements.

ICU 72 adds two technology preview implementations based on draft Unicode specifications:

  • Formatting of people’s names in multiple languages (CLDR background on why this feature is being added and what it does)
  • An enhanced version of message formatting

This release also updates to the time zone data version 2022e (2022-oct). Note that pre-1970 data for a number of time zones has been removed, as has been the case in the upstream tzdata release since 2021b.

For details, please see https://icu.unicode.org/download/72.

Note: The prebuilt WinARM64 binaries below should be considered alpha/experimental.

ICU 72rc with CLDR beta3 / tzdata2022d

https://icu.unicode.org/download/72

ICU 72 RC

We are pleased to announce the release candidate for Unicode® ICU 72. It updates to Unicode 15, and to CLDR 42 locale data with various additions and corrections.

ICU 72 adds technology preview implementations for person name formatting, as well as for a new version of message formatting based on a proposed draft Unicode specification.

ICU 72 and CLDR 42 are major releases, including a new version of Unicode and major locale data improvements.

ICU 72 updates to the time zone data version 2022b (2022-aug) which is effectively the same as 2022c. Note that pre-1970 data for a number of time zones has been removed, as has been the case in the upstream tzdata release since 2021b.

For details, please see https://icu.unicode.org/download/72.

Please test this release candidate on your platforms and report bugs and regressions by Tuesday, 2022-oct-18, via the icu-support mailing list, and/or please find/submit error reports.

Please do not use this release candidate in production.

The preliminary API reference documents are published on unicode-org.github.io/icu-docs/ – follow the “Dev” links there.

Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.ibm.icu:icu4j&package-manager=maven&previous-version=71.1&new-version=72.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #211 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/211 from google:dependabot/maven/com.ibm.icu-icu4j-72.1 fecbfc9806d174e35a3187ea9dc82ab67c20ccf3 PiperOrigin-RevId: 482514917 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 0625251c..6b253572 100644 --- a/pom.xml +++ b/pom.xml @@ -121,7 +121,7 @@ com.ibm.icu icu4j - 71.1 + 72.1 From 9694988d0616b68125e9392f74a07d23ba58e495 Mon Sep 17 00:00:00 2001 From: Kurt Alfred Kluever Date: Fri, 6 Jan 2023 10:45:21 -0800 Subject: [PATCH 062/189] Make Jimfs `@CheckReturnValue` (via `package-info.java`) and add `@CanIgnoreReturnValue` annotations as appropriate. RELNOTES=n/a PiperOrigin-RevId: 500210561 --- .../google/common/jimfs/Configuration.java | 1 + .../google/common/jimfs/DirectoryEntry.java | 5 ++++ .../jimfs/DowngradedSeekableByteChannel.java | 3 ++ .../jimfs/JimfsAsynchronousFileChannel.java | 2 ++ .../google/common/jimfs/JimfsFileChannel.java | 3 ++ .../com/google/common/jimfs/package-info.java | 2 ++ .../common/jimfs/AbstractPathMatcherTest.java | 3 ++ .../common/jimfs/ByteBufferChannel.java | 3 ++ .../com/google/common/jimfs/PathSubject.java | 30 +++++++++++++++++++ .../com/google/common/jimfs/PathTester.java | 3 ++ 10 files changed, 55 insertions(+) diff --git a/jimfs/src/main/java/com/google/common/jimfs/Configuration.java b/jimfs/src/main/java/com/google/common/jimfs/Configuration.java index 71202982..e86e7609 100644 --- a/jimfs/src/main/java/com/google/common/jimfs/Configuration.java +++ b/jimfs/src/main/java/com/google/common/jimfs/Configuration.java @@ -717,6 +717,7 @@ public Builder setWatchServiceConfiguration(WatchServiceConfiguration config) { return this; } + @CanIgnoreReturnValue private Builder setDisplayName(String displayName) { this.displayName = checkNotNull(displayName); return this; diff --git a/jimfs/src/main/java/com/google/common/jimfs/DirectoryEntry.java b/jimfs/src/main/java/com/google/common/jimfs/DirectoryEntry.java index 5bff50f5..f6bf458a 100644 --- a/jimfs/src/main/java/com/google/common/jimfs/DirectoryEntry.java +++ b/jimfs/src/main/java/com/google/common/jimfs/DirectoryEntry.java @@ -20,6 +20,7 @@ import static com.google.common.base.Preconditions.checkState; import com.google.common.base.MoreObjects; +import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.nio.file.FileAlreadyExistsException; import java.nio.file.NoSuchFileException; import java.nio.file.NotDirectoryException; @@ -61,6 +62,7 @@ public boolean exists() { * @return this * @throws NoSuchFileException if this entry does not exist */ + @CanIgnoreReturnValue public DirectoryEntry requireExists(Path pathForException) throws NoSuchFileException { if (!exists()) { throw new NoSuchFileException(pathForException.toString()); @@ -74,6 +76,7 @@ public DirectoryEntry requireExists(Path pathForException) throws NoSuchFileExce * @return this * @throws FileAlreadyExistsException if this entry does not exist */ + @CanIgnoreReturnValue public DirectoryEntry requireDoesNotExist(Path pathForException) throws FileAlreadyExistsException { if (exists()) { @@ -89,6 +92,7 @@ public DirectoryEntry requireDoesNotExist(Path pathForException) * @throws NoSuchFileException if this entry does not exist * @throws NotDirectoryException if this entry does not link to a directory */ + @CanIgnoreReturnValue public DirectoryEntry requireDirectory(Path pathForException) throws NoSuchFileException, NotDirectoryException { requireExists(pathForException); @@ -105,6 +109,7 @@ public DirectoryEntry requireDirectory(Path pathForException) * @throws NoSuchFileException if this entry does not exist * @throws NotLinkException if this entry does not link to a symbolic link */ + @CanIgnoreReturnValue public DirectoryEntry requireSymbolicLink(Path pathForException) throws NoSuchFileException, NotLinkException { requireExists(pathForException); diff --git a/jimfs/src/main/java/com/google/common/jimfs/DowngradedSeekableByteChannel.java b/jimfs/src/main/java/com/google/common/jimfs/DowngradedSeekableByteChannel.java index 5d4db8be..65dd133d 100644 --- a/jimfs/src/main/java/com/google/common/jimfs/DowngradedSeekableByteChannel.java +++ b/jimfs/src/main/java/com/google/common/jimfs/DowngradedSeekableByteChannel.java @@ -18,6 +18,7 @@ import static com.google.common.base.Preconditions.checkNotNull; +import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.io.IOException; import java.nio.ByteBuffer; import java.nio.channels.FileChannel; @@ -53,6 +54,7 @@ public long position() throws IOException { } @Override + @CanIgnoreReturnValue public SeekableByteChannel position(long newPosition) throws IOException { channel.position(newPosition); return this; @@ -64,6 +66,7 @@ public long size() throws IOException { } @Override + @CanIgnoreReturnValue public SeekableByteChannel truncate(long size) throws IOException { channel.truncate(size); return this; diff --git a/jimfs/src/main/java/com/google/common/jimfs/JimfsAsynchronousFileChannel.java b/jimfs/src/main/java/com/google/common/jimfs/JimfsAsynchronousFileChannel.java index eb83ddbf..08df76f8 100644 --- a/jimfs/src/main/java/com/google/common/jimfs/JimfsAsynchronousFileChannel.java +++ b/jimfs/src/main/java/com/google/common/jimfs/JimfsAsynchronousFileChannel.java @@ -24,6 +24,7 @@ import com.google.common.util.concurrent.ListeningExecutorService; import com.google.common.util.concurrent.MoreExecutors; import com.google.common.util.concurrent.SettableFuture; +import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.io.IOException; import java.nio.ByteBuffer; import java.nio.channels.AsynchronousFileChannel; @@ -63,6 +64,7 @@ private void addCallback( } @Override + @CanIgnoreReturnValue public AsynchronousFileChannel truncate(long size) throws IOException { channel.truncate(size); return this; diff --git a/jimfs/src/main/java/com/google/common/jimfs/JimfsFileChannel.java b/jimfs/src/main/java/com/google/common/jimfs/JimfsFileChannel.java index 57240bfd..ee40a996 100644 --- a/jimfs/src/main/java/com/google/common/jimfs/JimfsFileChannel.java +++ b/jimfs/src/main/java/com/google/common/jimfs/JimfsFileChannel.java @@ -22,6 +22,7 @@ import static java.nio.file.StandardOpenOption.READ; import static java.nio.file.StandardOpenOption.WRITE; +import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.io.IOException; import java.nio.ByteBuffer; import java.nio.MappedByteBuffer; @@ -399,6 +400,7 @@ public long position() throws IOException { } @Override + @CanIgnoreReturnValue public FileChannel position(long newPosition) throws IOException { Util.checkNotNegative(newPosition, "newPosition"); checkOpen(); @@ -448,6 +450,7 @@ public long size() throws IOException { } @Override + @CanIgnoreReturnValue public FileChannel truncate(long size) throws IOException { Util.checkNotNegative(size, "size"); checkOpen(); diff --git a/jimfs/src/main/java/com/google/common/jimfs/package-info.java b/jimfs/src/main/java/com/google/common/jimfs/package-info.java index 47a75b0a..939aa876 100644 --- a/jimfs/src/main/java/com/google/common/jimfs/package-info.java +++ b/jimfs/src/main/java/com/google/common/jimfs/package-info.java @@ -19,7 +19,9 @@ * use the {@link com.google.common.jimfs.Jimfs Jimfs} and {@link * com.google.common.jimfs.Configuration Configuration} classes. */ +@CheckReturnValue @ParametersAreNonnullByDefault package com.google.common.jimfs; +import com.google.errorprone.annotations.CheckReturnValue; import javax.annotation.ParametersAreNonnullByDefault; diff --git a/jimfs/src/test/java/com/google/common/jimfs/AbstractPathMatcherTest.java b/jimfs/src/test/java/com/google/common/jimfs/AbstractPathMatcherTest.java index 70ac0e99..10ea5c4d 100644 --- a/jimfs/src/test/java/com/google/common/jimfs/AbstractPathMatcherTest.java +++ b/jimfs/src/test/java/com/google/common/jimfs/AbstractPathMatcherTest.java @@ -20,6 +20,7 @@ import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; +import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.io.File; import java.io.IOException; import java.net.URI; @@ -84,6 +85,7 @@ protected final class PatternAsserter { this.realMatcher = realMatcher(pattern); } + @CanIgnoreReturnValue PatternAsserter matches(String... paths) { for (String path : paths) { assertTrue( @@ -98,6 +100,7 @@ PatternAsserter matches(String... paths) { return this; } + @CanIgnoreReturnValue PatternAsserter doesNotMatch(String... paths) { for (String path : paths) { assertFalse( diff --git a/jimfs/src/test/java/com/google/common/jimfs/ByteBufferChannel.java b/jimfs/src/test/java/com/google/common/jimfs/ByteBufferChannel.java index 74289757..0041318e 100644 --- a/jimfs/src/test/java/com/google/common/jimfs/ByteBufferChannel.java +++ b/jimfs/src/test/java/com/google/common/jimfs/ByteBufferChannel.java @@ -16,6 +16,7 @@ package com.google.common.jimfs; +import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.io.IOException; import java.nio.ByteBuffer; import java.nio.channels.SeekableByteChannel; @@ -72,6 +73,7 @@ public long position() throws IOException { } @Override + @CanIgnoreReturnValue public SeekableByteChannel position(long newPosition) throws IOException { buffer.position((int) newPosition); return this; @@ -83,6 +85,7 @@ public long size() throws IOException { } @Override + @CanIgnoreReturnValue public SeekableByteChannel truncate(long size) throws IOException { buffer.limit((int) size); return this; diff --git a/jimfs/src/test/java/com/google/common/jimfs/PathSubject.java b/jimfs/src/test/java/com/google/common/jimfs/PathSubject.java index f6927a5e..6be9b931 100644 --- a/jimfs/src/test/java/com/google/common/jimfs/PathSubject.java +++ b/jimfs/src/test/java/com/google/common/jimfs/PathSubject.java @@ -26,6 +26,7 @@ import com.google.common.io.BaseEncoding; import com.google.common.truth.FailureMetadata; import com.google.common.truth.Subject; +import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.io.IOException; import java.nio.charset.Charset; import java.nio.file.DirectoryStream; @@ -67,11 +68,13 @@ private Path toPath(String path) { } /** Returns this, for readability of chained assertions. */ + @CanIgnoreReturnValue public PathSubject and() { return this; } /** Do not follow links when looking up the path. */ + @CanIgnoreReturnValue public PathSubject noFollowLinks() { this.linkOptions = NOFOLLOW_LINKS; return this; @@ -81,12 +84,14 @@ public PathSubject noFollowLinks() { * Set the given charset to be used when reading the file at this path as text. Default charset if * not set is UTF-8. */ + @CanIgnoreReturnValue public PathSubject withCharset(Charset charset) { this.charset = checkNotNull(charset); return this; } /** Asserts that the path is absolute (it has a root component). */ + @CanIgnoreReturnValue public PathSubject isAbsolute() { if (!actual.isAbsolute()) { failWithActual(simpleFact("expected to be absolute")); @@ -95,6 +100,7 @@ public PathSubject isAbsolute() { } /** Asserts that the path is relative (it has no root component). */ + @CanIgnoreReturnValue public PathSubject isRelative() { if (actual.isAbsolute()) { failWithActual(simpleFact("expected to be relative")); @@ -103,6 +109,7 @@ public PathSubject isRelative() { } /** Asserts that the path has the given root component. */ + @CanIgnoreReturnValue public PathSubject hasRootComponent(@NullableDecl String root) { Path rootComponent = actual.getRoot(); if (root == null && rootComponent != null) { @@ -114,12 +121,14 @@ public PathSubject hasRootComponent(@NullableDecl String root) { } /** Asserts that the path has no name components. */ + @CanIgnoreReturnValue public PathSubject hasNoNameComponents() { check("getNameCount()").that(actual.getNameCount()).isEqualTo(0); return this; } /** Asserts that the path has the given name components. */ + @CanIgnoreReturnValue public PathSubject hasNameComponents(String... names) { ImmutableList.Builder builder = ImmutableList.builder(); for (Path name : actual) { @@ -133,6 +142,7 @@ public PathSubject hasNameComponents(String... names) { } /** Asserts that the path matches the given syntax and pattern. */ + @CanIgnoreReturnValue public PathSubject matches(String syntaxAndPattern) { PathMatcher matcher = actual.getFileSystem().getPathMatcher(syntaxAndPattern); if (!matcher.matches(actual)) { @@ -142,6 +152,7 @@ public PathSubject matches(String syntaxAndPattern) { } /** Asserts that the path does not match the given syntax and pattern. */ + @CanIgnoreReturnValue public PathSubject doesNotMatch(String syntaxAndPattern) { PathMatcher matcher = actual.getFileSystem().getPathMatcher(syntaxAndPattern); if (matcher.matches(actual)) { @@ -151,6 +162,7 @@ public PathSubject doesNotMatch(String syntaxAndPattern) { } /** Asserts that the path exists. */ + @CanIgnoreReturnValue public PathSubject exists() { if (!Files.exists(actual, linkOptions)) { failWithActual(simpleFact("expected to exist")); @@ -162,6 +174,7 @@ public PathSubject exists() { } /** Asserts that the path does not exist. */ + @CanIgnoreReturnValue public PathSubject doesNotExist() { if (!Files.notExists(actual, linkOptions)) { failWithActual(simpleFact("expected not to exist")); @@ -173,6 +186,7 @@ public PathSubject doesNotExist() { } /** Asserts that the path is a directory. */ + @CanIgnoreReturnValue public PathSubject isDirectory() { exists(); // check for directoryness should imply check for existence @@ -183,6 +197,7 @@ public PathSubject isDirectory() { } /** Asserts that the path is a regular file. */ + @CanIgnoreReturnValue public PathSubject isRegularFile() { exists(); // check for regular fileness should imply check for existence @@ -193,6 +208,7 @@ public PathSubject isRegularFile() { } /** Asserts that the path is a symbolic link. */ + @CanIgnoreReturnValue public PathSubject isSymbolicLink() { exists(); // check for symbolic linkness should imply check for existence @@ -203,6 +219,7 @@ public PathSubject isSymbolicLink() { } /** Asserts that the path, which is a symbolic link, has the given path as a target. */ + @CanIgnoreReturnValue public PathSubject withTarget(String targetPath) throws IOException { Path actualTarget = Files.readSymbolicLink(actual); if (!actualTarget.equals(toPath(targetPath))) { @@ -218,6 +235,7 @@ public PathSubject withTarget(String targetPath) throws IOException { * Asserts that the file the path points to exists and has the given number of links to it. Fails * on a file system that does not support the "unix" view. */ + @CanIgnoreReturnValue public PathSubject hasLinkCount(int count) throws IOException { exists(); @@ -229,11 +247,13 @@ public PathSubject hasLinkCount(int count) throws IOException { } /** Asserts that the path resolves to the same file as the given path. */ + @CanIgnoreReturnValue public PathSubject isSameFileAs(String path) throws IOException { return isSameFileAs(toPath(path)); } /** Asserts that the path resolves to the same file as the given path. */ + @CanIgnoreReturnValue public PathSubject isSameFileAs(Path path) throws IOException { if (!Files.isSameFile(actual, path)) { failWithActual("expected to be same file as", path); @@ -242,6 +262,7 @@ public PathSubject isSameFileAs(Path path) throws IOException { } /** Asserts that the path does not resolve to the same file as the given path. */ + @CanIgnoreReturnValue public PathSubject isNotSameFileAs(String path) throws IOException { if (Files.isSameFile(actual, toPath(path))) { failWithActual("expected not to be same file as", path); @@ -250,6 +271,7 @@ public PathSubject isNotSameFileAs(String path) throws IOException { } /** Asserts that the directory has no children. */ + @CanIgnoreReturnValue public PathSubject hasNoChildren() throws IOException { isDirectory(); @@ -262,6 +284,7 @@ public PathSubject hasNoChildren() throws IOException { } /** Asserts that the directory has children with the given names, in the given order. */ + @CanIgnoreReturnValue public PathSubject hasChildren(String... children) throws IOException { isDirectory(); @@ -287,6 +310,7 @@ public PathSubject hasChildren(String... children) throws IOException { } /** Asserts that the file has the given size. */ + @CanIgnoreReturnValue public PathSubject hasSize(long size) throws IOException { if (Files.size(actual) != size) { failWithActual("expected to have size", size); @@ -295,6 +319,7 @@ public PathSubject hasSize(long size) throws IOException { } /** Asserts that the file is a regular file containing no bytes. */ + @CanIgnoreReturnValue public PathSubject containsNoBytes() throws IOException { return containsBytes(new byte[0]); } @@ -302,6 +327,7 @@ public PathSubject containsNoBytes() throws IOException { /** * Asserts that the file is a regular file containing exactly the byte values of the given ints. */ + @CanIgnoreReturnValue public PathSubject containsBytes(int... bytes) throws IOException { byte[] realBytes = new byte[bytes.length]; for (int i = 0; i < bytes.length; i++) { @@ -311,6 +337,7 @@ public PathSubject containsBytes(int... bytes) throws IOException { } /** Asserts that the file is a regular file containing exactly the given bytes. */ + @CanIgnoreReturnValue public PathSubject containsBytes(byte[] bytes) throws IOException { isRegularFile(); hasSize(bytes.length); @@ -328,6 +355,7 @@ public PathSubject containsBytes(byte[] bytes) throws IOException { * Asserts that the file is a regular file containing the same bytes as the regular file at the * given path. */ + @CanIgnoreReturnValue public PathSubject containsSameBytesAs(String path) throws IOException { isRegularFile(); @@ -342,6 +370,7 @@ public PathSubject containsSameBytesAs(String path) throws IOException { * Asserts that the file is a regular file containing the given lines of text. By default, the * bytes are decoded as UTF-8; for a different charset, use {@link #withCharset(Charset)}. */ + @CanIgnoreReturnValue public PathSubject containsLines(String... lines) throws IOException { return containsLines(Arrays.asList(lines)); } @@ -350,6 +379,7 @@ public PathSubject containsLines(String... lines) throws IOException { * Asserts that the file is a regular file containing the given lines of text. By default, the * bytes are decoded as UTF-8; for a different charset, use {@link #withCharset(Charset)}. */ + @CanIgnoreReturnValue public PathSubject containsLines(Iterable lines) throws IOException { isRegularFile(); diff --git a/jimfs/src/test/java/com/google/common/jimfs/PathTester.java b/jimfs/src/test/java/com/google/common/jimfs/PathTester.java index b96d77e1..9c4084cd 100644 --- a/jimfs/src/test/java/com/google/common/jimfs/PathTester.java +++ b/jimfs/src/test/java/com/google/common/jimfs/PathTester.java @@ -27,6 +27,7 @@ import com.google.common.base.Splitter; import com.google.common.collect.FluentIterable; import com.google.common.collect.ImmutableList; +import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.nio.file.Path; import java.util.Arrays; import java.util.List; @@ -44,11 +45,13 @@ public PathTester(PathService pathService, String string) { this.string = string; } + @CanIgnoreReturnValue public PathTester root(String root) { this.root = root; return this; } + @CanIgnoreReturnValue public PathTester names(Iterable names) { this.names = ImmutableList.copyOf(names); return this; From 0585fa1b182fc92893ccf1807bbd9f6e642ed755 Mon Sep 17 00:00:00 2001 From: Kurt Alfred Kluever Date: Thu, 12 Jan 2023 09:48:30 -0800 Subject: [PATCH 063/189] Add missing `@CanIgnoreReturnValue` annotations to jimfs. RELNOTES=n/a PiperOrigin-RevId: 501591720 --- .../com/google/common/jimfs/AbstractWatchService.java | 2 ++ .../src/main/java/com/google/common/jimfs/Directory.java | 2 ++ .../java/com/google/common/jimfs/FileSystemState.java | 2 ++ .../java/com/google/common/jimfs/FileSystemView.java | 3 +++ .../com/google/common/jimfs/PollingWatchService.java | 2 ++ .../main/java/com/google/common/jimfs/RegularFile.java | 9 +++++++-- .../test/java/com/google/common/jimfs/FileTreeTest.java | 4 ++++ .../com/google/common/jimfs/JimfsOutputStreamTest.java | 2 +- .../test/java/com/google/common/jimfs/PathSubject.java | 2 ++ .../test/java/com/google/common/jimfs/PathTester.java | 1 + .../java/com/google/common/jimfs/RegularFileTest.java | 4 ++-- 11 files changed, 28 insertions(+), 5 deletions(-) diff --git a/jimfs/src/main/java/com/google/common/jimfs/AbstractWatchService.java b/jimfs/src/main/java/com/google/common/jimfs/AbstractWatchService.java index 6b4326d0..0bf2258a 100644 --- a/jimfs/src/main/java/com/google/common/jimfs/AbstractWatchService.java +++ b/jimfs/src/main/java/com/google/common/jimfs/AbstractWatchService.java @@ -24,6 +24,7 @@ import com.google.common.base.MoreObjects; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableSet; +import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.io.IOException; import java.nio.file.ClosedWatchServiceException; import java.nio.file.WatchEvent; @@ -271,6 +272,7 @@ public List> pollEvents() { return Collections.unmodifiableList(result); } + @CanIgnoreReturnValue @Override public boolean reset() { // calling reset() multiple times without polling events would cause key to be placed in diff --git a/jimfs/src/main/java/com/google/common/jimfs/Directory.java b/jimfs/src/main/java/com/google/common/jimfs/Directory.java index 83093e69..54130e91 100644 --- a/jimfs/src/main/java/com/google/common/jimfs/Directory.java +++ b/jimfs/src/main/java/com/google/common/jimfs/Directory.java @@ -19,6 +19,7 @@ import com.google.common.annotations.VisibleForTesting; import com.google.common.collect.AbstractIterator; import com.google.common.collect.ImmutableSortedSet; +import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.nio.file.attribute.FileTime; import java.util.Iterator; import org.checkerframework.checker.nullness.compatqual.NullableDecl; @@ -304,6 +305,7 @@ private static void addToBucket( * * @throws IllegalArgumentException if there is no entry with the given name in the directory */ + @CanIgnoreReturnValue @VisibleForTesting DirectoryEntry remove(Name name) { int index = bucketIndex(name, table.length); diff --git a/jimfs/src/main/java/com/google/common/jimfs/FileSystemState.java b/jimfs/src/main/java/com/google/common/jimfs/FileSystemState.java index e57a5f13..d203c2fd 100644 --- a/jimfs/src/main/java/com/google/common/jimfs/FileSystemState.java +++ b/jimfs/src/main/java/com/google/common/jimfs/FileSystemState.java @@ -20,6 +20,7 @@ import com.google.common.base.Throwables; import com.google.common.collect.Sets; +import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.io.Closeable; import java.io.IOException; import java.nio.file.ClosedFileSystemException; @@ -69,6 +70,7 @@ public void checkOpen() { * Registers the given resource to be closed when the file system is closed. Should be called when * the resource is opened. */ + @CanIgnoreReturnValue public C register(C resource) { // Initial open check to avoid incrementing registering if we already know it's closed. // This is to prevent any possibility of a weird pathalogical situation where the do/while diff --git a/jimfs/src/main/java/com/google/common/jimfs/FileSystemView.java b/jimfs/src/main/java/com/google/common/jimfs/FileSystemView.java index a27c4e45..c441edeb 100644 --- a/jimfs/src/main/java/com/google/common/jimfs/FileSystemView.java +++ b/jimfs/src/main/java/com/google/common/jimfs/FileSystemView.java @@ -28,6 +28,7 @@ import com.google.common.collect.ImmutableMap; import com.google.common.collect.ImmutableSortedSet; import com.google.common.collect.Lists; +import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.io.IOException; import java.nio.file.CopyOption; import java.nio.file.DirectoryNotEmptyException; @@ -226,6 +227,7 @@ public JimfsPath toRealPath( * Creates a new directory at the given path. The given attributes will be set on the new file if * possible. */ + @CanIgnoreReturnValue public Directory createDirectory(JimfsPath path, FileAttribute... attrs) throws IOException { return (Directory) createFile(path, store.directoryCreator(), true, attrs); } @@ -234,6 +236,7 @@ public Directory createDirectory(JimfsPath path, FileAttribute... attrs) thro * Creates a new symbolic link at the given path with the given target. The given attributes will * be set on the new file if possible. */ + @CanIgnoreReturnValue public SymbolicLink createSymbolicLink( JimfsPath path, JimfsPath target, FileAttribute... attrs) throws IOException { if (!store.supportsFeature(Feature.SYMBOLIC_LINKS)) { diff --git a/jimfs/src/main/java/com/google/common/jimfs/PollingWatchService.java b/jimfs/src/main/java/com/google/common/jimfs/PollingWatchService.java index b9438834..30fe39f6 100644 --- a/jimfs/src/main/java/com/google/common/jimfs/PollingWatchService.java +++ b/jimfs/src/main/java/com/google/common/jimfs/PollingWatchService.java @@ -26,6 +26,7 @@ import com.google.common.collect.ImmutableMap; import com.google.common.collect.Sets; import com.google.common.util.concurrent.ThreadFactoryBuilder; +import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.io.IOException; import java.nio.file.Path; import java.nio.file.WatchEvent; @@ -92,6 +93,7 @@ final class PollingWatchService extends AbstractWatchService { } @Override + @CanIgnoreReturnValue public Key register(Watchable watchable, Iterable> eventTypes) throws IOException { JimfsPath path = checkWatchable(watchable); diff --git a/jimfs/src/main/java/com/google/common/jimfs/RegularFile.java b/jimfs/src/main/java/com/google/common/jimfs/RegularFile.java index 171d97e8..f83b80d9 100644 --- a/jimfs/src/main/java/com/google/common/jimfs/RegularFile.java +++ b/jimfs/src/main/java/com/google/common/jimfs/RegularFile.java @@ -23,6 +23,7 @@ import com.google.common.annotations.VisibleForTesting; import com.google.common.primitives.UnsignedBytes; +import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.io.IOException; import java.nio.ByteBuffer; import java.nio.channels.FileChannel; @@ -224,6 +225,7 @@ private void deleteContents() { * nothing. Returns {@code true} if this file was modified by the call (its size changed) and * {@code false} otherwise. */ + @CanIgnoreReturnValue public boolean truncate(long size) { if (size >= this.size) { return false; @@ -281,6 +283,7 @@ private void prepareForWrite(long pos, long len) throws IOException { * * @throws IOException if the file needs more blocks but the disk is full */ + @CanIgnoreReturnValue public int write(long pos, byte b) throws IOException { prepareForWrite(pos, 1); @@ -303,6 +306,7 @@ public int write(long pos, byte b) throws IOException { * * @throws IOException if the file needs more blocks but the disk is full */ + @CanIgnoreReturnValue public int write(long pos, byte[] b, int off, int len) throws IOException { prepareForWrite(pos, len); @@ -344,6 +348,7 @@ public int write(long pos, byte[] b, int off, int len) throws IOException { * * @throws IOException if the file needs more blocks but the disk is full */ + @CanIgnoreReturnValue public int write(long pos, ByteBuffer buf) throws IOException { int len = buf.remaining(); @@ -381,6 +386,7 @@ public int write(long pos, ByteBuffer buf) throws IOException { * * @throws IOException if the file needs more blocks but the disk is full */ + @CanIgnoreReturnValue public long write(long pos, Iterable bufs) throws IOException { long start = pos; for (ByteBuffer buf : bufs) { @@ -641,10 +647,9 @@ private static int put(byte[] block, int offset, byte[] b, int off, int len) { } /** Puts the contents of the given byte buffer at the given offset in the given block. */ - private static int put(byte[] block, int offset, ByteBuffer buf) { + private static void put(byte[] block, int offset, ByteBuffer buf) { int len = Math.min(block.length - offset, buf.remaining()); buf.get(block, offset, len); - return len; } /** diff --git a/jimfs/src/test/java/com/google/common/jimfs/FileTreeTest.java b/jimfs/src/test/java/com/google/common/jimfs/FileTreeTest.java index 12dc7244..c919bf3c 100644 --- a/jimfs/src/test/java/com/google/common/jimfs/FileTreeTest.java +++ b/jimfs/src/test/java/com/google/common/jimfs/FileTreeTest.java @@ -25,6 +25,7 @@ import com.google.common.base.Joiner; import com.google.common.base.Splitter; import com.google.common.base.Strings; +import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.io.IOException; import java.nio.file.LinkOption; import java.nio.file.NoSuchFileException; @@ -440,6 +441,7 @@ private void assertParentExists(DirectoryEntry entry, String parent) { } } + @CanIgnoreReturnValue private File createDirectory(String parent, String name) { Directory dir = (Directory) files.get(parent); Directory newFile = Directory.create(new Random().nextInt(), fileTimeSource.now()); @@ -448,6 +450,7 @@ private File createDirectory(String parent, String name) { return newFile; } + @CanIgnoreReturnValue private File createFile(String parent, String name) { Directory dir = (Directory) files.get(parent); File newFile = regularFile(0); @@ -456,6 +459,7 @@ private File createFile(String parent, String name) { return newFile; } + @CanIgnoreReturnValue private File createSymbolicLink(String parent, String name, String target) { Directory dir = (Directory) files.get(parent); File newFile = diff --git a/jimfs/src/test/java/com/google/common/jimfs/JimfsOutputStreamTest.java b/jimfs/src/test/java/com/google/common/jimfs/JimfsOutputStreamTest.java index fdec32aa..4a8b1690 100644 --- a/jimfs/src/test/java/com/google/common/jimfs/JimfsOutputStreamTest.java +++ b/jimfs/src/test/java/com/google/common/jimfs/JimfsOutputStreamTest.java @@ -200,7 +200,7 @@ private static void addBytesToStore(JimfsOutputStream out, int... bytes) throws @SuppressWarnings("GuardedByChecker") private static void assertStoreContains(JimfsOutputStream out, int... bytes) { byte[] actualBytes = new byte[bytes.length]; - out.file.read(0, actualBytes, 0, actualBytes.length); + int unused = out.file.read(0, actualBytes, 0, actualBytes.length); assertArrayEquals(bytes(bytes), actualBytes); } } diff --git a/jimfs/src/test/java/com/google/common/jimfs/PathSubject.java b/jimfs/src/test/java/com/google/common/jimfs/PathSubject.java index 6be9b931..84b7c58f 100644 --- a/jimfs/src/test/java/com/google/common/jimfs/PathSubject.java +++ b/jimfs/src/test/java/com/google/common/jimfs/PathSubject.java @@ -425,9 +425,11 @@ public PathSubject createSubject(FailureMetadata failureMetadata, Path that) { public interface Attribute { /** Asserts that the value of this attribute is equal to the given value. */ + @CanIgnoreReturnValue Attribute is(Object value) throws IOException; /** Asserts that the value of this attribute is not equal to the given value. */ + @CanIgnoreReturnValue Attribute isNot(Object value) throws IOException; /** Returns the path subject for further chaining. */ diff --git a/jimfs/src/test/java/com/google/common/jimfs/PathTester.java b/jimfs/src/test/java/com/google/common/jimfs/PathTester.java index 9c4084cd..b23b2488 100644 --- a/jimfs/src/test/java/com/google/common/jimfs/PathTester.java +++ b/jimfs/src/test/java/com/google/common/jimfs/PathTester.java @@ -57,6 +57,7 @@ public PathTester names(Iterable names) { return this; } + @CanIgnoreReturnValue public PathTester names(String... names) { return names(Arrays.asList(names)); } diff --git a/jimfs/src/test/java/com/google/common/jimfs/RegularFileTest.java b/jimfs/src/test/java/com/google/common/jimfs/RegularFileTest.java index 6beb8873..77d756d3 100644 --- a/jimfs/src/test/java/com/google/common/jimfs/RegularFileTest.java +++ b/jimfs/src/test/java/com/google/common/jimfs/RegularFileTest.java @@ -576,7 +576,7 @@ public void testNonEmpty_read_fromPastEnd_byteArray() throws IOException { public void testNonEmpty_read_fromPastEnd_singleBuffer() throws IOException { fillContent("123"); ByteBuffer buffer = ByteBuffer.allocate(3); - file.read(3, buffer); + assertEquals(-1, file.read(3, buffer)); assertBufferEquals("000", 3, buffer); } @@ -896,7 +896,7 @@ private static void assertContentEquals(String expected, RegularFile actual) { protected static void assertContentEquals(byte[] expected, RegularFile actual) { assertEquals(expected.length, actual.sizeWithoutLocking()); byte[] actualBytes = new byte[(int) actual.sizeWithoutLocking()]; - actual.read(0, ByteBuffer.wrap(actualBytes)); + int unused = actual.read(0, ByteBuffer.wrap(actualBytes)); assertArrayEquals(expected, actualBytes); } } From b35d4c93ce9ded8af63821cd363df48d5a1f5f5c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 13 Jan 2023 11:03:32 -0800 Subject: [PATCH 064/189] Bump maven-surefire-plugin from 3.0.0-M7 to 3.0.0-M8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [maven-surefire-plugin](https://github.com/apache/maven-surefire) from 3.0.0-M7 to 3.0.0-M8.
Commits
  • 54dfdc1 [maven-release-plugin] prepare release surefire-3.0.0-M8
  • c068b12 [SUREFIRE-2109] Add suffix derived from current user to Surefire temp directo...
  • 0097a41 [SUREFIRE-1962] Unit test for ProviderInfo#isApplicable
  • d3dafe4 [SUREFIRE-2138] Update JUnit4/JUnit5 versions in ITs
  • dd70772 [SUREFIRE-2138] Update JUnit4/JUnit5 versions in docs
  • 6420f7c [SUREFIRE-2137] Run JUnitPlatform ITs with latest 5.8.x/5.9.x as well
  • 348bfa1 Disable build on Windows by Jenkins
  • 0c35f44 [SUREFIRE-2139] Replace EOL JDK18 with JDK19 in build
  • adfb7f5 [SUREFIRE-2139] Raise plexus-java to 1.1.2 for full Java 19 bytecode support
  • 4f4ac97 [SUREFIRE-2117] Include package + outer classes in XML report of @​Nested
  • Additional commits viewable in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.apache.maven.plugins:maven-surefire-plugin&package-manager=maven&previous-version=3.0.0-M7&new-version=3.0.0-M8)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #213 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/213 from google:dependabot/maven/org.apache.maven.plugins-maven-surefire-plugin-3.0.0-M8 ced3f99afc6aed70c498d8088c48ac5f51dee2bf PiperOrigin-RevId: 501891086 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 6b253572..17e564e2 100644 --- a/pom.xml +++ b/pom.xml @@ -198,7 +198,7 @@
maven-surefire-plugin - 3.0.0-M7 + 3.0.0-M8 org.apache.felix From 7c1d522a701cfc6a870b99ce77f2d6ceeda51110 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 21 Feb 2023 07:54:58 -0800 Subject: [PATCH 065/189] Bump maven-javadoc-plugin from 3.4.1 to 3.5.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [maven-javadoc-plugin](https://github.com/apache/maven-javadoc-plugin) from 3.4.1 to 3.5.0.
Release notes

Sourced from maven-javadoc-plugin's releases.

3.5.0

Release Notes

📝 Documentation updates

👻 Maintenance

Commits
  • e41f4fd [maven-release-plugin] prepare release maven-javadoc-plugin-3.5.0
  • c56ec0a [MJAVADOC-741] Upgrade plugins and components
  • d02fd90 [MJAVADOC-740] Upgrade Parent to 39
  • 4123315 [MJAVADOC-700] Plugin duplicates classes in Java 8 all-classes lists
  • fabff9c Clean up language and update URLs (#172)
  • a654cc6 Assorted minor FAQ edits (#176)
  • 73557e3 Fixed a typo in AbstractJavadocMojo (#175)
  • 96df545 [MJAVADOC-738] Upgrade commons-text to 1.10.0 (#174)
  • f21b24c update Reproducible Builds badge link
  • 5b61ee9 an --> a (#171)
  • Additional commits viewable in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.apache.maven.plugins:maven-javadoc-plugin&package-manager=maven&previous-version=3.4.1&new-version=3.5.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #216 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/216 from google:dependabot/maven/org.apache.maven.plugins-maven-javadoc-plugin-3.5.0 6876c957d0f2aa4b11929a8a68c23c97aaa22b41 PiperOrigin-RevId: 511200296 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 17e564e2..4a4ca3e3 100644 --- a/pom.xml +++ b/pom.xml @@ -176,7 +176,7 @@
maven-javadoc-plugin - 3.4.1 + 3.5.0 true UTF-8 From 67919281372c3067c2f33e2528aa5cdca01394bb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 21 Feb 2023 08:35:22 -0800 Subject: [PATCH 066/189] Bump maven-surefire-plugin from 3.0.0-M8 to 3.0.0-M9 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [maven-surefire-plugin](https://github.com/apache/maven-surefire) from 3.0.0-M8 to 3.0.0-M9.
Release notes

Sourced from maven-surefire-plugin's releases.

3.0.0-M9

🚀 New features and improvements

🐛 Bug Fixes

📦 Dependency updates

  • Bump log4j-core from 2.13.1 to 2.17.1 in /surefire-its/src/test/resources/surefire-1659-stream-corruption (#569) @​dependabot
  • Bump junit from 4.12 to 4.13.1 in /surefire-its/src/test/resources/surefire-2065-junit4 (#611) @​dependabot
  • Bump commons-email from 1.2 to 1.5 in /surefire-its/src/test/resources/classpath-filtering (#551) @​dependabot
Commits
  • 6463194 [maven-release-plugin] prepare release surefire-3.0.0-M9
  • bdec059 [SUREFIRE-2145] Don't use Sink#figure()/Sink#figureCaption() since it distort...
  • c2c4180 Bump log4j-core
  • c6ddebc Bump junit in /surefire-its/src/test/resources/surefire-2065-junit4 (#611)
  • ee5e81e [SUREFIRE-2146] Don't draw border around reporting tables (#596)
  • 11d0541 [SUREFIRE-2065] Fix parameterized JUnit4 test reporting (#608)
  • b8887b4 Bump commons-email
  • 59e096d [SUREFIRE-2095] Fork crash doesn't fail build with -Dmaven.test.failure.ignor...
  • 2c8fe40 [maven-release-plugin] prepare for next development iteration
  • See full diff in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.apache.maven.plugins:maven-surefire-plugin&package-manager=maven&previous-version=3.0.0-M8&new-version=3.0.0-M9)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #215 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/215 from google:dependabot/maven/org.apache.maven.plugins-maven-surefire-plugin-3.0.0-M9 72f792492153d219ea619ee74d5a5386699610ae PiperOrigin-RevId: 511209705 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 4a4ca3e3..a496ed77 100644 --- a/pom.xml +++ b/pom.xml @@ -198,7 +198,7 @@
maven-surefire-plugin - 3.0.0-M8 + 3.0.0-M9 org.apache.felix From 845b66d5f832b550b92d5cb0fe164727b2849889 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 28 Feb 2023 11:14:09 -0800 Subject: [PATCH 067/189] Bump maven-compiler-plugin from 3.8.1 to 3.11.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [maven-compiler-plugin](https://github.com/apache/maven-compiler-plugin) from 3.8.1 to 3.11.0.
Release notes

Sourced from maven-compiler-plugin's releases.

3.10.1

🚀 New features and improvements

🐛 Bug Fixes

📦 Dependency updates

Other contributions

3.10.0

🚨 Removed

🚀 New features and improvements

🐛 Bug Fixes

📦 Dependency updates

📝 Documentation updates

🔧 Build

... (truncated)

Commits
  • eeda628 [maven-release-plugin] prepare release maven-compiler-plugin-3.11.0
  • 82b799f [MCOMPILER-527] Upgrade plexus-java to 1.1.2 (#177)
  • f9c2350 [MCOMPILER-526] Fix IT (#178)
  • 4022bd0 [MCOMPILER-494] - Add a useModulePath switch to the testCompile mojo (#119)
  • f4a8a54 [MCOMPILER-525] Incorrect detection of dependency change (#172)
  • 86b9f59 [MCOMPILER-395] Allow dependency exclusions for 'annotationProcessorPaths' (#...
  • e304ceb [MCOMPILER-526] Ignore reformat commit for git blame
  • f7a4613 [MCOMPILER-526] Reformat
  • cc78aee [MCOMPILER-526] Upgrade to parent 39
  • 3dca82f [MCOMPILER-526] Add packages to please the formatter
  • Additional commits viewable in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.apache.maven.plugins:maven-compiler-plugin&package-manager=maven&previous-version=3.8.1&new-version=3.11.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #217 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/217 from google:dependabot/maven/org.apache.maven.plugins-maven-compiler-plugin-3.11.0 168f36ad22bf97fc81352dadaa42452a7d28117e PiperOrigin-RevId: 512987400 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index a496ed77..b19469e3 100644 --- a/pom.xml +++ b/pom.xml @@ -168,7 +168,7 @@ maven-compiler-plugin - 3.8.1 + 3.11.0 maven-source-plugin From ca77ebd7210c7014a5839b509e8ff08edc83dade Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 2 Mar 2023 07:52:15 -0800 Subject: [PATCH 068/189] Bump auto-common from 1.2 to 1.2.1 Bumps [auto-common](https://github.com/google/auto) from 1.2 to 1.2.1.
Release notes

Sourced from auto-common's releases.

AutoCommon 1.2.1

  • Remove usage of Guava 30 API (Comparators.min). (102506c3)
Commits
  • ae5b058 Set version number for auto-common to 1.2.1.
  • 102506c Remove usage of Guava 30 API (Comparators.min).
  • d6d9657 Bump errorprone.version from 2.9.0 to 2.10.0 in /value
  • 66c620d Bump auto-service from 1.0 to 1.0.1 in /value
  • c219995 Bump auto-service-annotations from 1.0 to 1.0.1 in /factory
  • 27f3297 Bump auto-service-annotations from 1.0 to 1.0.1 in /value
  • d8083fd Handle missing classes better in AutoService.
  • ce31cc1 Bump actions/checkout from 2.3.5 to 2.4.0
  • 0820e2e Make it easier to make a step-builder for AutoValue.
  • 15c7619 Use Java 11's Optional.isEmpty() method in docs: !optional.isPresent() -> `...
  • Additional commits viewable in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.google.auto:auto-common&package-manager=maven&previous-version=1.2&new-version=1.2.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #219 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/219 from google:dependabot/maven/com.google.auto-auto-common-1.2.1 a11e41e8482c36c0fc2b43b777137e946436705d PiperOrigin-RevId: 513536585 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index b19469e3..bba5f27e 100644 --- a/pom.xml +++ b/pom.xml @@ -95,7 +95,7 @@ UTF-8 1.0.1 - 1.2 + 1.2.1 1.7 31.1-android - - - -
@@ -293,57 +274,62 @@ - - - jdk8exactly + run-error-prone - 1.8 + + [11,12),[16,) - - - - maven-javadoc-plugin - - - https://checkerframework.org/api/ - https://guava.dev/releases/${guava.version}/api/docs/ - https://unicode-org.github.io/icu-docs/apidoc/released/icu4j - https://docs.oracle.com/javase/9/docs/api/ - - - - - - - org.apache.maven.plugins maven-compiler-plugin - true - - -J-Xbootclasspath/p:${settings.localRepository}/com/google/errorprone/javac/${javac.version}/javac-${javac.version}.jar + + + -XDcompilePolicy=simple + -Xplugin:ErrorProne + + + -J--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED + -J--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED + -J--add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED + -J--add-exports=jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED + -J--add-exports=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED + -J--add-exports=jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED + -J--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED + -J--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED + -J--add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED + -J--add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED - - - - maven-javadoc-plugin - - - https://checkerframework.org/api/ - https://guava.dev/releases/${guava.version}/api/docs/ - https://unicode-org.github.io/icu-docs/apidoc/released/icu4j - https://docs.oracle.com/javase/9/docs/api/ - - + + + default-testCompile + test-compile + + testCompile + + + + -XDcompilePolicy=simple + -Xplugin:ErrorProne -Xep:BetaApi:OFF + + + + + sonatype-oss-release From b0eb703cbedbd26d45877d8c198d158dc761b460 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 3 Mar 2023 12:09:41 -0800 Subject: [PATCH 070/189] Bump error_prone_core from 2.4.0 to 2.18.0 Bumps [error_prone_core](https://github.com/google/error-prone) from 2.4.0 to 2.18.0.
Release notes

Sourced from error_prone_core's releases.

Error Prone 2.18.0

New Checkers:

Fixes issues: #1650, #2706, #3404, #3493, #3504, #3519, #3579, #3610, #3632, #3638, #3645, #3646, #3652, #3690

Full Changelog: https://github.com/google/error-prone/compare/v2.17.0...v2.18.0

Error Prone 2.17.0

New Checkers:

Fixed issues: #2321, #3144, #3297, #3428, #3437, #3462, #3482, #3494

Full Changelog: https://github.com/google/error-prone/compare/v2.16...v2.17.0

Error Prone 2.16.0

New Checkers:

Fixed issues: #3092, #3220, #3225, #3267, #3441

Full Changelog: https://github.com/google/error-prone/compare/v2.15.0...v2.16

Error Prone 2.15.0

New Checkers:

... (truncated)

Commits
  • 34730de Release Error Prone 2.18.0
  • ee1e777 Remove DoNoCall flags for checking Thread.run and various getClass meth...
  • bb9ede9 Delete dependabot.yml
  • 7f459e1 Refaster: support method invocation type argument inlining
  • a57309b Add a check to reverse Yoda conditions.
  • 181f991 Use ASTHelpers.enclosingClass.
  • 360ed99 Don't generate a "Suppression" section that recommends `@SuppressWarnings("Ch...
  • c06c7b8 Look for infinite recursion in the first statement of multi-statement methods.
  • 0f5753f Reverse Yoda conditions in EP.
  • f36a502 Make MemoizeConstantVisitorStateLookups check suppressible
  • Additional commits viewable in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.google.errorprone:error_prone_core&package-manager=maven&previous-version=2.4.0&new-version=2.18.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #218 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/218 from google:dependabot/maven/com.google.errorprone-error_prone_core-2.18.0 64ca59906a476c754671a6855057c10016a0de16 PiperOrigin-RevId: 513888770 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index ff052940..e9725e37 100644 --- a/pom.xml +++ b/pom.xml @@ -104,7 +104,7 @@ it in the properties section of https://github.com/google/error-prone/blob/v${errorprone.version}/pom.xml --> - 2.4.0 + 2.18.0 9+181-r4173-1 From 560d1493164a1cef73f58cf869f72c8c4ae6d5de Mon Sep 17 00:00:00 2001 From: Jimfs Team Date: Thu, 9 Mar 2023 02:09:20 -0800 Subject: [PATCH 071/189] Internal Code Change PiperOrigin-RevId: 515274477 --- jimfs/src/test/java/com/google/common/jimfs/PathTester.java | 2 +- jimfs/src/test/java/com/google/common/jimfs/PathTypeTest.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jimfs/src/test/java/com/google/common/jimfs/PathTester.java b/jimfs/src/test/java/com/google/common/jimfs/PathTester.java index b23b2488..54a56b5d 100644 --- a/jimfs/src/test/java/com/google/common/jimfs/PathTester.java +++ b/jimfs/src/test/java/com/google/common/jimfs/PathTester.java @@ -112,7 +112,7 @@ private void testNames(Path path) { private void testParents(Path path) { Path parent = path.getParent(); - if (root != null && names.size() >= 1 || names.size() > 1) { + if ((root != null && names.size() >= 1) || names.size() > 1) { assertNotNull(parent); } diff --git a/jimfs/src/test/java/com/google/common/jimfs/PathTypeTest.java b/jimfs/src/test/java/com/google/common/jimfs/PathTypeTest.java index 59fc1142..a80ec0db 100644 --- a/jimfs/src/test/java/com/google/common/jimfs/PathTypeTest.java +++ b/jimfs/src/test/java/com/google/common/jimfs/PathTypeTest.java @@ -17,10 +17,10 @@ package com.google.common.jimfs; import static com.google.common.base.Preconditions.checkArgument; -import static com.google.common.jimfs.PathType.ParseResult; import static com.google.common.truth.Truth.assertThat; import com.google.common.collect.ImmutableList; +import com.google.common.jimfs.PathType.ParseResult; import java.net.URI; import org.checkerframework.checker.nullness.compatqual.NullableDecl; import org.junit.Test; From beb9c4bea5c390c65a1660dae69b4544db994cd3 Mon Sep 17 00:00:00 2001 From: Jimfs Team Date: Mon, 13 Mar 2023 21:02:38 -0700 Subject: [PATCH 072/189] Internal Code Change PiperOrigin-RevId: 516407392 --- .../com/google/common/jimfs/SystemJimfsFileSystemProvider.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jimfs/src/main/java/com/google/common/jimfs/SystemJimfsFileSystemProvider.java b/jimfs/src/main/java/com/google/common/jimfs/SystemJimfsFileSystemProvider.java index dcf3d02c..25bb4c95 100644 --- a/jimfs/src/main/java/com/google/common/jimfs/SystemJimfsFileSystemProvider.java +++ b/jimfs/src/main/java/com/google/common/jimfs/SystemJimfsFileSystemProvider.java @@ -173,7 +173,7 @@ private static Path toPath(FileSystem fileSystem, URI uri) { Method toPath = fileSystem.getClass().getDeclaredMethod("toPath", URI.class); return (Path) toPath.invoke(fileSystem, uri); } catch (NoSuchMethodException e) { - throw new IllegalArgumentException("invalid file system: " + fileSystem); + throw new IllegalArgumentException("invalid file system: " + fileSystem, e); } catch (InvocationTargetException | IllegalAccessException e) { throw new RuntimeException(e); } From 12af03bc273775503ad9d9b688013e1613893f77 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 16 Mar 2023 12:39:08 -0700 Subject: [PATCH 073/189] Bump maven-surefire-plugin from 3.0.0-M9 to 3.0.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [maven-surefire-plugin](https://github.com/apache/maven-surefire) from 3.0.0-M9 to 3.0.0.
Release notes

Sourced from maven-surefire-plugin's releases.

3.0.0

🚀 New features and improvements

🐛 Bug Fixes

📝 Documentation updates

👻 Maintenance

Commits
  • 41b640b [maven-release-plugin] prepare release surefire-3.0.0
  • 1b49cdb [SUREFIRE-2156] Refresh download page
  • 6669b03 [SUREFIRE-2150] Remove duplicate license headers
  • c6ccef3 Don't fast break builds on GitHub
  • 2709f76 [SUREFIRE-2154] Get rid of localRepository from surefire mojo parameter, use ...
  • 052ce53 [SUREFIRE-2150] upgrade to parent pom 39 (#614)
  • 208eae2 Sanitize failIfNoSpecifiedTests prefix in failsafe
  • b8246dc [SUREFIRE-2143] Fix reporting of skipped parameterized test
  • 11bbdc9 [SUREFIRE-2149] Make all ITs run with Maven 3.9.0
  • 1f0c261 remove this file, not sure why this was here...
  • Additional commits viewable in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.apache.maven.plugins:maven-surefire-plugin&package-manager=maven&previous-version=3.0.0-M9&new-version=3.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #223 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/223 from google:dependabot/maven/org.apache.maven.plugins-maven-surefire-plugin-3.0.0 e763b03efbfe6fd6cc667c8bd6dd41eac2927d2a PiperOrigin-RevId: 517198461 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index e9725e37..ac51d430 100644 --- a/pom.xml +++ b/pom.xml @@ -198,7 +198,7 @@
maven-surefire-plugin - 3.0.0-M9 + 3.0.0 org.apache.felix From 64c1f9958c376f7874f8623ae948e81f6afc0b1d Mon Sep 17 00:00:00 2001 From: cpovirk Date: Mon, 27 Mar 2023 14:02:31 -0700 Subject: [PATCH 074/189] [Pin](https://github.com/ossf/scorecard/blob/main/docs/checks.md#pinned-dependencies) (and sometimes update) GitHub actions versions. Compare https://github.com/google/guava/pull/5984 RELNOTES=n/a PiperOrigin-RevId: 519822561 --- .github/workflows/ci.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3881d8d7..19e5894e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,20 +27,20 @@ jobs: steps: # Cancel any previous runs for the same branch that are still running. - name: 'Cancel previous runs' - uses: styfle/cancel-workflow-action@0.11.0 + uses: styfle/cancel-workflow-action@b173b6ec0100793626c2d9e6b90435061f4fc3e5 with: access_token: ${{ github.token }} - name: 'Check out repository' - uses: actions/checkout@v3 + uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 - name: 'Cache local Maven repository' - uses: actions/cache@v3 + uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} restore-keys: | ${{ runner.os }}-maven- - name: 'Set up JDK ${{ matrix.java }}' - uses: actions/setup-java@v3 + uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 with: java-version: ${{ matrix.java }} distribution: 'zulu' @@ -58,16 +58,16 @@ jobs: runs-on: ubuntu-latest steps: - name: 'Check out repository' - uses: actions/checkout@v3 + uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 - name: 'Cache local Maven repository' - uses: actions/cache@v3 + uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} restore-keys: | ${{ runner.os }}-maven- - name: 'Set up JDK 8' - uses: actions/setup-java@v3 + uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 with: java-version: 8 distribution: 'zulu' @@ -87,16 +87,16 @@ jobs: runs-on: ubuntu-latest steps: - name: 'Check out repository' - uses: actions/checkout@v3 + uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 - name: 'Cache local Maven repository' - uses: actions/cache@v3 + uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} restore-keys: | ${{ runner.os }}-maven- - name: 'Set up JDK 11' - uses: actions/setup-java@v3 + uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 with: java-version: 11 distribution: 'zulu' From 3499b61f2f96550149a29702a083b5c9c245205a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 13 Apr 2023 06:57:50 -0700 Subject: [PATCH 075/189] Bump actions/checkout from 3.5.0 to 3.5.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [actions/checkout](https://github.com/actions/checkout) from 3.5.0 to 3.5.1.
Release notes

Sourced from actions/checkout's releases.

v3.5.1

What's Changed

New Contributors

Full Changelog: https://github.com/actions/checkout/compare/v3.5.0...v3.5.1

Changelog

Sourced from actions/checkout's changelog.

Changelog

v3.5.1

v3.5.0

v3.4.0

v3.3.0

v3.2.0

v3.1.0

v3.0.2

v3.0.1

v3.0.0

v2.3.1

v2.3.0

v2.2.0

... (truncated)

Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/checkout&package-manager=github_actions&previous-version=3.5.0&new-version=3.5.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #226 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/226 from google:dependabot/github_actions/actions/checkout-3.5.1 823b8029c5c64244b51577e8d41ef64bf4dea55d PiperOrigin-RevId: 523989300 --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 19e5894e..e5ef3d53 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,7 @@ jobs: with: access_token: ${{ github.token }} - name: 'Check out repository' - uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 + uses: actions/checkout@83b7061638ee4956cf7545a6f7efe594e5ad0247 - name: 'Cache local Maven repository' uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 with: @@ -58,7 +58,7 @@ jobs: runs-on: ubuntu-latest steps: - name: 'Check out repository' - uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 + uses: actions/checkout@83b7061638ee4956cf7545a6f7efe594e5ad0247 - name: 'Cache local Maven repository' uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 with: @@ -87,7 +87,7 @@ jobs: runs-on: ubuntu-latest steps: - name: 'Check out repository' - uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 + uses: actions/checkout@83b7061638ee4956cf7545a6f7efe594e5ad0247 - name: 'Cache local Maven repository' uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 with: From 3f3b6a2e975c1eab49ce15e3d617cf62e9bb64d9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 14 Apr 2023 06:34:13 -0700 Subject: [PATCH 076/189] Bump icu4j from 72.1 to 73.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [icu4j](https://github.com/unicode-org/icu) from 72.1 to 73.1.
Release notes

Sourced from icu4j's releases.

ICU 73.1

We are pleased to announce the release of Unicode® ICU 73. It updates to CLDR 43 locale data with various additions and corrections.

ICU 73 improves Japanese and Korean short-text line breaking, reduces C++ memory use in date formatting, and promotes the Java person name formatter from tech preview to draft.

ICU 73 and CLDR 43 are minor releases, mostly focused on bug fixes and small enhancements. (The fall CLDR/ICU releases will update to Unicode 15.1 which is planned for September.)

ICU 73 updates to the time zone data version 2023c (2023-mar). Note that pre-1970 data for a number of time zones has been removed, as has been the case in the upstream tzdata release since 2021b.

For details, please see https://icu.unicode.org/download/73.

Note: The prebuilt WinARM64 binaries below should be considered alpha/experimental.

ICU 73 RC

We are pleased to announce the release candidate for Unicode® ICU 73. It updates to CLDR 43 locale data with various additions and corrections.

ICU 73 improves Japanese and Korean short-text line breaking, reduces C++ memory use in date formatting, and promotes the Java person name formatter from tech preview to draft.

ICU 73 and CLDR 43 are minor releases, mostly focused on bug fixes and small enhancements. (The fall CLDR/ICU releases will update to Unicode 15.1 which is planned for September.)

ICU 73 updates to the time zone data version 2022g (2022-nov). Note that pre-1970 data for a number of time zones has been removed, as has been the case in the upstream tzdata release since 2021b.

For details, please see https://icu.unicode.org/download/73.

Please test this release candidate on your platforms and report bugs and regressions by Tuesday, 2023-apr-11, via the icu-support mailing list, and/or please find/submit error reports.

Please do not use this release candidate in production.

The preliminary API reference documents are published on unicode-org.github.io/icu-docs/ – follow the “Dev” links there.

Note: The prebuilt WinARM64 binaries below should be considered alpha/experimental.

Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.ibm.icu:icu4j&package-manager=maven&previous-version=72.1&new-version=73.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #228 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/228 from google:dependabot/maven/com.ibm.icu-icu4j-73.1 155d80852587a20f58f750c81f175c5355e01fb1 PiperOrigin-RevId: 524276671 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index ac51d430..628c7ed9 100644 --- a/pom.xml +++ b/pom.xml @@ -121,7 +121,7 @@ com.ibm.icu icu4j - 72.1 + 73.1 From 84289910f7dcb2ac223f24f1fe2d7297034c8035 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 14 Apr 2023 06:34:15 -0700 Subject: [PATCH 077/189] Bump actions/checkout from 3.5.1 to 3.5.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [actions/checkout](https://github.com/actions/checkout) from 3.5.1 to 3.5.2.
Release notes

Sourced from actions/checkout's releases.

v3.5.2

What's Changed

Full Changelog: https://github.com/actions/checkout/compare/v3.5.1...v3.5.2

Changelog

Sourced from actions/checkout's changelog.

Changelog

v3.5.2

v3.5.1

v3.5.0

v3.4.0

v3.3.0

v3.2.0

v3.1.0

v3.0.2

v3.0.1

v3.0.0

v2.3.1

v2.3.0

... (truncated)

Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/checkout&package-manager=github_actions&previous-version=3.5.1&new-version=3.5.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #227 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/227 from google:dependabot/github_actions/actions/checkout-3.5.2 739bf24e7bf4e9b97491916654784a31f1129073 PiperOrigin-RevId: 524276677 --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e5ef3d53..0b133b7c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,7 @@ jobs: with: access_token: ${{ github.token }} - name: 'Check out repository' - uses: actions/checkout@83b7061638ee4956cf7545a6f7efe594e5ad0247 + uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab - name: 'Cache local Maven repository' uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 with: @@ -58,7 +58,7 @@ jobs: runs-on: ubuntu-latest steps: - name: 'Check out repository' - uses: actions/checkout@83b7061638ee4956cf7545a6f7efe594e5ad0247 + uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab - name: 'Cache local Maven repository' uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 with: @@ -87,7 +87,7 @@ jobs: runs-on: ubuntu-latest steps: - name: 'Check out repository' - uses: actions/checkout@83b7061638ee4956cf7545a6f7efe594e5ad0247 + uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab - name: 'Cache local Maven repository' uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 with: From 6a057ff63cf9275fa437d9b408ffd7b9c854d0cc Mon Sep 17 00:00:00 2001 From: ascopes <73482956+ascopes@users.noreply.github.com> Date: Tue, 18 Apr 2023 15:13:20 -0700 Subject: [PATCH 078/189] Add Automatic-Module-Name to JAR to provide JDK-9 support. Any builds on JDK-9 or newer that use modules and have this dependency will currently produce a warning: Required filename-based automodules detected: [jimfs-1.2.jar]. Please don't publish this project to a public artifact repository! This should address that issue. For all other purposes this JAR appears to work fine in Java 9 and newer (I am currently using it for a JDK-17-based project). Fixes #180 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/180 from ascopes:task/java9-module-support eec44a27d4cb2d1c56f33bed9f93ac41553aebbc PiperOrigin-RevId: 525264585 --- pom.xml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/pom.xml b/pom.xml index 628c7ed9..bd14c680 100644 --- a/pom.xml +++ b/pom.xml @@ -238,6 +238,18 @@
+ + + org.apache.maven.plugins + maven-jar-plugin + + + + com.google.common.jimfs + + + + From 3d2eec6c53aa0a27b6f9521c45506b739a28ad98 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 8 May 2023 06:31:29 -0700 Subject: [PATCH 079/189] Bump maven-gpg-plugin from 3.0.1 to 3.1.0 Bumps [maven-gpg-plugin](https://github.com/apache/maven-gpg-plugin) from 3.0.1 to 3.1.0.
Commits
  • 699e2ad [maven-release-plugin] prepare release maven-gpg-plugin-3.1.0
  • f314f8e [MGPG-97] use gpgverify plugin to check dependencies signatures
  • bad6b57 [MGPG-96] add INFO message
  • 0498a82 [MGPG-95] don't GPG-sign .sigstore signatures
  • 09b5be9 Auto-link MGPG Jira
  • 1e0472f extract FilesCollector
  • af9ccfd [MGPG-94] Ignore reformatting
  • 5e51734 [MGPG-94] Integration tests - convert and reformat bsh to groovy
  • 955ea0e [MGPG-94] Reformat code
  • e160f43 [MGPG-94] Bump maven-plugins from 36 to 39
  • Additional commits viewable in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.apache.maven.plugins:maven-gpg-plugin&package-manager=maven&previous-version=3.0.1&new-version=3.1.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #233 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/233 from google:dependabot/maven/org.apache.maven.plugins-maven-gpg-plugin-3.1.0 3b65d75f2ab175e1bf2e852de7344686521ad1ce PiperOrigin-RevId: 530287211 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index bd14c680..ac3bbc71 100644 --- a/pom.xml +++ b/pom.xml @@ -194,7 +194,7 @@ maven-gpg-plugin - 3.0.1 + 3.1.0 maven-surefire-plugin From 17a612854d8064c9332fb193e2e005d438cf514e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 11 May 2023 11:58:18 -0700 Subject: [PATCH 080/189] Bump error_prone_core from 2.18.0 to 2.19.1 Bumps [error_prone_core](https://github.com/google/error-prone) from 2.18.0 to 2.19.1.
Release notes

Sourced from error_prone_core's releases.

Error Prone 2.19.1

This release fixes a binary compatibility issue when running on JDK 11, see #3895

Full Changelog: https://github.com/google/error-prone/compare/v2.19.0...v2.19.1

Error Prone 2.19.0

New Checkers:

Fixes issues: #956, #3504, #3654, #3703, #3731, #3737, #3760, #3779, #3796, #3809, #3813

Full Changelog: https://github.com/google/error-prone/compare/v2.18.0...v2.19.0

Commits
  • 66ca96f Release Error Prone 2.19.1
  • c2b71f9 Update ci.yml
  • 25d34de Update ci.yml
  • 62355bf Update ci.yml
  • 020a541 Update JDK versions, and test compatibility on JDK 11
  • 5da8e9a Fix binary compatibility issues when building on JDK 17 and running on JDK 11...
  • 7335ba2 Don't consider overloads to have a functional interface clash if the paramete...
  • 94a93e9 Fix ImmutableChecker to allow wildcard @ImmutableTypeParameters which are...
  • b482675 Fix some javadoc lint
  • 80a944b Update nexus-staging-maven-plugin version
  • Additional commits viewable in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.google.errorprone:error_prone_core&package-manager=maven&previous-version=2.18.0&new-version=2.19.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #236 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/236 from google:dependabot/maven/com.google.errorprone-error_prone_core-2.19.1 972e4620e34add5d6c81189fe3b6b79c897a985a PiperOrigin-RevId: 531267703 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index ac3bbc71..acfc5ba3 100644 --- a/pom.xml +++ b/pom.xml @@ -104,7 +104,7 @@ it in the properties section of https://github.com/google/error-prone/blob/v${errorprone.version}/pom.xml --> - 2.18.0 + 2.19.1 9+181-r4173-1 From 8fc6d48e1fecdeb5b24fa60ad7efee7838dab869 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 18 May 2023 08:30:18 -0700 Subject: [PATCH 081/189] Bump maven-bundle-plugin from 5.1.8 to 5.1.9 Bumps maven-bundle-plugin from 5.1.8 to 5.1.9. [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.apache.felix:maven-bundle-plugin&package-manager=maven&previous-version=5.1.8&new-version=5.1.9)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #237 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/237 from google:dependabot/maven/org.apache.felix-maven-bundle-plugin-5.1.9 b6cef42d4cd359b95542980e771deefd89699c15 PiperOrigin-RevId: 533137345 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index acfc5ba3..30e15731 100644 --- a/pom.xml +++ b/pom.xml @@ -203,7 +203,7 @@ org.apache.felix maven-bundle-plugin - 5.1.8 + 5.1.9 From faf8ec0dcbd7a6b7b9a2e07795d4c0e7360177e7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 22 May 2023 07:18:09 -0700 Subject: [PATCH 082/189] Bump maven-source-plugin from 3.2.1 to 3.3.0 Bumps [maven-source-plugin](https://github.com/apache/maven-source-plugin) from 3.2.1 to 3.3.0.
Commits
  • 02a9847 [maven-release-plugin] prepare release maven-source-plugin-3.3.0
  • f186993 [MSOURCES-135] Cleanup project code
  • 021af55 [MSOURCES-134] Refresh download page
  • b11a457 Use shared GitHub actions v3
  • 7caf2b0 [MSOURCES-133] Upgrade Parent to 39 - ignore git blame
  • dee4c10 [MSOURCES-133] Upgrade Parent to 39
  • 452111f Add dependabot configuration
  • e691ac3 s/MSOURCE/MSOURCES/
  • 1ddffd8 Auto-link MSOURCE Jira
  • 37ffefe Add pull request template
  • Additional commits viewable in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.apache.maven.plugins:maven-source-plugin&package-manager=maven&previous-version=3.2.1&new-version=3.3.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #238 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/238 from google:dependabot/maven/org.apache.maven.plugins-maven-source-plugin-3.3.0 f6228adf4395f2c3b1bdc1bc91721e3a70c2b7e4 PiperOrigin-RevId: 534055928 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 30e15731..74c6f857 100644 --- a/pom.xml +++ b/pom.xml @@ -172,7 +172,7 @@
maven-source-plugin - 3.2.1 + 3.3.0 maven-javadoc-plugin From 5b60a42eb9d3cd7a2073d549bd0cb833f5a7e7e9 Mon Sep 17 00:00:00 2001 From: cpovirk Date: Tue, 30 May 2023 11:56:29 -0700 Subject: [PATCH 083/189] Target Java 8: - Set `-source 8 -target 8`. We already have a depencdency on `guava-android`, which began requiring Java 8 a while back, so we might as well unlock the ability to use Java 8 language features ourselves. (I also found I had to set `-source 8` in `maven-javadoc-plugin` to prevent it from trying to pass a `--module-path`, which leads to problems with our usages of `@NullableDecl`, which isn't in a module. That's probably unrelated: We probably just haven't run Javadoc since some `maven-javadoc-plugin` upgrade.) Work toward https://github.com/google/jimfs/pull/240, and fixes https://github.com/google/jimfs/issues/229 - Don't refer to Java 9+ `ByteBuffer` methods, and set up Error Prone enforcement of future such mistakes. Compare https://github.com/google/guava/pull/6334. Fixes https://github.com/google/jimfs/issues/113 RELNOTES=Officially dropped support for Java 7, and restored accidentally dropped support for Java 8. PiperOrigin-RevId: 536468340 --- README.md | 2 +- .../common/jimfs/Java8Compatibility.java | 29 +++++++++++++++++++ .../com/google/common/jimfs/RegularFile.java | 4 +-- pom.xml | 5 ++-- 4 files changed, 35 insertions(+), 5 deletions(-) create mode 100644 jimfs/src/main/java/com/google/common/jimfs/Java8Compatibility.java diff --git a/README.md b/README.md index 9cfe0dfe..f14e9ca6 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ Jimfs ===== -Jimfs is an in-memory file system for Java 7 and above, implementing the +Jimfs is an in-memory file system for Java 8 and above, implementing the [java.nio.file](http://docs.oracle.com/javase/7/docs/api/java/nio/file/package-summary.html) abstract file system APIs. diff --git a/jimfs/src/main/java/com/google/common/jimfs/Java8Compatibility.java b/jimfs/src/main/java/com/google/common/jimfs/Java8Compatibility.java new file mode 100644 index 00000000..522f5444 --- /dev/null +++ b/jimfs/src/main/java/com/google/common/jimfs/Java8Compatibility.java @@ -0,0 +1,29 @@ +/* + * Copyright 2020 Google Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ + +package com.google.common.jimfs; + +import java.nio.Buffer; + +/** + * Wrappers around {@link Buffer} methods that are covariantly overridden in Java 9+. See + * https://github.com/google/guava/issues/3990 + */ +final class Java8Compatibility { + static void clear(Buffer b) { + b.clear(); + } + + private Java8Compatibility() {} +} diff --git a/jimfs/src/main/java/com/google/common/jimfs/RegularFile.java b/jimfs/src/main/java/com/google/common/jimfs/RegularFile.java index f83b80d9..57ea576d 100644 --- a/jimfs/src/main/java/com/google/common/jimfs/RegularFile.java +++ b/jimfs/src/main/java/com/google/common/jimfs/RegularFile.java @@ -579,7 +579,7 @@ public long transferTo(long pos, long count, WritableByteChannel dest) throws IO while (buf.hasRemaining()) { remaining -= dest.write(buf); } - buf.clear(); + Java8Compatibility.clear(buf); while (remaining > 0) { int index = ++blockIndex; @@ -589,7 +589,7 @@ public long transferTo(long pos, long count, WritableByteChannel dest) throws IO while (buf.hasRemaining()) { remaining -= dest.write(buf); } - buf.clear(); + Java8Compatibility.clear(buf); } } diff --git a/pom.xml b/pom.xml index 74c6f857..4a74fd2f 100644 --- a/pom.xml +++ b/pom.xml @@ -96,7 +96,7 @@ UTF-8 1.0.1 1.2.1 - 1.7 + 1.8 31.1-android -XDcompilePolicy=simple - -Xplugin:ErrorProne + -Xplugin:ErrorProne -Xep:Java8ApiChecker:ERROR From f5847661513cf2c109c37873e89143633e410ab1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 31 May 2023 13:54:30 -0700 Subject: [PATCH 086/189] Bump guava.version from 31.1-android to 32.0.0-android Bumps `guava.version` from 31.1-android to 32.0.0-android. Updates `guava` from 31.1-android to 32.0.0-android
Commits

Updates `guava-testlib` from 31.1-android to 32.0.0-android
Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #240 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/240 from google:dependabot/maven/guava.version-32.0.0-android 4ba4b5d832dad8b198cfe4edc2a671882e739d33 PiperOrigin-RevId: 536814213 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index c0769467..1a937a38 100644 --- a/pom.xml +++ b/pom.xml @@ -97,7 +97,7 @@ 1.0.1 1.2.1 1.8 - 31.1-android + 32.0.0-android From 82c6627911dcd16465ae45f4d3dc445e6ea03987 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 7 Jun 2023 07:18:05 -0700 Subject: [PATCH 091/189] Bump maven-surefire-plugin from 3.1.0 to 3.1.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [maven-surefire-plugin](https://github.com/apache/maven-surefire) from 3.1.0 to 3.1.2.
Release notes

Sourced from maven-surefire-plugin's releases.

3.1.2

Release Notes - Maven Surefire - Version 3.1.2

📦 Dependency updates

👻 Maintenance

Commits
  • 5e097b5 [maven-release-plugin] prepare release surefire-3.1.2
  • 255bb51 Update commons compress to 1.23.0
  • a77dfb2 Drop unused commons-lang 2.6 from management (#661)
  • 95e8e95 [SUREFIRE-2157] Upgrade junit-jupiter to 5.9.3/junit-platform to 1.9.2
  • 9092b5e [SUREFIRE-2157] Upgrade surefire IT to 3.1.0
  • 1af92f5 Remove old junittoolbox dependency no longer used (#658)
  • 8878ed5 update test libraries (#657)
  • a6613a8 Remove redundant space
  • e0e89e4 update commons-io to 2.12.0
  • d8ac134 [MNGSITE-393] remove descriptions of Maven 2.x and very old versions
  • Additional commits viewable in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.apache.maven.plugins:maven-surefire-plugin&package-manager=maven&previous-version=3.1.0&new-version=3.1.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #246 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/246 from google:dependabot/maven/org.apache.maven.plugins-maven-surefire-plugin-3.1.2 059a19e236fa7d0ca8d3a58f56fc4c69dcdee6b1 PiperOrigin-RevId: 538478644 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index b0643962..a75c5e20 100644 --- a/pom.xml +++ b/pom.xml @@ -199,7 +199,7 @@
maven-surefire-plugin - 3.1.0 + 3.1.2 org.apache.felix From 5245e599016ecb3cc52d2dc0face91c4dc90fda6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 9 Jun 2023 07:53:54 -0700 Subject: [PATCH 092/189] Bump guava.version from 32.0.0-android to 32.0.1-android Bumps `guava.version` from 32.0.0-android to 32.0.1-android. Updates `guava` from 32.0.0-android to 32.0.1-android
Release notes

Sourced from guava's releases.

32.0.1

Maven

<dependency>
  <groupId>com.google.guava</groupId>
  <artifactId>guava</artifactId>
  <version>32.0.1-jre</version>
  <!-- or, for Android: -->
  <version>32.0.1-android</version>
</dependency>

Jar files

Guava requires one runtime dependency, which you can download here:

Javadoc

JDiff

Changelog

  • io: Fixed Files.createTempDir and FileBackedOutputStream under Windows, which broke as part of the security fix in release 32.0.0. Sorry for the trouble. (fdbf77d3f2)
Commits

Updates `guava-testlib` from 32.0.0-android to 32.0.1-android
Release notes

Sourced from guava-testlib's releases.

32.0.1

Maven

<dependency>
  <groupId>com.google.guava</groupId>
  <artifactId>guava</artifactId>
  <version>32.0.1-jre</version>
  <!-- or, for Android: -->
  <version>32.0.1-android</version>
</dependency>

Jar files

Guava requires one runtime dependency, which you can download here:

Javadoc

JDiff

Changelog

  • io: Fixed Files.createTempDir and FileBackedOutputStream under Windows, which broke as part of the security fix in release 32.0.0. Sorry for the trouble. (fdbf77d3f2)
Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #247 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/247 from google:dependabot/maven/guava.version-32.0.1-android 8eb65438c695bf686bd530583c8683b75c3ff8a5 PiperOrigin-RevId: 539081172 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index a75c5e20..d737c3c7 100644 --- a/pom.xml +++ b/pom.xml @@ -97,7 +97,7 @@ 1.1.0 1.2.1 1.8 - 32.0.0-android + 32.0.1-android

... (truncated)

Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/checkout&package-manager=github_actions&previous-version=3.5.2&new-version=3.5.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #248 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/248 from google:dependabot/github_actions/actions/checkout-3.5.3 00dc91209e826bb0905fdc3ae24b5aa10556f444 PiperOrigin-RevId: 539658264 --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0b133b7c..71e8de50 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,7 @@ jobs: with: access_token: ${{ github.token }} - name: 'Check out repository' - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab + uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 - name: 'Cache local Maven repository' uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 with: @@ -58,7 +58,7 @@ jobs: runs-on: ubuntu-latest steps: - name: 'Check out repository' - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab + uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 - name: 'Cache local Maven repository' uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 with: @@ -87,7 +87,7 @@ jobs: runs-on: ubuntu-latest steps: - name: 'Check out repository' - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab + uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 - name: 'Cache local Maven repository' uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 with: From 13e3b4fca9af142504a2e79ddd98f9100933e704 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 13 Jun 2023 09:48:21 -0700 Subject: [PATCH 094/189] Bump auto-common from 1.2.1 to 1.2.2 Bumps [auto-common](https://github.com/google/auto) from 1.2.1 to 1.2.2.
Release notes

Sourced from auto-common's releases.

auto-common-1.2.2

What's Changed

  • No functional changes.
  • Dependencies updated.

Full Changelog: https://github.com/google/auto/compare/auto-common-1.2.1...auto-common-1.2.2

Commits
  • 3aefd84 Set version number for auto-common
  • 7394c75 Update Auto projects to Guava 32.0.1-jre.
  • f8955c9 Prepare AutoFactoryProcessorTest for future changes.
  • d3a6beb Bump kotlin.version from 1.8.21 to 1.8.22 in /value
  • 6c5c548 Bump maven-surefire-plugin from 3.1.0 to 3.1.2 in /factory
  • 6d244be Bump maven-surefire-plugin from 3.1.0 to 3.1.2 in /value
  • 45dde3d Bump maven-failsafe-plugin from 3.1.0 to 3.1.2 in /value
  • b5345e6 Use try-with-resources instead of Closer.
  • e27cfe2 Update Guava dependencies.
  • 7d46d87 In a test, replace an obsolete JSpecify package name with a fictional one.
  • Additional commits viewable in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.google.auto:auto-common&package-manager=maven&previous-version=1.2.1&new-version=1.2.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #249 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/249 from google:dependabot/maven/com.google.auto-auto-common-1.2.2 dcfb2dbda07c041dddb9735c44cce004bcda54af PiperOrigin-RevId: 539991838 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index d737c3c7..0baa4914 100644 --- a/pom.xml +++ b/pom.xml @@ -95,7 +95,7 @@ UTF-8 1.1.0 - 1.2.1 + 1.2.2 1.8 32.0.1-android From b75f865ecdcb3afad3e9a8e5b13bac202a78b33e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 20 Jun 2023 08:12:17 -0700 Subject: [PATCH 096/189] Bump truth from 1.1.4 to 1.1.5 Bumps [truth](https://github.com/google/truth) from 1.1.4 to 1.1.5.
Commits
  • 3338714 Set version number for truth-parent to 1.1.5.
  • bf913b0 Bump actions/checkout from 3.5.2 to 3.5.3
  • d75d0b6 Fix NPE when actual is null
  • 70523e2 Bump guava.android.version from 32.0.0-android to 32.0.1-android
  • 7681276 Bump maven-project-info-reports-plugin from 3.4.4 to 3.4.5
  • 3b73756 Bump maven-surefire-plugin from 3.1.0 to 3.1.2
  • 012dc2f Bump checker-qual from 3.34.0 to 3.35.0
  • 80d1996 Bump protobuf-java from 3.23.1 to 3.23.2
  • f3f5ab0 Bump maven-gpg-plugin from 3.0.1 to 3.1.0
  • 7d0c796 Remove old release script.
  • See full diff in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.google.truth:truth&package-manager=maven&previous-version=1.1.4&new-version=1.1.5)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #252 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/252 from google:dependabot/maven/com.google.truth-truth-1.1.5 5757ecf0875950edf46484748427726aa6fa4992 PiperOrigin-RevId: 541926753 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index ce17a881..08d73606 100644 --- a/pom.xml +++ b/pom.xml @@ -157,7 +157,7 @@ com.google.truth truth - 1.1.4 + 1.1.5 test From c78b022f4b8ef4932ac36022ff39f2b345610507 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 20 Jun 2023 10:34:06 -0700 Subject: [PATCH 097/189] Bump auto-service.version from 1.1.0 to 1.1.1 Bumps `auto-service.version` from 1.1.0 to 1.1.1. Updates `auto-service-annotations` from 1.1.0 to 1.1.1
Release notes

Sourced from auto-service-annotations's releases.

auto-service-1.1.1

What's Changed

  • No functional changes.
  • Dependencies updated.
  • Some minor code improvements.

Full Changelog: https://github.com/google/auto/compare/auto-service-1.1.0...auto-service-1.1.1

Commits
  • b890639 Set version number for auto-service-aggregator
  • 7394c75 Update Auto projects to Guava 32.0.1-jre.
  • f8955c9 Prepare AutoFactoryProcessorTest for future changes.
  • d3a6beb Bump kotlin.version from 1.8.21 to 1.8.22 in /value
  • 6c5c548 Bump maven-surefire-plugin from 3.1.0 to 3.1.2 in /factory
  • 6d244be Bump maven-surefire-plugin from 3.1.0 to 3.1.2 in /value
  • 45dde3d Bump maven-failsafe-plugin from 3.1.0 to 3.1.2 in /value
  • b5345e6 Use try-with-resources instead of Closer.
  • e27cfe2 Update Guava dependencies.
  • 7d46d87 In a test, replace an obsolete JSpecify package name with a fictional one.
  • Additional commits viewable in compare view

Updates `auto-service` from 1.1.0 to 1.1.1
Release notes

Sourced from auto-service's releases.

auto-service-1.1.1

What's Changed

  • No functional changes.
  • Dependencies updated.
  • Some minor code improvements.

Full Changelog: https://github.com/google/auto/compare/auto-service-1.1.0...auto-service-1.1.1

Commits
  • b890639 Set version number for auto-service-aggregator
  • 7394c75 Update Auto projects to Guava 32.0.1-jre.
  • f8955c9 Prepare AutoFactoryProcessorTest for future changes.
  • d3a6beb Bump kotlin.version from 1.8.21 to 1.8.22 in /value
  • 6c5c548 Bump maven-surefire-plugin from 3.1.0 to 3.1.2 in /factory
  • 6d244be Bump maven-surefire-plugin from 3.1.0 to 3.1.2 in /value
  • 45dde3d Bump maven-failsafe-plugin from 3.1.0 to 3.1.2 in /value
  • b5345e6 Use try-with-resources instead of Closer.
  • e27cfe2 Update Guava dependencies.
  • 7d46d87 In a test, replace an obsolete JSpecify package name with a fictional one.
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #250 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/250 from google:dependabot/maven/auto-service.version-1.1.1 fbba34590308f8bf1425287d98a1ef83ad307fa3 PiperOrigin-RevId: 541974718 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 08d73606..5c71a4bc 100644 --- a/pom.xml +++ b/pom.xml @@ -94,7 +94,7 @@ UTF-8 - 1.1.0 + 1.1.1 1.2.2 1.8 32.0.1-android From a3ddfdf45d8bc1b16d802df31e33ba6e6922644c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 21 Jun 2023 10:45:09 -0700 Subject: [PATCH 098/189] Bump error_prone_core from 2.19.1 to 2.20.0 Bumps [error_prone_core](https://github.com/google/error-prone) from 2.19.1 to 2.20.0.
Release notes

Sourced from error_prone_core's releases.

Error Prone 2.20.0

Changes:

  • This release is compatible with early-access builds of JDK 21.

New Checkers:

Fixes issues: #2232, #2243, #2997, #3301, #3843, #3903, #3918, #3923, #3931, #3945, #3946

Full Changelog: https://github.com/google/error-prone/compare/v2.19.1...v2.20.0

Commits
  • 79935c0 Release Error Prone 2.20.0
  • 4148b44 Remove FRAGILE_CODE tag from StringCaseLocaleUsage
  • b42c84f Strip enough "*"s to turn something into non-Javadoc.
  • 12b90df Fix one of the classic blunders in UnnecessaryStringBuilder
  • a86e28b Warn when on Stream parameters and Iterator return types.
  • 4f11cba Don't fire some NonApiType checks inside of GraphWrappers.
  • e3743fc Add a check for unnecessary usages of StringBuilder
  • 3195ab0 Recognize MethodHandle as immutable.
  • 7f36856 Fire InlineTrivialConstant on EMPTY and EMPTY_STR too.
  • bda0edc Suggest inlining trivial constants like EMPTY_STRING
  • Additional commits viewable in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.google.errorprone:error_prone_core&package-manager=maven&previous-version=2.19.1&new-version=2.20.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #253 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/253 from google:dependabot/maven/com.google.errorprone-error_prone_core-2.20.0 66dd2a0c51030b7b3b6f00276234c90827e86419 PiperOrigin-RevId: 542301458 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 5c71a4bc..825a3cfc 100644 --- a/pom.xml +++ b/pom.xml @@ -104,7 +104,7 @@ it in the properties section of https://github.com/google/error-prone/blob/v${errorprone.version}/pom.xml --> - 2.19.1 + 2.20.0 9+181-r4173-1
From a236f6fb481d4042a83114ed6ff18ab202d26adb Mon Sep 17 00:00:00 2001 From: cpovirk Date: Mon, 26 Jun 2023 13:09:24 -0700 Subject: [PATCH 099/189] Update `guava-jre` instead of `guava-android`. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since both flavors of Guava require Java 8+ nowadays (as [will jimfs](https://github.com/google/jimfs/issues/229)), I don't think there's an advantage of using `guava-android`. I suppose that I could look into how much of `java.file.nio` can work [under new versions of Android](https://developer.android.com/reference/java/nio/file/Path) or [with desugaring](https://developer.android.com/studio/write/java11-nio-support-table). (Notably, do custom file systems work at all?) But my guess is that, in general, any Android code that can use `java.file.nio` can use `guava-jre`—though perhaps it shouldn't do _either_ of those things :) RELNOTES=n/a PiperOrigin-RevId: 543520082 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 825a3cfc..92171f1e 100644 --- a/pom.xml +++ b/pom.xml @@ -97,7 +97,7 @@ 1.1.1 1.2.2 1.8 - 32.0.1-android + 32.0.1-jre

... (truncated)

Commits
  • 93fc8c8 new release 3.36.0
  • 37a26e3 Update javadoc link.
  • 978609b Prep for release.
  • 5338585 java.lang.Record is a super type of all records. (#6070)
  • 7435d61 Correctly type T.super (#6066)
  • 1823e66 Wildcards are only not equal if they are provably distinct
  • dd74b9b Update dependency com.amazonaws:aws-java-sdk-bom to v1.12.500
  • ea3ea40 Update versions.autoValue to v1.10.2
  • a39495d Update dependency com.google.auto.value:auto-value-annotations to v1.10.2
  • f60cbfa Update dependency com.google.auto.value:auto-value to v1.10.2 (#6062)
  • Additional commits viewable in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.checkerframework:checker-qual&package-manager=maven&previous-version=3.35.0&new-version=3.36.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #257 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/257 from google:dependabot/maven/org.checkerframework-checker-qual-3.36.0 3e99895e310dba34fd4506ecd73772d13ac55171 PiperOrigin-RevId: 550893950 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 4156a7b6..7826208c 100644 --- a/pom.xml +++ b/pom.xml @@ -138,7 +138,7 @@ org.checkerframework checker-qual - 3.35.0 + 3.36.0 From 5298cc4d1b48dbeb27ee46ad2e60c1f5ae7a1e81 Mon Sep 17 00:00:00 2001 From: cpovirk Date: Tue, 1 Aug 2023 08:01:58 -0700 Subject: [PATCH 104/189] Bump Guava to 32.1.2. RELNOTES=n/a PiperOrigin-RevId: 552803654 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 7826208c..d50a5b42 100644 --- a/pom.xml +++ b/pom.xml @@ -97,7 +97,7 @@ 1.1.1 1.2.2 1.8 - 32.1.1-jre + 32.1.2-jre From c47dcac4a0e1526cdefcecd9cb8a0b68c695cbf8 Mon Sep 17 00:00:00 2001 From: cpovirk Date: Thu, 10 Aug 2023 08:52:29 -0700 Subject: [PATCH 106/189] Remove stale `javac.version` and associated comment. We don't run Error Prone under JDK8 anymore (since it's not supported), so we don't use its custom javac, so we don't use `javac.version`. (belated followup to cl/513670973) RELNOTES=n/a PiperOrigin-RevId: 555510491 --- pom.xml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/pom.xml b/pom.xml index 91675ccf..e5cb470e 100644 --- a/pom.xml +++ b/pom.xml @@ -98,14 +98,7 @@ 1.2.2 1.8 32.1.2-jre - 2.20.0 - 9+181-r4173-1
From a62f9abe704d17987688495f4e36fbfbe69a7458 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 10 Aug 2023 11:23:49 -0700 Subject: [PATCH 107/189] Bump com.google.errorprone:error_prone_core from 2.20.0 to 2.21.1 Bumps [com.google.errorprone:error_prone_core](https://github.com/google/error-prone) from 2.20.0 to 2.21.1.
Release notes

Sourced from com.google.errorprone:error_prone_core's releases.

Error Prone 2.21.1

Changes:

  • Handle overlapping ranges in suppressedRegions (fixes #4040)
  • Add AddressSelection to discourage APIs that convert a hostname to a single address

Full Changelog: https://github.com/google/error-prone/compare/v2.21.0...v2.21.1

Error Prone 2.21.0

New Checkers:

Fixed issues: #3976, #3986, #4001, #4002, #4026, #4027

Full Changelog: https://github.com/google/error-prone/compare/v2.20.0...v2.21.0

Commits
  • c13d44e Release Error Prone 2.21.1
  • 2533218 Handle overlapping ranges in suppressedRegions
  • 449e6f4 Handle method references in renameMethodWithInvocations
  • a2d6ad7 Add an Error Prone check to discourage APIs that convert a hostname to a single
  • 2ef7ec2 Create class to share logic between ErrorProne checkers
  • c603793 Document and test why it's important to recognize TestCase.fail even though...
  • bbf7cd9 Add support in ASTHelpersSuggestions for getEnclosedElements
  • 29b0e54 Handle overlapping deletions for unused parameters
  • b18fd72 Automatic code cleanup.
  • 25c361a Suggest using code as per[]
  • Additional commits viewable in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.google.errorprone:error_prone_core&package-manager=maven&previous-version=2.20.0&new-version=2.21.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #263 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/263 from google:dependabot/maven/com.google.errorprone-error_prone_core-2.21.1 2cbaa27dde5cb57751e22dfee667923c83acc894 PiperOrigin-RevId: 555577177 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index e5cb470e..6d84e83a 100644 --- a/pom.xml +++ b/pom.xml @@ -98,7 +98,7 @@ 1.2.2 1.8 32.1.2-jre - 2.20.0 + 2.21.1 From 7461017617e4538101cf069f7a4cd03c5e9d06a9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 25 Aug 2023 10:06:33 -0700 Subject: [PATCH 108/189] Bump actions/checkout from 3.5.3 to 3.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [actions/checkout](https://github.com/actions/checkout) from 3.5.3 to 3.6.0.
Release notes

Sourced from actions/checkout's releases.

v3.6.0

What's Changed

New Contributors

Full Changelog: https://github.com/actions/checkout/compare/v3.5.3...v3.6.0

Changelog

Sourced from actions/checkout's changelog.

Changelog

v3.6.0

v3.5.3

v3.5.2

v3.5.1

v3.5.0

v3.4.0

v3.3.0

v3.2.0

v3.1.0

v3.0.2

v3.0.1

v3.0.0

... (truncated)

Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/checkout&package-manager=github_actions&previous-version=3.5.3&new-version=3.6.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #265 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/265 from google:dependabot/github_actions/actions/checkout-3.6.0 ed74ef1ebc3a34dbb8dc44b503fbc34ac0b77728 PiperOrigin-RevId: 560124644 --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index aeda8081..112dbdae 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,7 @@ jobs: with: access_token: ${{ github.token }} - name: 'Check out repository' - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 + uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 - name: 'Cache local Maven repository' uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 with: @@ -58,7 +58,7 @@ jobs: runs-on: ubuntu-latest steps: - name: 'Check out repository' - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 + uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 - name: 'Cache local Maven repository' uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 with: @@ -87,7 +87,7 @@ jobs: runs-on: ubuntu-latest steps: - name: 'Check out repository' - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 + uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 - name: 'Cache local Maven repository' uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 with: From 3e083fb6155f76a3b1f7d0712652e24acf462c35 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 5 Sep 2023 07:41:08 -0700 Subject: [PATCH 109/189] Bump org.checkerframework:checker-qual from 3.37.0 to 3.38.0 Bumps [org.checkerframework:checker-qual](https://github.com/typetools/checker-framework) from 3.37.0 to 3.38.0.
Release notes

Sourced from org.checkerframework:checker-qual's releases.

Checker Framework 3.38.0

Version 3.38.0 (September 1, 2023)

User-visible changes:

Eliminated the @SignedPositiveFromUnsigned annotation, which users were advised against using.

Implementation details:

Renamed SourceChecker.processArg()' to processErrorMessageArg()`.

Closed issues:

#2156, #5672, #6110, #6111, #6116, #6125, #6129, #6136.

Changelog

Sourced from org.checkerframework:checker-qual's changelog.

Version 3.38.0 (September 1, 2023)

User-visible changes:

Eliminated the @SignedPositiveFromUnsigned annotation, which users were advised against using.

Implementation details:

Renamed SourceChecker.processArg()' to processErrorMessageArg()`.

Closed issues:

#2156, #5672, #6110, #6111, #6116, #6125, #6129, #6136.

Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.checkerframework:checker-qual&package-manager=maven&previous-version=3.37.0&new-version=3.38.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #266 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/266 from google:dependabot/maven/org.checkerframework-checker-qual-3.38.0 af17c994176bfdc964deae7dc1259c035b489598 PiperOrigin-RevId: 562775106 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 6d84e83a..29b2be12 100644 --- a/pom.xml +++ b/pom.xml @@ -131,7 +131,7 @@ org.checkerframework checker-qual - 3.37.0 + 3.38.0 From 65ebcbed5481c010828d5b8535d569144adf5447 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 5 Sep 2023 07:47:24 -0700 Subject: [PATCH 110/189] Bump actions/checkout from 3.6.0 to 4.0.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [actions/checkout](https://github.com/actions/checkout) from 3.6.0 to 4.0.0.
Release notes

Sourced from actions/checkout's releases.

v4.0.0

What's Changed

New Contributors

Full Changelog: https://github.com/actions/checkout/compare/v3...v4.0.0

Changelog

Sourced from actions/checkout's changelog.

Changelog

v4.0.0

v3.6.0

v3.5.3

v3.5.2

v3.5.1

v3.5.0

v3.4.0

v3.3.0

v3.2.0

v3.1.0

v3.0.2

v3.0.1

... (truncated)

Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/checkout&package-manager=github_actions&previous-version=3.6.0&new-version=4.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #267 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/267 from google:dependabot/github_actions/actions/checkout-4.0.0 f2d4ea01e62a1e1dc1541546a8ac751ba520f331 PiperOrigin-RevId: 562776480 --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 112dbdae..68620588 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,7 @@ jobs: with: access_token: ${{ github.token }} - name: 'Check out repository' - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 + uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac - name: 'Cache local Maven repository' uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 with: @@ -58,7 +58,7 @@ jobs: runs-on: ubuntu-latest steps: - name: 'Check out repository' - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 + uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac - name: 'Cache local Maven repository' uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 with: @@ -87,7 +87,7 @@ jobs: runs-on: ubuntu-latest steps: - name: 'Check out repository' - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 + uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac - name: 'Cache local Maven repository' uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 with: From dad906efc1df8a19249b1fd59a3e3d71d841e1fd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 8 Sep 2023 10:18:08 -0700 Subject: [PATCH 111/189] Bump actions/cache from 3.3.1 to 3.3.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [actions/cache](https://github.com/actions/cache) from 3.3.1 to 3.3.2.
Release notes

Sourced from actions/cache's releases.

v3.3.2

What's Changed

New Contributors

Full Changelog: https://github.com/actions/cache/compare/v3...v3.3.2

Changelog

Sourced from actions/cache's changelog.

Releases

3.0.0

  • Updated minimum runner version support from node 12 -> node 16

3.0.1

  • Added support for caching from GHES 3.5.
  • Fixed download issue for files > 2GB during restore.

3.0.2

  • Added support for dynamic cache size cap on GHES.

3.0.3

  • Fixed avoiding empty cache save when no files are available for caching. (issue)

3.0.4

  • Fixed tar creation error while trying to create tar with path as ~/ home folder on ubuntu-latest. (issue)

3.0.5

  • Removed error handling by consuming actions/cache 3.0 toolkit, Now cache server error handling will be done by toolkit. (PR)

3.0.6

  • Fixed #809 - zstd -d: no such file or directory error
  • Fixed #833 - cache doesn't work with github workspace directory

3.0.7

  • Fixed #810 - download stuck issue. A new timeout is introduced in the download process to abort the download if it gets stuck and doesn't finish within an hour.

3.0.8

  • Fix zstd not working for windows on gnu tar in issues #888 and #891.
  • Allowing users to provide a custom timeout as input for aborting download of a cache segment using an environment variable SEGMENT_DOWNLOAD_TIMEOUT_MINS. Default is 60 minutes.

3.0.9

  • Enhanced the warning message for cache unavailablity in case of GHES.

3.0.10

  • Fix a bug with sorting inputs.
  • Update definition for restore-keys in README.md

... (truncated)

Commits
  • 704facf Merge pull request #1236 from actions/bethanyj28/bump-version
  • 17e2888 Add to RELEASES.md
  • 667d8fd bump action version to 3.3.2
  • f7ebb81 Consume latest toolkit and fix dangling promise bug (#1217)
  • 67b839e Merge pull request #1187 from jorendorff/jorendorff/rm-add-to-project
  • 57f0e3f Remove actions to add new PRs and issues to a project board
  • 04f198b Merge pull request #1132 from vorburger/bazel-example
  • bd9b49b Merge branch 'main' into bazel-example
  • ea05037 Merge pull request #1122 from actions/pdotl-patch-1
  • 6a1a45d Merge branch 'main' into pdotl-patch-1
  • Additional commits viewable in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/cache&package-manager=github_actions&previous-version=3.3.1&new-version=3.3.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #268 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/268 from google:dependabot/github_actions/actions/cache-3.3.2 e37c96af75523680eaa12d606e5b791c6c3afa9b PiperOrigin-RevId: 563785987 --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 68620588..b67ac486 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,7 +33,7 @@ jobs: - name: 'Check out repository' uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac - name: 'Cache local Maven repository' - uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 + uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} @@ -60,7 +60,7 @@ jobs: - name: 'Check out repository' uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac - name: 'Cache local Maven repository' - uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 + uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} @@ -89,7 +89,7 @@ jobs: - name: 'Check out repository' uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac - name: 'Cache local Maven repository' - uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 + uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} From 9ed967236977e9ebf78233c27cd5aacb3b1160c7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 18 Sep 2023 07:51:48 -0700 Subject: [PATCH 112/189] Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.5.0 to 3.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [org.apache.maven.plugins:maven-javadoc-plugin](https://github.com/apache/maven-javadoc-plugin) from 3.5.0 to 3.6.0.
Release notes

Sourced from org.apache.maven.plugins:maven-javadoc-plugin's releases.

3.6.0

🚀 New features and improvements

🐛 Bug Fixes

📦 Dependency updates

👻 Maintenance

... (truncated)

Commits
  • 7548066 [maven-release-plugin] prepare release maven-javadoc-plugin-3.6.0
  • 77adc47 [MJAVADOC-642] Make offline mode configurable (#238)
  • 24362d2 [MJAVADOC-742] Fix resolution of docletArtifacts (#186)
  • bee4197 fix jenkins link (#237)
  • 9830bdc Fix build on jenkins
  • 6f30bed [MJAVADOC-642] Make offline mode configurable (#232)
  • e4023d0 [JAVADOC-771] Upgrade Parent to 40 (#234)
  • 7904e45 [MJAVADOC-772] Refresh download page
  • 87c2424 Bump org.apache.maven:maven-core (#226)
  • 83ab01b Use 3.6.0 as release version (#233)
  • Additional commits viewable in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.apache.maven.plugins:maven-javadoc-plugin&package-manager=maven&previous-version=3.5.0&new-version=3.6.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #269 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/269 from google:dependabot/maven/org.apache.maven.plugins-maven-javadoc-plugin-3.6.0 3a2135b0a36f7a7868226dc706424743dbfac285 PiperOrigin-RevId: 566301192 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 29b2be12..1de50870 100644 --- a/pom.xml +++ b/pom.xml @@ -169,7 +169,7 @@
maven-javadoc-plugin - 3.5.0 + 3.6.0 true UTF-8 From 7b41a08383ea3cf7c17acabcb1428c17a5001164 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 21 Sep 2023 09:10:35 -0700 Subject: [PATCH 113/189] Bump actions/setup-java from 3.12.0 to 3.13.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [actions/setup-java](https://github.com/actions/setup-java) from 3.12.0 to 3.13.0.
Release notes

Sourced from actions/setup-java's releases.

v3.13.0

What's changed

In the scope of this release, support for Dragonwell JDK was added by @​Accelerator1996 in actions/setup-java#532

steps:
 - name: Checkout
   uses: actions/checkout@v3
 - name: Setup-java
   uses: actions/setup-java@v3
   with:
     distribution: 'dragonwell'
     java-version: '17'

Several inaccuracies were also fixed:

New Contributors

Full Changelog: https://github.com/actions/setup-java/compare/v3...v3.13.0

Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/setup-java&package-manager=github_actions&previous-version=3.12.0&new-version=3.13.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #270 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/270 from google:dependabot/github_actions/actions/setup-java-3.13.0 358d78751b1b6fbd87b3d5c5130a7dec8de6686d PiperOrigin-RevId: 567325840 --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b67ac486..f1ad9d03 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,7 +40,7 @@ jobs: restore-keys: | ${{ runner.os }}-maven- - name: 'Set up JDK ${{ matrix.java }}' - uses: actions/setup-java@cd89f46ac9d01407894225f350157564c9c7cee2 + uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 with: java-version: ${{ matrix.java }} distribution: 'zulu' @@ -67,7 +67,7 @@ jobs: restore-keys: | ${{ runner.os }}-maven- - name: 'Set up JDK 8' - uses: actions/setup-java@cd89f46ac9d01407894225f350157564c9c7cee2 + uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 with: java-version: 8 distribution: 'zulu' @@ -96,7 +96,7 @@ jobs: restore-keys: | ${{ runner.os }}-maven- - name: 'Set up JDK 11' - uses: actions/setup-java@cd89f46ac9d01407894225f350157564c9c7cee2 + uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 with: java-version: 11 distribution: 'zulu' From e0bffe843fcd3f2e7d6471a1d6bd459090bf6f02 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 22 Sep 2023 08:52:12 -0700 Subject: [PATCH 114/189] Bump com.google.errorprone:error_prone_core from 2.21.1 to 2.22.0 Bumps [com.google.errorprone:error_prone_core](https://github.com/google/error-prone) from 2.21.1 to 2.22.0.
Release notes

Sourced from com.google.errorprone:error_prone_core's releases.

Error Prone 2.22.0

We are considering raising the minimum supported JDK from JDK 11 to JDK 17 in a future release of Error Prone, see #3803. Note that using a newer JDK version to run javac during the build doesn't prevent building code that is deployed to earlier versions, for example it's supported to use the JDK 17 javac and pass --release 11 to compile Java 11 code that is deployed to a JDK 11 runtime. If you have feedback, please comment on #3803.

New checks:

Bug fixes and improvements:

  • Don't complain about literal IP addresses in AddressSelection (https://github.com/google/error-prone/commit/44b65527debbc57892f21ca3ba458b16771e423e)
  • Prevent SuggestedFixes#renameMethod from modifying return type declaration (#4043)
  • Fix UnusedVariable false positives for private record parameters (#2713)
  • When running in conservative mode, no longer assume that implementations of Map.get, etc. return null (#2910)
  • CanIgnoreReturnValueSuggester: Support additional exempting method annotations (#4009)
  • UnusedVariable: exclude junit5's @RegisterExtension (#3892)
  • Support running all available patch checks (#947)
  • Upgrade java-diff-utils 4.0 -> 4.12 (#4081)
  • Flag unused Refaster template parameters (#4060)
  • Support @SuppressWarnings("all") (#4065)
  • Prevent Refaster UMemberSelect from matching method parameters (#2456)
  • MissingDefault : Don't require // fall out comments on expression switches (#2709)
  • Skip UnnecessaryLambda findings for usages in enhanced for loops (#2518)
  • Fix bug where nested MissingBraces violations' suggested fixes result in broken code (#3797)
  • Add support for specifying exemptPrefixes/exemptNames for UnusedVariable via flags (#2753)
  • UnusedMethod: Added exempting variable annotations (#2881)

Full Changelog: https://github.com/google/error-prone/compare/v2.21.1...v2.22.0

Commits
  • 7114c31 Release Error Prone 2.22.0
  • c94d74d Update release.yml - temporarily disable sonatype deployments
  • 080411e Added exempting variable annotations
  • 737dec0 Remove DiffNotApplicableException
  • f3a2bf8 Update ci.yml for JDK 21 release
  • 1d2bc93 Introduce ErrorProneFlags.get{Set,List}OrEmpty, because basically every cal...
  • 1bec842 Fix a crash in UnnecessaryAsync
  • d2ee28e Fix a crash in TimeUnitConversionChecker
  • ac424d0 Tighten the return types in Fix.
  • 58e5bb8 Update and wordsmith the @CompileTimeConstant documentation to reflect chan...
  • Additional commits viewable in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.google.errorprone:error_prone_core&package-manager=maven&previous-version=2.21.1&new-version=2.22.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #271 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/271 from google:dependabot/maven/com.google.errorprone-error_prone_core-2.22.0 4246730c20bdf992fdc2aecebc3362b1a111e4ba PiperOrigin-RevId: 567633916 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 1de50870..7698c169 100644 --- a/pom.xml +++ b/pom.xml @@ -98,7 +98,7 @@ 1.2.2 1.8 32.1.2-jre - 2.21.1 + 2.22.0 From 5c58c80bb2b19f72c9c4c3ef752a03b9292b4b1b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 25 Sep 2023 09:27:39 -0700 Subject: [PATCH 115/189] Bump actions/checkout from 4.0.0 to 4.1.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [actions/checkout](https://github.com/actions/checkout) from 4.0.0 to 4.1.0.
Release notes

Sourced from actions/checkout's releases.

v4.1.0

What's Changed

New Contributors

Full Changelog: https://github.com/actions/checkout/compare/v4.0.0...v4.1.0

Changelog

Sourced from actions/checkout's changelog.

Changelog

v4.1.0

v4.0.0

v3.6.0

v3.5.3

v3.5.2

v3.5.1

v3.5.0

v3.4.0

v3.3.0

v3.2.0

v3.1.0

v3.0.2

... (truncated)

Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/checkout&package-manager=github_actions&previous-version=4.0.0&new-version=4.1.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #272 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/272 from google:dependabot/github_actions/actions/checkout-4.1.0 75097d34706a4e96db6ed5fb48d1e98fc688360c PiperOrigin-RevId: 568241572 --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f1ad9d03..05ccdee5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,7 @@ jobs: with: access_token: ${{ github.token }} - name: 'Check out repository' - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac + uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 - name: 'Cache local Maven repository' uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 with: @@ -58,7 +58,7 @@ jobs: runs-on: ubuntu-latest steps: - name: 'Check out repository' - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac + uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 - name: 'Cache local Maven repository' uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 with: @@ -87,7 +87,7 @@ jobs: runs-on: ubuntu-latest steps: - name: 'Check out repository' - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac + uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 - name: 'Cache local Maven repository' uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 with: From 94d817f20f8db897b88a84683eef73cfb4faf96e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 3 Oct 2023 08:15:06 -0700 Subject: [PATCH 116/189] Bump org.checkerframework:checker-qual from 3.38.0 to 3.39.0 Bumps [org.checkerframework:checker-qual](https://github.com/typetools/checker-framework) from 3.38.0 to 3.39.0.
Release notes

Sourced from org.checkerframework:checker-qual's releases.

Checker Framework 3.39.0

Version 3.39.0 (October 2, 2023)

User-visible changes:

The Checker Framework runs on a version 21 JVM. It does not yet soundly check all new Java 21 language features, but it does not crash when compiling them.

Implementation details:

Dataflow supports all the new Java 21 language features.

  • A new node,DeconstructorPatternNode, was added, so any implementation of NodeVisitor must be updated.
  • Method InstanceOfNode.getBindingVariable() is deprecated; use getPatternNode() or getBindingVariables() instead.

WPI uses 1-based indexing for formal parameters and arguments.

Closed issues:

#5911, #5967, #6155, #6173, #6201.

Changelog

Sourced from org.checkerframework:checker-qual's changelog.

Version 3.39.0 (October 2, 2023)

User-visible changes:

The Checker Framework runs on a version 21 JVM. It does not yet soundly check all new Java 21 language features, but it does not crash when compiling them.

Implementation details:

Dataflow supports all the new Java 21 language features.

  • A new node,DeconstructorPatternNode, was added, so any implementation of NodeVisitor must be updated.
  • Method InstanceOfNode.getBindingVariable() is deprecated; use getPatternNode() or getBindingVariables() instead.

WPI uses 1-based indexing for formal parameters and arguments.

Closed issues:

#5911, #5967, #6155, #6173, #6201.

Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.checkerframework:checker-qual&package-manager=maven&previous-version=3.38.0&new-version=3.39.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #273 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/273 from google:dependabot/maven/org.checkerframework-checker-qual-3.39.0 e0767eb52e5483f47b5aca683f351ff214c23538 PiperOrigin-RevId: 570392515 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 7698c169..bd96b65a 100644 --- a/pom.xml +++ b/pom.xml @@ -131,7 +131,7 @@ org.checkerframework checker-qual - 3.38.0 + 3.39.0 From acb81e8718adf2527be105c6c9b130ec788c9877 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 4 Oct 2023 08:14:44 -0700 Subject: [PATCH 117/189] Bump styfle/cancel-workflow-action from 0.11.0 to 0.12.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [styfle/cancel-workflow-action](https://github.com/styfle/cancel-workflow-action) from 0.11.0 to 0.12.0.
Release notes

Sourced from styfle/cancel-workflow-action's releases.

0.12.0

Changes

  • Feat: add option only_status: #210
  • Chore(deps): bump actions/setup-node from 3.5.0 to 3.5.1: #188
  • Chore: add a warning to docs about missing version: #184
  • Chore(deps-dev): bump husky from 8.0.1 to 8.0.2: #190
  • Chore(deps-dev): bump typescript from 4.8.4 to 4.9.3: #192
  • Chore(deps-dev): bump prettier from 2.7.1 to 2.8.0: #193
  • Chore(deps-dev): bump prettier from 2.8.0 to 2.8.1: #194
  • Chore(deps-dev): bump typescript from 4.9.3 to 4.9.4: #195
  • Chore(deps-dev): bump @​vercel/ncc from 0.34.0 to 0.36.0: #196
  • Chore(deps): bump actions/setup-node from 3.5.1 to 3.6.0: #197
  • Chore(deps-dev): bump prettier from 2.8.1 to 2.8.2: #199
  • Chore(deps-dev): bump husky from 8.0.2 to 8.0.3: #198
  • Chore(docs): document the native behavior: #201
  • Chore(docs): simplify readme warning: 25b1072e6989f076cfebf162ba7109fcde126aa6
  • Chore: remove dependabot: #206
  • Chore(deps-dev): bump typescript from 4.9.4 to 4.9.5: #205
  • Chore(deps-dev): bump @​vercel/ncc from 0.36.0 to 0.36.1: #204
  • Chore(deps-dev): bump prettier from 2.8.2 to 2.8.3: #203

Credits

Huge thanks to @​chenxsan and @​8666 for helping!

Commits
  • 01ce38b 0.12.0
  • 9c78c20 chore(deps-dev): bump prettier from 2.8.2 to 2.8.3 (#203)
  • 96c8030 Add option only_status (#210)
  • c6a48d7 chore(deps-dev): bump @​vercel/ncc from 0.36.0 to 0.36.1 (#204)
  • 5c8fe64 chore(deps-dev): bump typescript from 4.9.4 to 4.9.5 (#205)
  • 034d0e9 chore: remove dependabot (#206)
  • 25b1072 chore(docs): simplify readme warning
  • 3b7e3bd chore(docs): document the native behavior (#201)
  • a0540e0 chore(deps-dev): bump husky from 8.0.2 to 8.0.3 (#198)
  • cb6ed73 chore(deps-dev): bump prettier from 2.8.1 to 2.8.2 (#199)
  • Additional commits viewable in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=styfle/cancel-workflow-action&package-manager=github_actions&previous-version=0.11.0&new-version=0.12.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #274 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/274 from google:dependabot/github_actions/styfle/cancel-workflow-action-0.12.0 7c918873753c6402ac93d807f6994ae1e6325a0d PiperOrigin-RevId: 570699082 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 05ccdee5..287aef8f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,7 +27,7 @@ jobs: steps: # Cancel any previous runs for the same branch that are still running. - name: 'Cancel previous runs' - uses: styfle/cancel-workflow-action@b173b6ec0100793626c2d9e6b90435061f4fc3e5 + uses: styfle/cancel-workflow-action@01ce38bf961b4e243a6342cbade0dbc8ba3f0432 with: access_token: ${{ github.token }} - name: 'Check out repository' From 7aac1d7d31acaba8d4a482b720afe0fe46898201 Mon Sep 17 00:00:00 2001 From: cpovirk Date: Tue, 10 Oct 2023 15:26:35 -0700 Subject: [PATCH 118/189] Bump Guava to 32.1.3. RELNOTES=n/a PiperOrigin-RevId: 572383399 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index bd96b65a..5c49df49 100644 --- a/pom.xml +++ b/pom.xml @@ -97,7 +97,7 @@ 1.1.1 1.2.2 1.8 - 32.1.2-jre + 32.1.3-jre 2.22.0 From 36eed5613c32bfb6ef27b4c89bcfb2c9ff7e2923 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 18 Oct 2023 07:36:50 -0700 Subject: [PATCH 119/189] Bump actions/checkout from 4.1.0 to 4.1.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.0 to 4.1.1.
Release notes

Sourced from actions/checkout's releases.

v4.1.1

What's Changed

New Contributors

Full Changelog: https://github.com/actions/checkout/compare/v4...v4.1.1

Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/checkout&package-manager=github_actions&previous-version=4.1.0&new-version=4.1.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #278 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/278 from google:dependabot/github_actions/actions/checkout-4.1.1 519954f072fc5c5d3cd057b7f1c7352c1dfd9d4b PiperOrigin-RevId: 574471422 --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 287aef8f..fb8ca84f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,7 @@ jobs: with: access_token: ${{ github.token }} - name: 'Check out repository' - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - name: 'Cache local Maven repository' uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 with: @@ -58,7 +58,7 @@ jobs: runs-on: ubuntu-latest steps: - name: 'Check out repository' - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - name: 'Cache local Maven repository' uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 with: @@ -87,7 +87,7 @@ jobs: runs-on: ubuntu-latest steps: - name: 'Check out repository' - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - name: 'Cache local Maven repository' uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 with: From 34d6b185453db5b74d016b4f9fea3080a17c5ff0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 19 Oct 2023 08:20:51 -0700 Subject: [PATCH 120/189] Bump com.google.errorprone:error_prone_core from 2.22.0 to 2.23.0 Bumps [com.google.errorprone:error_prone_core](https://github.com/google/error-prone) from 2.22.0 to 2.23.0.
Release notes

Sourced from com.google.errorprone:error_prone_core's releases.

Error Prone 2.23.0

New checks:

Bug fixes and improvements: #3897, #4114, #4123

Full Changelog: https://github.com/google/error-prone/compare/v2.22.0...v2.23.0

Commits
  • ff5e5f7 Release Error Prone 2.23.0
  • 3047300 Suggest this == obj instead of super.equals(obj) when the two are equival...
  • ed01de0 Tweak the wording of summary in FloggerRedundantIsEnabled, because `[LEV...
  • 159ae7f Remove volatile when finalling static fields.
  • e8298e4 Automatic code cleanup.
  • 53f24d4 java.util.Iterable -> lang
  • 1c62a56 Rip out the YetMore flag.
  • 8d62eb6 Don't flag things which probably shouldn't be static anyway.
  • 3cdff25 Remove the deprecated ErrorProneFlags methods.
  • 90baca0 Include javax.inject in 'with-dependencies' jars
  • Additional commits viewable in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.google.errorprone:error_prone_core&package-manager=maven&previous-version=2.22.0&new-version=2.23.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #279 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/279 from google:dependabot/maven/com.google.errorprone-error_prone_core-2.23.0 e69b13fdbb220a3c29f9320fd2335b5ef91b99ed PiperOrigin-RevId: 574878177 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 5c49df49..3ebc553b 100644 --- a/pom.xml +++ b/pom.xml @@ -98,7 +98,7 @@ 1.2.2 1.8 32.1.3-jre - 2.22.0 + 2.23.0 From bdcd240a9ad7876105d0cbbce3b7a99487721b46 Mon Sep 17 00:00:00 2001 From: Kurt Alfred Kluever Date: Mon, 23 Oct 2023 08:49:35 -0700 Subject: [PATCH 121/189] Increase precision of `SystemFileTimeSource`. Fixes https://github.com/google/jimfs/issues/277 RELNOTES=n/a PiperOrigin-RevId: 575831203 --- .../java/com/google/common/jimfs/SystemFileTimeSource.java | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/jimfs/src/main/java/com/google/common/jimfs/SystemFileTimeSource.java b/jimfs/src/main/java/com/google/common/jimfs/SystemFileTimeSource.java index 47635b81..05d71f08 100644 --- a/jimfs/src/main/java/com/google/common/jimfs/SystemFileTimeSource.java +++ b/jimfs/src/main/java/com/google/common/jimfs/SystemFileTimeSource.java @@ -17,18 +17,15 @@ package com.google.common.jimfs; import java.nio.file.attribute.FileTime; +import java.time.Instant; /** Implementation of of {@link FileTimeSource} that gets the current time from the system. */ enum SystemFileTimeSource implements FileTimeSource { INSTANCE; - // If/when Jimfs requires Java 8 this should use the FileTime factory that takes an Instant as - // that has the potential to be more precise. At that point, we should make a similar change to - // FakeFileTimeSource. - @Override public FileTime now() { - return FileTime.fromMillis(System.currentTimeMillis()); + return FileTime.from(Instant.now()); } @Override From fcec619e4a379a4ff80ad518e4298b2a05742651 Mon Sep 17 00:00:00 2001 From: Kurt Alfred Kluever Date: Mon, 23 Oct 2023 10:55:10 -0700 Subject: [PATCH 122/189] improve randomization of `FakeFileTimeSource`. RELNOTES=n/a PiperOrigin-RevId: 575867828 --- .../common/jimfs/FakeFileTimeSource.java | 34 ++++++++----------- .../common/jimfs/FileSystemStateTest.java | 4 +-- .../common/jimfs/JimfsFileChannelTest.java | 23 +++++++------ 3 files changed, 28 insertions(+), 33 deletions(-) diff --git a/jimfs/src/test/java/com/google/common/jimfs/FakeFileTimeSource.java b/jimfs/src/test/java/com/google/common/jimfs/FakeFileTimeSource.java index 942c8354..991cc206 100644 --- a/jimfs/src/test/java/com/google/common/jimfs/FakeFileTimeSource.java +++ b/jimfs/src/test/java/com/google/common/jimfs/FakeFileTimeSource.java @@ -16,13 +16,11 @@ package com.google.common.jimfs; -import static com.google.common.base.Preconditions.checkNotNull; - -import com.google.common.math.LongMath; import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.nio.file.attribute.FileTime; +import java.time.Duration; +import java.time.Instant; import java.util.Random; -import java.util.concurrent.TimeUnit; /** Fake implementation of {@link FileTimeSource}. */ final class FakeFileTimeSource implements FileTimeSource { @@ -34,27 +32,23 @@ final class FakeFileTimeSource implements FileTimeSource { randomize(); } - @CanIgnoreReturnValue - FakeFileTimeSource setNow(FileTime now) { - this.now = checkNotNull(now); - return this; - } - - @CanIgnoreReturnValue - private FakeFileTimeSource setNowMillis(long millis) { - return setNow(FileTime.fromMillis(millis)); - } - @CanIgnoreReturnValue FakeFileTimeSource randomize() { - // Use a random int rather than long as an easy way of ensuring we don't get something near - // Long.MAX_VALUE - return setNowMillis(random.nextInt()); + Instant randomNow = + Instant.ofEpochSecond( + random + .longs(Instant.MIN.getEpochSecond(), Instant.MAX.getEpochSecond()) + .findAny() + .getAsLong(), + random.nextInt(1_000_000_000)); + this.now = FileTime.from(randomNow); + return this; } @CanIgnoreReturnValue - FakeFileTimeSource advance(long duration, TimeUnit unit) { - return setNowMillis(LongMath.checkedAdd(now.toMillis(), unit.toMillis(duration))); + FakeFileTimeSource advance(Duration duration) { + this.now = FileTime.from(now.toInstant().plus(duration)); + return this; } @Override diff --git a/jimfs/src/test/java/com/google/common/jimfs/FileSystemStateTest.java b/jimfs/src/test/java/com/google/common/jimfs/FileSystemStateTest.java index 7274ab1e..8ad5c51c 100644 --- a/jimfs/src/test/java/com/google/common/jimfs/FileSystemStateTest.java +++ b/jimfs/src/test/java/com/google/common/jimfs/FileSystemStateTest.java @@ -17,7 +17,6 @@ package com.google.common.jimfs; import static com.google.common.truth.Truth.assertThat; -import static java.util.concurrent.TimeUnit.SECONDS; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; @@ -28,6 +27,7 @@ import java.io.Closeable; import java.io.IOException; import java.nio.file.ClosedFileSystemException; +import java.time.Duration; import java.util.List; import org.junit.Test; import org.junit.runner.RunWith; @@ -66,7 +66,7 @@ public void testCheckOpen() throws IOException { @Test public void testNow() { assertThat(state.now()).isEqualTo(fileTimeSource.now()); - fileTimeSource.advance(1, SECONDS); + fileTimeSource.advance(Duration.ofSeconds(1)); assertThat(state.now()).isEqualTo(fileTimeSource.now()); } diff --git a/jimfs/src/test/java/com/google/common/jimfs/JimfsFileChannelTest.java b/jimfs/src/test/java/com/google/common/jimfs/JimfsFileChannelTest.java index 28723069..295dd7c1 100644 --- a/jimfs/src/test/java/com/google/common/jimfs/JimfsFileChannelTest.java +++ b/jimfs/src/test/java/com/google/common/jimfs/JimfsFileChannelTest.java @@ -49,6 +49,7 @@ import java.nio.channels.NonWritableChannelException; import java.nio.file.OpenOption; import java.nio.file.attribute.FileTime; +import java.time.Duration; import java.util.ArrayList; import java.util.List; import java.util.concurrent.Callable; @@ -237,68 +238,68 @@ public void testFileTimeUpdates() throws IOException { // accessedTime FileTime accessTime = file.getLastAccessTime(); - fileTimeSource.advance(2, MILLISECONDS); + fileTimeSource.advance(Duration.ofMillis(2)); channel.read(ByteBuffer.allocate(10)); assertNotEquals(accessTime, file.getLastAccessTime()); accessTime = file.getLastAccessTime(); - fileTimeSource.advance(2, MILLISECONDS); + fileTimeSource.advance(Duration.ofMillis(2)); channel.read(ByteBuffer.allocate(10), 0); assertNotEquals(accessTime, file.getLastAccessTime()); accessTime = file.getLastAccessTime(); - fileTimeSource.advance(2, MILLISECONDS); + fileTimeSource.advance(Duration.ofMillis(2)); channel.read(new ByteBuffer[] {ByteBuffer.allocate(10)}); assertNotEquals(accessTime, file.getLastAccessTime()); accessTime = file.getLastAccessTime(); - fileTimeSource.advance(2, MILLISECONDS); + fileTimeSource.advance(Duration.ofMillis(2)); channel.read(new ByteBuffer[] {ByteBuffer.allocate(10)}, 0, 1); assertNotEquals(accessTime, file.getLastAccessTime()); accessTime = file.getLastAccessTime(); - fileTimeSource.advance(2, MILLISECONDS); + fileTimeSource.advance(Duration.ofMillis(2)); channel.transferTo(0, 10, new ByteBufferChannel(10)); assertNotEquals(accessTime, file.getLastAccessTime()); // modified FileTime modifiedTime = file.getLastModifiedTime(); - fileTimeSource.advance(2, MILLISECONDS); + fileTimeSource.advance(Duration.ofMillis(2)); channel.write(ByteBuffer.allocate(10)); assertNotEquals(modifiedTime, file.getLastModifiedTime()); modifiedTime = file.getLastModifiedTime(); - fileTimeSource.advance(2, MILLISECONDS); + fileTimeSource.advance(Duration.ofMillis(2)); channel.write(ByteBuffer.allocate(10), 0); assertNotEquals(modifiedTime, file.getLastModifiedTime()); modifiedTime = file.getLastModifiedTime(); - fileTimeSource.advance(2, MILLISECONDS); + fileTimeSource.advance(Duration.ofMillis(2)); channel.write(new ByteBuffer[] {ByteBuffer.allocate(10)}); assertNotEquals(modifiedTime, file.getLastModifiedTime()); modifiedTime = file.getLastModifiedTime(); - fileTimeSource.advance(2, MILLISECONDS); + fileTimeSource.advance(Duration.ofMillis(2)); channel.write(new ByteBuffer[] {ByteBuffer.allocate(10)}, 0, 1); assertNotEquals(modifiedTime, file.getLastModifiedTime()); modifiedTime = file.getLastModifiedTime(); - fileTimeSource.advance(2, MILLISECONDS); + fileTimeSource.advance(Duration.ofMillis(2)); channel.truncate(0); assertNotEquals(modifiedTime, file.getLastModifiedTime()); modifiedTime = file.getLastModifiedTime(); - fileTimeSource.advance(2, MILLISECONDS); + fileTimeSource.advance(Duration.ofMillis(2)); channel.transferFrom(new ByteBufferChannel(10), 0, 10); assertNotEquals(modifiedTime, file.getLastModifiedTime()); From 297d094e2558a34df1558da265b1c403f9e2159e Mon Sep 17 00:00:00 2001 From: Kurt Alfred Kluever Date: Mon, 23 Oct 2023 11:11:57 -0700 Subject: [PATCH 123/189] Store an `Instant` in `FakeFileTimeSource` instead of a `FileTime`. RELNOTES=n/a PiperOrigin-RevId: 575873417 --- .../java/com/google/common/jimfs/FakeFileTimeSource.java | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/jimfs/src/test/java/com/google/common/jimfs/FakeFileTimeSource.java b/jimfs/src/test/java/com/google/common/jimfs/FakeFileTimeSource.java index 991cc206..8fcb64b2 100644 --- a/jimfs/src/test/java/com/google/common/jimfs/FakeFileTimeSource.java +++ b/jimfs/src/test/java/com/google/common/jimfs/FakeFileTimeSource.java @@ -26,7 +26,7 @@ final class FakeFileTimeSource implements FileTimeSource { private final Random random = new Random(System.currentTimeMillis()); - private FileTime now; + private Instant now; FakeFileTimeSource() { randomize(); @@ -34,25 +34,24 @@ final class FakeFileTimeSource implements FileTimeSource { @CanIgnoreReturnValue FakeFileTimeSource randomize() { - Instant randomNow = + now = Instant.ofEpochSecond( random .longs(Instant.MIN.getEpochSecond(), Instant.MAX.getEpochSecond()) .findAny() .getAsLong(), random.nextInt(1_000_000_000)); - this.now = FileTime.from(randomNow); return this; } @CanIgnoreReturnValue FakeFileTimeSource advance(Duration duration) { - this.now = FileTime.from(now.toInstant().plus(duration)); + this.now = now.plus(duration); return this; } @Override public FileTime now() { - return now; + return FileTime.from(now); } } From c231279bfd5e63621452a8696fb73d524bc1e012 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 24 Oct 2023 08:42:36 -0700 Subject: [PATCH 124/189] Bump org.apache.maven.plugins:maven-surefire-plugin from 3.1.2 to 3.2.1 Bumps [org.apache.maven.plugins:maven-surefire-plugin](https://github.com/apache/maven-surefire) from 3.1.2 to 3.2.1.
Commits
  • df9f657 [maven-release-plugin] prepare release surefire-3.2.1
  • 0910b75 Fix formatting
  • 97c84a1 [maven-release-plugin] prepare for next development iteration
  • ad0639f [maven-release-plugin] prepare release surefire-3.2.0
  • edfb965 [SUREFIRE-2196] maven-surefire-report-plugin:failsafe-report-only failed: Unm...
  • 0a5dba8 [SUREFIRE-2188] Upgrade to Parent 40
  • 5a09438 [SUREFIRE-2202] NullPointerException if super class meets specific condition
  • 176937d Simplify temp dir creation
  • 9b79bda [SUREFIRE-1124] Support forkNumber in environment variables
  • 2966964 Fix TestNG web site URL
  • Additional commits viewable in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.apache.maven.plugins:maven-surefire-plugin&package-manager=maven&previous-version=3.1.2&new-version=3.2.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #283 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/283 from google:dependabot/maven/org.apache.maven.plugins-maven-surefire-plugin-3.2.1 0eae88c12e4e2bd7066a82b53c3a1e89b4b355c6 PiperOrigin-RevId: 576152516 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 3ebc553b..a3bb5025 100644 --- a/pom.xml +++ b/pom.xml @@ -192,7 +192,7 @@
maven-surefire-plugin - 3.1.2 + 3.2.1 org.apache.felix From 7f95838210e1e1f23f9ba58bddea2f9696fa800e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 31 Oct 2023 07:46:43 -0700 Subject: [PATCH 125/189] Bump com.ibm.icu:icu4j from 73.2 to 74.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [com.ibm.icu:icu4j](https://github.com/unicode-org/icu) from 73.2 to 74.1.
Release notes

Sourced from com.ibm.icu:icu4j's releases.

ICU 74.1

Draft, building binaries, working on the release page. Watch for an announcement around oct31/nov01.

ICU 74 RC

We are pleased to announce the release candidate for Unicode® ICU 74. It updates to Unicode 15.1, and to CLDR 44 locale data with various additions and corrections.

ICU 74 and CLDR 44 are major releases, including a new version of Unicode and major locale data improvements. They subsume the changes for the ICU 73.2 and CLDR 43.1 maintenance releases.

For details, please see https://icu.unicode.org/download/74.

Please test this release candidate on your platforms and report bugs and regressions by Wednesday, 2023-oct-26, via the icu-support mailing list, and/or please find/submit error reports.

Please do not use this release candidate in production.

The preliminary API reference documents are published on unicode-org.github.io/icu-docs/ – follow the “Dev” links there.

Note: The prebuilt WinARM64 binaries below should be considered alpha/experimental.

(ICU locale data was generated from the CLDR tag: https://github.com/unicode-org/cldr/releases/tag/release-44-beta2)

Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.ibm.icu:icu4j&package-manager=maven&previous-version=73.2&new-version=74.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #284 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/284 from google:dependabot/maven/com.ibm.icu-icu4j-74.1 0fb2ed1bee742dfc5fd286fb1a441540b65415f5 PiperOrigin-RevId: 578181380 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index a3bb5025..55dd689a 100644 --- a/pom.xml +++ b/pom.xml @@ -114,7 +114,7 @@ com.ibm.icu icu4j - 73.2 + 74.1 From 62941ec2a0f00058245d786a2d6a260073a35296 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 2 Nov 2023 13:06:52 -0700 Subject: [PATCH 126/189] Bump org.checkerframework:checker-qual from 3.39.0 to 3.40.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [org.checkerframework:checker-qual](https://github.com/typetools/checker-framework) from 3.39.0 to 3.40.0.
Release notes

Sourced from org.checkerframework:checker-qual's releases.

Checker Framework 3.40.0

Version 3.40.0 (November 1, 2023)

User-visible changes:

Optional Checker: checker-util.jar defines OptionalUtil.castPresent() for suppressing false positive warnings from the Optional Checker.

Closed issues:

#4947, #6179, #6215, #6218, #6222, #6247, #6259, #6260.

Changelog

Sourced from org.checkerframework:checker-qual's changelog.

Version 3.40.0 (November 1, 2023)

User-visible changes:

Optional Checker: checker-util.jar defines OptionalUtil.castPresent() for suppressing false positive warnings from the Optional Checker.

Closed issues:

#4947, #6179, #6215, #6218, #6222, #6247, #6259, #6260.

Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.checkerframework:checker-qual&package-manager=maven&previous-version=3.39.0&new-version=3.40.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #285 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/285 from google:dependabot/maven/org.checkerframework-checker-qual-3.40.0 c47260f48353059923ded7da6387dd1e9cf7a818 PiperOrigin-RevId: 578954263 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 55dd689a..01d5e18e 100644 --- a/pom.xml +++ b/pom.xml @@ -131,7 +131,7 @@ org.checkerframework checker-qual - 3.39.0 + 3.40.0 From 6c7a38f1b3a17dc983b4b7fcacb762970caf68e7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 7 Nov 2023 07:47:19 -0800 Subject: [PATCH 127/189] Bump org.apache.maven.plugins:maven-surefire-plugin from 3.2.1 to 3.2.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [org.apache.maven.plugins:maven-surefire-plugin](https://github.com/apache/maven-surefire) from 3.2.1 to 3.2.2.
Release notes

Sourced from org.apache.maven.plugins:maven-surefire-plugin's releases.

3.2.2

🐛 Bug Fixes

📦 Dependency updates

🔧 Build

Commits
  • 2d76753 [maven-release-plugin] prepare release surefire-3.2.2
  • dd640bf [SUREFIRE-2208] Bump org.codehaus.plexus:plexus-java from 1.1.2 to 1.2.0 (#682)
  • dd2fcfd [SUREFIRE-2205] Use maven-plugin-report-plugin only in plugins modules
  • 03c71d1 [SUREFIRE-2206] Downgrade plexus-xml to 3.0.0
  • c3c3c84 Use Maven 3.x.x and 3.6.3 on Jenkins
  • a540ef4 [SUREFIRE-2205] Mojo documentation links are broken
  • 3a58f29 [maven-release-plugin] prepare for next development iteration
  • See full diff in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.apache.maven.plugins:maven-surefire-plugin&package-manager=maven&previous-version=3.2.1&new-version=3.2.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #287 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/287 from google:dependabot/maven/org.apache.maven.plugins-maven-surefire-plugin-3.2.2 c2e26ee9c2391225f5503584ece697e504fafa09 PiperOrigin-RevId: 580177539 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 01d5e18e..26b19175 100644 --- a/pom.xml +++ b/pom.xml @@ -192,7 +192,7 @@
maven-surefire-plugin - 3.2.1 + 3.2.2 org.apache.felix From a62ae2c2bdc7b28e1e3bc857ae47e01150445aba Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 13 Nov 2023 09:47:00 -0800 Subject: [PATCH 128/189] Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.6.0 to 3.6.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [org.apache.maven.plugins:maven-javadoc-plugin](https://github.com/apache/maven-javadoc-plugin) from 3.6.0 to 3.6.2.
Release notes

Sourced from org.apache.maven.plugins:maven-javadoc-plugin's releases.

3.6.2

🐛 Bug Fixes

📦 Dependency updates

Commits
  • 28a89f1 [maven-release-plugin] prepare release maven-javadoc-plugin-3.6.2
  • 16ca43f [maven-release-plugin] prepare for next development iteration
  • 88bc4a5 Align IT after MJAVADOC-716
  • 4b881e8 Bump org.codehaus.mojo:mrm-maven-plugin from 1.5.0 to 1.6.0
  • 45a8d29 [MJAVADOC-716] Fix stale files detection failing because of the added newline...
  • afb2dee [MJAVADOC-713] Skipping Javadoc reportset leaves empty Javadoc link in site
  • 4bad23f [MJAVADOC-730] Deprecate parameter "old"
  • 8364883 [MJAVADOC-777] Bump org.codehaus.plexus:plexus-java from 1.1.2 to 1.2.0 (#245)
  • 6fa9c86 [MJAVADOC-762] don't share state between tests (#218)
  • 05b12e8 [MJAVADOC-726] exclude velocity (#243)
  • Additional commits viewable in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.apache.maven.plugins:maven-javadoc-plugin&package-manager=maven&previous-version=3.6.0&new-version=3.6.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #286 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/286 from google:dependabot/maven/org.apache.maven.plugins-maven-javadoc-plugin-3.6.2 7d8daded18197908236ad4c9d7e771e0817ca4fb PiperOrigin-RevId: 581995369 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 26b19175..780e1d7f 100644 --- a/pom.xml +++ b/pom.xml @@ -169,7 +169,7 @@
maven-javadoc-plugin - 3.6.0 + 3.6.2 true UTF-8 From 9c14a34b16fcb4227694a5a3610553ea7941cae0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 30 Nov 2023 06:33:40 -0800 Subject: [PATCH 129/189] Bump actions/setup-java from 3.13.0 to 4.0.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [actions/setup-java](https://github.com/actions/setup-java) from 3.13.0 to 4.0.0.
Release notes

Sourced from actions/setup-java's releases.

v4.0.0

What's Changed

In the scope of this release, the version of the Node.js runtime was updated to 20. The majority of dependencies were updated to the latest versions. From now on, the code for the setup-java will run on Node.js 20 instead of Node.js 16.

Breaking changes

Non-breaking changes

New Contributors

Full Changelog: https://github.com/actions/setup-java/compare/v3...v4.0.0

Commits
  • 387ac29 Upgrade Node to v20 (#558)
  • 9eda6b5 feat: implement cache-dependency-path option to control caching dependency (#...
  • 78078da Update @​actions/cache dependency and documentation (#549)
  • 5caaba6 add support for microsoft openjdk 21.0.0 (#546)
  • See full diff in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/setup-java&package-manager=github_actions&previous-version=3.13.0&new-version=4.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #290 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/290 from google:dependabot/github_actions/actions/setup-java-4.0.0 ea900adc013056a496da546f071f713b92e542c1 PiperOrigin-RevId: 586658833 --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fb8ca84f..4c446137 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,7 +40,7 @@ jobs: restore-keys: | ${{ runner.os }}-maven- - name: 'Set up JDK ${{ matrix.java }}' - uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 + uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 with: java-version: ${{ matrix.java }} distribution: 'zulu' @@ -67,7 +67,7 @@ jobs: restore-keys: | ${{ runner.os }}-maven- - name: 'Set up JDK 8' - uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 + uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 with: java-version: 8 distribution: 'zulu' @@ -96,7 +96,7 @@ jobs: restore-keys: | ${{ runner.os }}-maven- - name: 'Set up JDK 11' - uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 + uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 with: java-version: 11 distribution: 'zulu' From ccca087b199a265207e76021ef9c123fb8b7c3e2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 4 Dec 2023 09:31:03 -0800 Subject: [PATCH 130/189] Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.6.2 to 3.6.3 Bumps [org.apache.maven.plugins:maven-javadoc-plugin](https://github.com/apache/maven-javadoc-plugin) from 3.6.2 to 3.6.3.
Commits
  • 8205008 [maven-release-plugin] prepare release maven-javadoc-plugin-3.6.3
  • b69af90 [MJAVADOC-682] Reactor builds fail when multiple modules with same groupId:ar...
  • b47b280 directory, not folder
  • 488624f [MJAVADOC-782] Align read-only parameters naming with other plugins
  • 867dc73 [MJAVADOC-781] Upgrade plugins and components (in ITs)
  • 0104ab2 Fix incorrect config in test-javadoc-test-plugin-config.xml
  • dd39c0c [MJAVADOC-780] add missing plugin configuration
  • e6e6180 Remove junk from 692d7a8a9918efd24633a44f0f3d4dfd22d0fec4
  • 692d7a8 [MJAVADOC-779] - Upgrade maven-plugin parent to 41
  • 386d4ea Remove dead link
  • Additional commits viewable in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.apache.maven.plugins:maven-javadoc-plugin&package-manager=maven&previous-version=3.6.2&new-version=3.6.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #291 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/291 from google:dependabot/maven/org.apache.maven.plugins-maven-javadoc-plugin-3.6.3 90f03407c7f60213f892af1991c96c98f2253042 PiperOrigin-RevId: 587749597 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 780e1d7f..f0a73cb2 100644 --- a/pom.xml +++ b/pom.xml @@ -169,7 +169,7 @@
maven-javadoc-plugin - 3.6.2 + 3.6.3 true UTF-8 From bb9522131ee768cfc31f26046f5e3a24886e2da5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 5 Dec 2023 05:13:06 -0800 Subject: [PATCH 131/189] Bump org.checkerframework:checker-qual from 3.40.0 to 3.41.0 Bumps [org.checkerframework:checker-qual](https://github.com/typetools/checker-framework) from 3.40.0 to 3.41.0.
Release notes

Sourced from org.checkerframework:checker-qual's releases.

Checker Framework 3.41.0

Version 3.41.0 (December 4, 2023)

User-visible changes:

New command-line options: -AassumePureGetters Unsoundly assume that every getter method is pure

Implementation details:

Added method isDeterministic() to the AnnotationProvider interface.

CFAbstractValue#leastUpperBound and CFAbstractValue#widenUpperBound are now final. Subclasses should override method CFAbstractValue#upperBound(V, TypeMirror, boolean) instead.

Closed issues:

#1497, #3345, #6037, #6204, #6276, #6282, #6290, #6296, #6319, #6327.

Changelog

Sourced from org.checkerframework:checker-qual's changelog.

Version 3.41.0 (December 4, 2023)

User-visible changes:

New command-line options: -AassumePureGetters Unsoundly assume that every getter method is pure

Implementation details:

Added method isDeterministic() to the AnnotationProvider interface.

CFAbstractValue#leastUpperBound and CFAbstractValue#widenUpperBound are now final. Subclasses should override method CFAbstractValue#upperBound(V, TypeMirror, boolean) instead.

Closed issues:

#1497, #3345, #6037, #6204, #6276, #6282, #6290, #6296, #6319, #6327.

Commits
  • df9b135 new release 3.41.0
  • 2f4073a Prep for release.
  • 19ae530 Transfer function documentation (#6333)
  • 116b265 Update plugin com.diffplug.spotless to v6.23.3
  • f80af83 Use Error Prone 2.23.0 (suppress warning)
  • 918fa9e Don't compute element unless necessary
  • d146eea Update dependency io.github.classgraph:classgraph to v4.8.165 (#6331)
  • 98da4e5 Remove a project
  • 43db447 Add a new method to handle annotations not on the classpath
  • 3bca5e2 Update dependency com.amazonaws:aws-java-sdk-bom to v1.12.603 (#6328)
  • Additional commits viewable in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.checkerframework:checker-qual&package-manager=maven&previous-version=3.40.0&new-version=3.41.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #292 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/292 from google:dependabot/maven/org.checkerframework-checker-qual-3.41.0 b2522b16fc65a4d30d44c9503d50d6a515ae9e1f PiperOrigin-RevId: 588033603 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index f0a73cb2..da8ebf12 100644 --- a/pom.xml +++ b/pom.xml @@ -131,7 +131,7 @@ org.checkerframework checker-qual - 3.40.0 + 3.41.0 From 8752f4f008a85ecac91365374d4d3cf1ee77bf15 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 13 Dec 2023 07:32:17 -0800 Subject: [PATCH 132/189] Bump com.ibm.icu:icu4j from 74.1 to 74.2 Bumps [com.ibm.icu:icu4j](https://github.com/unicode-org/icu) from 74.1 to 74.2.
Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.ibm.icu:icu4j&package-manager=maven&previous-version=74.1&new-version=74.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #293 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/293 from google:dependabot/maven/com.ibm.icu-icu4j-74.2 2e37d2a77918d9f478342537739e5c8797e35810 PiperOrigin-RevId: 590591933 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index da8ebf12..7ef0af0a 100644 --- a/pom.xml +++ b/pom.xml @@ -114,7 +114,7 @@ com.ibm.icu icu4j - 74.1 + 74.2 From 28a925d02e800db52f1c3a18610b9090c80bfa37 Mon Sep 17 00:00:00 2001 From: cpovirk Date: Wed, 13 Dec 2023 10:13:15 -0800 Subject: [PATCH 133/189] Stop trying to link to https://checkerframework.org/api/ It's [causing Javadoc builds to fail](https://github.com/google/jimfs/pull/293#issuecomment-1854091258). RELNOTES=n/a PiperOrigin-RevId: 590637691 --- pom.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/pom.xml b/pom.xml index 7ef0af0a..5142cd0c 100644 --- a/pom.xml +++ b/pom.xml @@ -178,7 +178,6 @@ ${java.version} false - https://checkerframework.org/api/ https://guava.dev/releases/${guava.version}/api/docs/ https://unicode-org.github.io/icu-docs/apidoc/released/icu4j From 447c55c4471e974743a9e4b1de9ec014dd7adfb2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 14 Dec 2023 08:31:41 -0800 Subject: [PATCH 134/189] Bump org.apache.maven.plugins:maven-surefire-plugin from 3.2.2 to 3.2.3 Bumps [org.apache.maven.plugins:maven-surefire-plugin](https://github.com/apache/maven-surefire) from 3.2.2 to 3.2.3.
Commits
  • ac9e574 [maven-release-plugin] prepare release surefire-3.2.3
  • 2d6cbc6 [SUREFIRE-2220] SurefireForkChannel#getForkNodeConnectionString() returns inv...
  • 05322d9 [SUREFIRE-2212] OutOfMemoryError raised when parsing files with huge stderr/s...
  • 55ccd06 [SUREFIRE-2211] additionalClasspathElement with UNC path not working with Mav...
  • aa864f4 [SUREFIRE-2216] Upgrade plugins and components (in ITs)
  • 6662e07 [SUREFIRE-2215] Upgrade to Parent 41
  • f5b73ab [SUREFIRE-2214] Uprade to HtmlUnit 3.8.0
  • 47c5816 [SUREFIRE-2210] - Restore ordering of additional class path elements
  • 9b7ecf1 [maven-release-plugin] prepare for next development iteration
  • See full diff in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.apache.maven.plugins:maven-surefire-plugin&package-manager=maven&previous-version=3.2.2&new-version=3.2.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #295 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/295 from google:dependabot/maven/org.apache.maven.plugins-maven-surefire-plugin-3.2.3 b01384e4c853a6445a60e481bded5708c376869e PiperOrigin-RevId: 590948523 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 5142cd0c..c2a7581c 100644 --- a/pom.xml +++ b/pom.xml @@ -191,7 +191,7 @@
maven-surefire-plugin - 3.2.2 + 3.2.3 org.apache.felix From 488daba1581a2fd9e4901b8eab0739856e9eef6a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 18 Dec 2023 07:25:09 -0800 Subject: [PATCH 135/189] Bump org.checkerframework:checker-qual from 3.41.0 to 3.42.0 Bumps [org.checkerframework:checker-qual](https://github.com/typetools/checker-framework) from 3.41.0 to 3.42.0.
Release notes

Sourced from org.checkerframework:checker-qual's releases.

Checker Framework 3.42.0

Version 3.42.0 (December 15, 2023)

User-visible changes:

Method annotation @AssertMethod indicates that a method checks a value and possibly throws an assertion. Using it can make flow-sensitive type refinement more effective.

In org.checkerframework.common.util.debug, renamed EmptyProcessor to DoNothingProcessor. Removed org.checkerframework.common.util.report.DoNothingChecker. Moved ReportChecker from org.checkerframework.common.util.report to org.checkerframework.common.util.count.report.

Changelog

Sourced from org.checkerframework:checker-qual's changelog.

Version 3.42.0 (December 15, 2023)

User-visible changes:

Method annotation @AssertMethod indicates that a method checks a value and possibly throws an assertion. Using it can make flow-sensitive type refinement more effective.

In org.checkerframework.common.util.debug, renamed EmptyProcessor to DoNothingProcessor. Removed org.checkerframework.common.util.report.DoNothingChecker. Moved ReportChecker from org.checkerframework.common.util.report to org.checkerframework.common.util.count.report.

Commits
  • ed3a237 new release 3.42.0
  • 9053af5 Prep for release.
  • 886d0b3 Add support for opt.map(type::method) pattern. (#6370)
  • 4b5e2c9 ReportChecker: Fix array access crash
  • 3eb26a9 Fix guava-assertions.astub
  • 7906a83 Add -y, a second command-line option for exclusion
  • b38ed80 Fix Kotlin instructions
  • ae8a6e1 Add support for OptionalDouble, OptionalInt, OptionalLong
  • 17226ff Add Optional method annotations
  • 964d027 Permit Stream.filter(Optional::isPresent).map(Optional::get)
  • Additional commits viewable in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.checkerframework:checker-qual&package-manager=maven&previous-version=3.41.0&new-version=3.42.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #296 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/296 from google:dependabot/maven/org.checkerframework-checker-qual-3.42.0 2584e8280f2f745a8318ef6a4714f287218abffa PiperOrigin-RevId: 591890034 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index c2a7581c..90c4b33b 100644 --- a/pom.xml +++ b/pom.xml @@ -131,7 +131,7 @@ org.checkerframework checker-qual - 3.41.0 + 3.42.0 From 215e02a5e1e7960105307f0eb2700e62e50877a9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 19 Dec 2023 09:19:29 -0800 Subject: [PATCH 136/189] Bump org.apache.maven.plugins:maven-compiler-plugin from 3.11.0 to 3.12.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [org.apache.maven.plugins:maven-compiler-plugin](https://github.com/apache/maven-compiler-plugin) from 3.11.0 to 3.12.0.
Release notes

Sourced from org.apache.maven.plugins:maven-compiler-plugin's releases.

3.12.0

🚀 New features and improvements

🐛 Bug Fixes

📦 Dependency updates

👻 Maintenance

Commits
  • c08b0fd [maven-release-plugin] prepare release maven-compiler-plugin-3.12.0
  • a1c5b13 [MCOMPILER-565] Allow project build by Maven 4
  • 4855773 Bump plexusCompilerVersion from 2.13.0 to 2.14.1
  • 1d05342 [MCOMPILER-562] Add property maven.compiler.outputDirectory to CompilerMojo (...
  • ea74978 [MCOMPILER-381] - Refactor incremental detection (#181)
  • fd37f09 [MCOMPILER-333] Cleanup generated source files (#214)
  • d721f0f [MCOMPILER-542] rework log and conditions to run
  • 8420d58 [MCOMPILER-542] Clean JDK patch version in module-info.class
  • 340f63c [MCOMPILER-542] add IT
  • e5375fd [MCOMPILER-558] compileSourceRoots in testCompile should be writable (#209)
  • Additional commits viewable in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.apache.maven.plugins:maven-compiler-plugin&package-manager=maven&previous-version=3.11.0&new-version=3.12.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #298 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/298 from google:dependabot/maven/org.apache.maven.plugins-maven-compiler-plugin-3.12.0 40c2d715ee409c130c02b92d9d9cfdce018db26f PiperOrigin-RevId: 592256498 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 90c4b33b..a1816a53 100644 --- a/pom.xml +++ b/pom.xml @@ -161,7 +161,7 @@ maven-compiler-plugin - 3.11.0 + 3.12.0 maven-source-plugin From e4a148f4306b8288dafca379f14df86c0c9876a3 Mon Sep 17 00:00:00 2001 From: cpovirk Date: Tue, 19 Dec 2023 09:24:51 -0800 Subject: [PATCH 137/189] Bump Guava to 33.0.0. RELNOTES=n/a PiperOrigin-RevId: 592257829 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index a1816a53..9c35b9c7 100644 --- a/pom.xml +++ b/pom.xml @@ -97,7 +97,7 @@ 1.1.1 1.2.2 1.8 - 32.1.3-jre + 33.0.0-jre 2.23.0 From af9b4c76522e5088da4065ba2495f526d7db57b8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 20 Dec 2023 09:30:56 -0800 Subject: [PATCH 138/189] Bump com.google.truth:truth from 1.1.5 to 1.2.0 Bumps [com.google.truth:truth](https://github.com/google/truth) from 1.1.5 to 1.2.0.
Release notes

Sourced from com.google.truth:truth's releases.

1.2.0

  • Fixed a bug that caused ProtoTruth to ignore the contents of unpacked Any messages. This fix may cause tests to fail, since ProtoTruth will now check whether the message contents match. If so, you may need to change the values that your tests expect, or there may be a bug in the code under test that had been hidden by the Truth bug. Sorry for the trouble. (8bd3ef613)
  • Added isWithin().of() support to IntegerSubject and LongSubject. (6464cb5ca, 0e99a2711)
Commits
  • 60873b1 Set version number for truth-parent to 1.2.0.
  • 61d7afb Bump Guava to 33.0.0.
  • cb09b47 Bump org.apache.maven.plugins:maven-compiler-plugin from 3.11.0 to 3.12.0
  • 5da5e3f Bump org.checkerframework:checker-qual from 3.41.0 to 3.42.0
  • fde6632 Make our nullness checking work with an Android bootclasspath.
  • 3e125c7 Bump org.apache.maven.plugins:maven-surefire-plugin from 3.2.2 to 3.2.3
  • 6464cb5 Add isWithin().of() support to IntegerSubject.
  • 91f4bdc Remove getSuperclass() from the j2kt API, as it's not supported and ideally w...
  • d532e91 Bump org.checkerframework:checker-qual from 3.40.0 to 3.41.0
  • 04fddbb Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.6.2 to 3.6.3
  • Additional commits viewable in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.google.truth:truth&package-manager=maven&previous-version=1.1.5&new-version=1.2.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #300 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/300 from google:dependabot/maven/com.google.truth-truth-1.2.0 18fc8aca8f7eb2d2b9422a9aa577ed382d3a84d5 PiperOrigin-RevId: 592582235 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 9c35b9c7..3fd5fa3c 100644 --- a/pom.xml +++ b/pom.xml @@ -150,7 +150,7 @@ com.google.truth truth - 1.1.5 + 1.2.0 test From b500d42748ae19eb02f1828786b2818a52297b48 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 25 Dec 2023 08:50:08 -0800 Subject: [PATCH 139/189] Bump org.apache.maven.plugins:maven-compiler-plugin from 3.12.0 to 3.12.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [org.apache.maven.plugins:maven-compiler-plugin](https://github.com/apache/maven-compiler-plugin) from 3.12.0 to 3.12.1.
Release notes

Sourced from org.apache.maven.plugins:maven-compiler-plugin's releases.

3.12.1

🐛 Bug Fixes

📦 Dependency updates

Commits
  • 736da68 [maven-release-plugin] prepare release maven-compiler-plugin-3.12.1
  • ef93f3d [MCOMPILER-568] Bump plexusCompilerVersion from 2.14.1 to 2.14.2 (#220)
  • eb7840c [MCOMPILER-567] - Fail to compile if the "generated-sources/annotations" does...
  • 2a7a73b [maven-release-plugin] prepare for next development iteration
  • See full diff in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.apache.maven.plugins:maven-compiler-plugin&package-manager=maven&previous-version=3.12.0&new-version=3.12.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #302 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/302 from google:dependabot/maven/org.apache.maven.plugins-maven-compiler-plugin-3.12.1 ee9e7ba427afdffc3908a9f94c06d8a7d5911d40 PiperOrigin-RevId: 593616453 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 3fd5fa3c..95b186df 100644 --- a/pom.xml +++ b/pom.xml @@ -161,7 +161,7 @@ maven-compiler-plugin - 3.12.0 + 3.12.1 maven-source-plugin From 4a4334a4599e209806ccaa2f99b72c467fdc0b89 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 26 Dec 2023 09:17:44 -0800 Subject: [PATCH 140/189] Bump com.google.errorprone:error_prone_core from 2.23.0 to 2.24.0 Bumps [com.google.errorprone:error_prone_core](https://github.com/google/error-prone) from 2.23.0 to 2.24.0.
Release notes

Sourced from com.google.errorprone:error_prone_core's releases.

Error Prone 2.24.0

New checks:

Full Changelog: https://github.com/google/error-prone/compare/v2.23.0...v2.24.0

Commits
  • 2cc8504 Release Error Prone 2.24.0
  • 21c190a Document that javadoc shouldn't appear between annotations and the documented...
  • d272dfa Automated rollback of commit 654d1dbf1e6dd652cd6e8ca003643ddf02266ec2.
  • 654d1db Handle Joiner.on(...) in AbstractToString.
  • da7be27 Descend into VariableTrees when looking for variables to check.
  • affa37a Do not flag unused parameters on abstract methods.
  • d78dd6d Don't report NonFinalStaticField findings for fields modified in `@BeforeClas...
  • aadfdc3 WellKnownThreadSafety: Add common PKIX types to known thread-safe list.
  • ac52ca9 AutoValueFinalMethods: support method-level suppression.
  • 336323a Import eisop/checker-framework from GitHub.
  • Additional commits viewable in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.google.errorprone:error_prone_core&package-manager=maven&previous-version=2.23.0&new-version=2.24.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #301 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/301 from google:dependabot/maven/com.google.errorprone-error_prone_core-2.24.0 24db87db8af99b360b624301db0268836a7afe07 PiperOrigin-RevId: 593805224 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 95b186df..c0546556 100644 --- a/pom.xml +++ b/pom.xml @@ -98,7 +98,7 @@ 1.2.2 1.8 33.0.0-jre - 2.23.0 + 2.24.0 From 5f0139218d3e3f1bfd7b5776eb857ec1bac9c4b5 Mon Sep 17 00:00:00 2001 From: cpovirk Date: Thu, 28 Dec 2023 18:24:08 -0800 Subject: [PATCH 141/189] Use fake filesystems to make Guava tests work better [under Windows](https://github.com/google/guava/issues/2130) and Android, and prepare jimfs for some preliminary Android testing. RELNOTES=n/a PiperOrigin-RevId: 594346983 --- .../java/com/google/common/jimfs/SystemFileTimeSource.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/jimfs/src/main/java/com/google/common/jimfs/SystemFileTimeSource.java b/jimfs/src/main/java/com/google/common/jimfs/SystemFileTimeSource.java index 05d71f08..4d9a942c 100644 --- a/jimfs/src/main/java/com/google/common/jimfs/SystemFileTimeSource.java +++ b/jimfs/src/main/java/com/google/common/jimfs/SystemFileTimeSource.java @@ -24,6 +24,11 @@ enum SystemFileTimeSource implements FileTimeSource { INSTANCE; @Override + /* + * We don't really support usage from Android, but all configurations we're testing under support + * java.time. + */ + @SuppressWarnings("AndroidJdkLibsChecker") public FileTime now() { return FileTime.from(Instant.now()); } From 0747ba74502a867ade48c6deee152268ae6ecc1e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 4 Jan 2024 08:12:38 -0800 Subject: [PATCH 142/189] Bump com.google.errorprone:error_prone_core from 2.24.0 to 2.24.1 Bumps [com.google.errorprone:error_prone_core](https://github.com/google/error-prone) from 2.24.0 to 2.24.1.
Release notes

Sourced from com.google.errorprone:error_prone_core's releases.

Error Prone 2.24.1

Changes:

Full Changelog: https://github.com/google/error-prone/compare/v2.24.0...v2.24.1

Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.google.errorprone:error_prone_core&package-manager=maven&previous-version=2.24.0&new-version=2.24.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #304 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/304 from google:dependabot/maven/com.google.errorprone-error_prone_core-2.24.1 8c2596cc3e4caac62211c864a91b25ea62ea745c PiperOrigin-RevId: 595708898 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index c0546556..cfc47ae2 100644 --- a/pom.xml +++ b/pom.xml @@ -98,7 +98,7 @@ 1.2.2 1.8 33.0.0-jre - 2.24.0 + 2.24.1 From d75f9b9d4264cf57b113c16b651a4841d017f0c5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 10 Jan 2024 08:02:52 -0800 Subject: [PATCH 143/189] Bump org.apache.maven.plugins:maven-surefire-plugin from 3.2.3 to 3.2.5 Bumps [org.apache.maven.plugins:maven-surefire-plugin](https://github.com/apache/maven-surefire) from 3.2.3 to 3.2.5.
Commits
  • 4b3a271 [maven-release-plugin] prepare release surefire-3.2.5
  • eb3f1d9 Bump org.codehaus.plexus:plexus-component-metadata from 2.1.1 to 2.2.0
  • 430c406 Bump org.assertj:assertj-core from 3.24.2 to 3.25.1
  • 2d92f2d [SUREFIRE-2231] JaCoCo 0.8.11 fails with old TestNG releases on Java 17+
  • 3290740 Bump org.apache.maven.plugins:maven-docck-plugin from 1.1 to 1.2
  • 25a9776 Bump net.java.dev.javacc:javacc from 7.0.12 to 7.0.13
  • 7752f7e Bump commons-io:commons-io from 2.15.0 to 2.15.1
  • 8874add Revert "Bump jacocoVersion from 0.8.8 to 0.8.11"
  • c0f7755 Fix formatting
  • e5f4545 Bump jacocoVersion from 0.8.8 to 0.8.11
  • Additional commits viewable in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.apache.maven.plugins:maven-surefire-plugin&package-manager=maven&previous-version=3.2.3&new-version=3.2.5)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #305 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/305 from google:dependabot/maven/org.apache.maven.plugins-maven-surefire-plugin-3.2.5 2c674978054db3c6cde8d30084462a038da0da3c PiperOrigin-RevId: 597251412 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index cfc47ae2..c6f21afa 100644 --- a/pom.xml +++ b/pom.xml @@ -191,7 +191,7 @@
maven-surefire-plugin - 3.2.3 + 3.2.5 org.apache.felix From a0ab3cb1f04fd8ef50d2b97a95a5c43070bd0e33 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 13 Jan 2024 10:04:21 -0800 Subject: [PATCH 144/189] Bump actions/cache from 3.3.2 to 3.3.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [actions/cache](https://github.com/actions/cache) from 3.3.2 to 3.3.3.
Release notes

Sourced from actions/cache's releases.

v3.3.3

What's Changed

New Contributors

Full Changelog: https://github.com/actions/cache/compare/v3...v3.3.3

Changelog

Sourced from actions/cache's changelog.

Releases

3.0.0

  • Updated minimum runner version support from node 12 -> node 16

3.0.1

  • Added support for caching from GHES 3.5.
  • Fixed download issue for files > 2GB during restore.

3.0.2

  • Added support for dynamic cache size cap on GHES.

3.0.3

  • Fixed avoiding empty cache save when no files are available for caching. (issue)

3.0.4

  • Fixed tar creation error while trying to create tar with path as ~/ home folder on ubuntu-latest. (issue)

3.0.5

  • Removed error handling by consuming actions/cache 3.0 toolkit, Now cache server error handling will be done by toolkit. (PR)

3.0.6

  • Fixed #809 - zstd -d: no such file or directory error
  • Fixed #833 - cache doesn't work with github workspace directory

3.0.7

  • Fixed #810 - download stuck issue. A new timeout is introduced in the download process to abort the download if it gets stuck and doesn't finish within an hour.

3.0.8

  • Fix zstd not working for windows on gnu tar in issues #888 and #891.
  • Allowing users to provide a custom timeout as input for aborting download of a cache segment using an environment variable SEGMENT_DOWNLOAD_TIMEOUT_MINS. Default is 60 minutes.

3.0.9

  • Enhanced the warning message for cache unavailablity in case of GHES.

3.0.10

  • Fix a bug with sorting inputs.
  • Update definition for restore-keys in README.md

... (truncated)

Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/cache&package-manager=github_actions&previous-version=3.3.2&new-version=3.3.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #306 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/306 from google:dependabot/github_actions/actions/cache-3.3.3 dfb3d9003e25d8cd5d9499bfd483cb6546eccbce PiperOrigin-RevId: 598206204 --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4c446137..0113588f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,7 +33,7 @@ jobs: - name: 'Check out repository' uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - name: 'Cache local Maven repository' - uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 + uses: actions/cache@e12d46a63a90f2fae62d114769bbf2a179198b5c with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} @@ -60,7 +60,7 @@ jobs: - name: 'Check out repository' uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - name: 'Cache local Maven repository' - uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 + uses: actions/cache@e12d46a63a90f2fae62d114769bbf2a179198b5c with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} @@ -89,7 +89,7 @@ jobs: - name: 'Check out repository' uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - name: 'Cache local Maven repository' - uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 + uses: actions/cache@e12d46a63a90f2fae62d114769bbf2a179198b5c with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} From b0f64bfa6fa21bc5ecc602d658e253d97cb3fda6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 17 Jan 2024 09:41:51 -0800 Subject: [PATCH 145/189] Bump actions/cache from 3.3.3 to 4.0.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [actions/cache](https://github.com/actions/cache) from 3.3.3 to 4.0.0.
Release notes

Sourced from actions/cache's releases.

v4.0.0

What's Changed

New Contributors

Full Changelog: https://github.com/actions/cache/compare/v3...v4.0.0

Changelog

Sourced from actions/cache's changelog.

Releases

3.0.0

  • Updated minimum runner version support from node 12 -> node 16

3.0.1

  • Added support for caching from GHES 3.5.
  • Fixed download issue for files > 2GB during restore.

3.0.2

  • Added support for dynamic cache size cap on GHES.

3.0.3

  • Fixed avoiding empty cache save when no files are available for caching. (issue)

3.0.4

  • Fixed tar creation error while trying to create tar with path as ~/ home folder on ubuntu-latest. (issue)

3.0.5

  • Removed error handling by consuming actions/cache 3.0 toolkit, Now cache server error handling will be done by toolkit. (PR)

3.0.6

  • Fixed #809 - zstd -d: no such file or directory error
  • Fixed #833 - cache doesn't work with github workspace directory

3.0.7

  • Fixed #810 - download stuck issue. A new timeout is introduced in the download process to abort the download if it gets stuck and doesn't finish within an hour.

3.0.8

  • Fix zstd not working for windows on gnu tar in issues #888 and #891.
  • Allowing users to provide a custom timeout as input for aborting download of a cache segment using an environment variable SEGMENT_DOWNLOAD_TIMEOUT_MINS. Default is 60 minutes.

3.0.9

  • Enhanced the warning message for cache unavailablity in case of GHES.

3.0.10

  • Fix a bug with sorting inputs.
  • Update definition for restore-keys in README.md

... (truncated)

Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/cache&package-manager=github_actions&previous-version=3.3.3&new-version=4.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #307 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/307 from google:dependabot/github_actions/actions/cache-4.0.0 7435e5a3c9c465eae01135e7dd6a63dea68b59b4 PiperOrigin-RevId: 599202500 --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0113588f..b50c6913 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,7 +33,7 @@ jobs: - name: 'Check out repository' uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - name: 'Cache local Maven repository' - uses: actions/cache@e12d46a63a90f2fae62d114769bbf2a179198b5c + uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} @@ -60,7 +60,7 @@ jobs: - name: 'Check out repository' uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - name: 'Cache local Maven repository' - uses: actions/cache@e12d46a63a90f2fae62d114769bbf2a179198b5c + uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} @@ -89,7 +89,7 @@ jobs: - name: 'Check out repository' uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - name: 'Cache local Maven repository' - uses: actions/cache@e12d46a63a90f2fae62d114769bbf2a179198b5c + uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} From 7bc7d4917eeb8ddd531eac830985449ac4d0e076 Mon Sep 17 00:00:00 2001 From: cpovirk Date: Thu, 18 Jan 2024 10:09:52 -0800 Subject: [PATCH 146/189] Remove stale suppressions. RELNOTES=n/a PiperOrigin-RevId: 599543226 --- .../java/com/google/common/jimfs/SystemFileTimeSource.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/jimfs/src/main/java/com/google/common/jimfs/SystemFileTimeSource.java b/jimfs/src/main/java/com/google/common/jimfs/SystemFileTimeSource.java index 4d9a942c..05d71f08 100644 --- a/jimfs/src/main/java/com/google/common/jimfs/SystemFileTimeSource.java +++ b/jimfs/src/main/java/com/google/common/jimfs/SystemFileTimeSource.java @@ -24,11 +24,6 @@ enum SystemFileTimeSource implements FileTimeSource { INSTANCE; @Override - /* - * We don't really support usage from Android, but all configurations we're testing under support - * java.time. - */ - @SuppressWarnings("AndroidJdkLibsChecker") public FileTime now() { return FileTime.from(Instant.now()); } From d6fdb58e30f6c2fd6566395a3e95fa5f23827937 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 22 Jan 2024 07:42:18 -0800 Subject: [PATCH 147/189] Bump com.google.truth:truth from 1.2.0 to 1.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [com.google.truth:truth](https://github.com/google/truth) from 1.2.0 to 1.3.0.
Release notes

Sourced from com.google.truth:truth's releases.

1.3.0

In this release, our assertions on Java 8 types begin to move from the truth-java8-extensions artifact and the Truth8 class to the main truth artifact and the Truth class. This change should not break compatibility for anyone, even users who test under old versions of Android without API desugaring. Additionally, we will never break binary compatibility, though some users will have to make changes to their source code in order for it to compile against newer versions.

This change will be routine for most users, but we're providing as much information as we can for any users who do encounter problems.

We will post fuller instructions for migration later on, once we've learned more from our internal migration efforts. For now, you may find that you need to make one kind of change, and you may elect to make others. (If we missed anything, please open an issue to report problems or request help.)

The change you might need to make:

  • By adding new overloads of Truth.assertThat, we cause some code to fail to compile because of an overload ambiguity. This is rare, but it can happen if you static import both Truth.assertThat and some other assertThat method that includes overloads for Optional or Stream. (It does not happen for Truth8.assertThat, though, except with the Eclipse compiler. Nor it does necessarily happen for other assertThat(Stream) and assertThat(Optional) methods.) If this happens to you, you'll need to remove one of the static imports, changing the corresponding call sites from "assertThat" to "FooSubject.assertThat."
    • Alternatively, you may choose to wait until we make further changes to the new Truth.assertThat overloads. Once we make those further changes, you may be able to simultaneously replace all your imports of Truth8.assertThat with imports of Truth.assertThat as you upgrade to the new version, likely without introducing overload ambiguities.

The changes you might elect to make:

  • If you use Truth8.assertThat(Stream) or Truth8.assertThat(Optional), you can migrate to the new overloads in Truth. If you static import Truth8.assertThat, you can usually make this change simply by replacing that static import with a static import of Truth.assertThat—or, if you already have an import of Truth.assertThat, by just removing the import of Truth8.assertThat. (If you additionally use less common assertion methods, like assertThat(OptionalInt), you'll want to use both imports for now. Later, we'll move assertThat(OptionalInt) and friends, too.) We recommend making this change now, since your calls to Truth8.assertThat will fail to compile against some future version of Truth, unless you plan to wait to update your Truth dependency until we've made all our changes for Java 8 types.

  • If you use assertWithMessage(...).about(streams()).that(...), expect.about(optionals()).that(...), or similar, you can remove your call to about. This change will never be necessary; it is just a simplification.

  • If you depend on truth-java8-extension, you may remove it. All its classes are now part of the main truth artifact. This change, too, is not necessary; it is just a simplification. (OK, if your build system has a concept of strict deps, there is a chance that you'll need to add deps on truth to replace your deps on truth-java8-extension.)

Finally, the changelog for this release:

  • Made StreamSubject avoid collecting the Stream until necessary, and made its isEqualTo and isNotEqualTo methods no longer always throw. (f8ecaec69)
  • Added assertThat overloads for Optional and Stream to the main Truth class. (37fd8bea9)
  • Added that overloads to make it possible to write type-specific assertions when using expect.that(optional) and expect.that(stream). (ca7e8f4c5)
  • Moved the truth-java8-extension classes into the main truth artifact. There is no longer any need to depend on truth-java8-extension, which is now empty. (We've also removed the Truth8 GWT module.) (eb0426eb7)

Again, if you have any problems, please let us know.

Commits
  • abf9e15 Set version number for truth-parent to 1.3.0.
  • 93b4d93 Add @since tags for the first batch of Java-8-related APIs.
  • 78d27dd Remove stale suppressions.
  • 7be930d Bump actions/cache from 3.3.3 to 4.0.0
  • 16db780 Make "value of" lines work with StreamSubject.
  • 37fd8be Copy Truth8.assertThat overloads for Optional and Stream to the main `T...
  • ca7e8f4 Make it possible to write expect.that(optional).isPresent(), `assertWithMes...
  • f8ecaec Prepare StreamSubject for adding Truth.assertThat(Stream).
  • 795a9cf Bump actions/cache from 3.3.2 to 3.3.3
  • 7dab78f Bump com.google.protobuf:protobuf-java from 3.25.1 to 3.25.2
  • Additional commits viewable in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.google.truth:truth&package-manager=maven&previous-version=1.2.0&new-version=1.3.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #309 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/309 from google:dependabot/maven/com.google.truth-truth-1.3.0 5350ab1791d439bccbfdb943cd8accb8f899666d PiperOrigin-RevId: 600453654 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index c6f21afa..21f66373 100644 --- a/pom.xml +++ b/pom.xml @@ -150,7 +150,7 @@ com.google.truth truth - 1.2.0 + 1.3.0 test From ef48313df054030139ff50213cb2728882fc4cdd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 26 Jan 2024 06:07:07 -0800 Subject: [PATCH 148/189] Bump styfle/cancel-workflow-action from 0.12.0 to 0.12.1 Bumps [styfle/cancel-workflow-action](https://github.com/styfle/cancel-workflow-action) from 0.12.0 to 0.12.1.
Release notes

Sourced from styfle/cancel-workflow-action's releases.

0.12.1

Patches

  • Fix: bump to node20: #212
Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=styfle/cancel-workflow-action&package-manager=github_actions&previous-version=0.12.0&new-version=0.12.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #310 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/310 from google:dependabot/github_actions/styfle/cancel-workflow-action-0.12.1 2486288f42c1288f2f2669082a7bae24d54f24cf PiperOrigin-RevId: 601744605 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b50c6913..8558622d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,7 +27,7 @@ jobs: steps: # Cancel any previous runs for the same branch that are still running. - name: 'Cancel previous runs' - uses: styfle/cancel-workflow-action@01ce38bf961b4e243a6342cbade0dbc8ba3f0432 + uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa with: access_token: ${{ github.token }} - name: 'Check out repository' From 0e25a1e654f45e8d9c995c493560f70252719e64 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 5 Feb 2024 10:45:18 -0800 Subject: [PATCH 149/189] Bump com.google.truth:truth from 1.3.0 to 1.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [com.google.truth:truth](https://github.com/google/truth) from 1.3.0 to 1.4.0.
Release notes

Sourced from com.google.truth:truth's releases.

1.4.0

In this release, our assertions on Java 8 types continue to move from the Truth8 class to the main Truth class. This change should not break compatibility for any supported JDK or Android version, even users who test under old versions of Android without API desugaring. Additionally, we will never break binary compatibility, though some users will have to make changes to their source code in order for it to compile against newer versions.

This release is likely to lead to more build failures than 1.3.0 did. However, those failures should be straightforward to fix.

Example build failure

Foo.java:152: error: reference to assertThat is ambiguous
    assertThat(repo.findFileWithName("foo")).isNull();
    ^
  both method assertThat(@org.jspecify.nullness.Nullable Path) in Truth8 and method assertThat(@org.jspecify.nullness.Nullable Path) in Truth match

Simplest upgrade strategy (if you can update all your code atomically in the same commit as the Truth upgrade)

In the same commit:

  1. Upgrade Truth to 1.4.0.
  2. Replace import static com.google.common.truth.Truth8.assertThat; with import static com.google.common.truth.Truth.assertThat;.
    • If you use Kotlin, replace import com.google.common.truth.Truth8.assertThat with import com.google.common.truth.Truth.assertThat.
  3. Replace import com.google.common.truth.Truth8; with import com.google.common.truth.Truth;.
    • again, similarly for Kotlin if needed
  4. Replace remaining references to Truth8 with references to Truth.
    • For example, replace Truth8.assertThat(optional).isPresent() with Truth.assertThat(optional).isPresent().

If you're feeling lucky, you can try this one-liner for the code updates:

git grep -l Truth8 | xargs perl -pi -e 's/import static com.google.common.truth.Truth8.assertThat;/import static com.google.common.truth.Truth.assertThat;/g; s/import com.google.common.truth.Truth8.assertThat/import com.google.common.truth.Truth.assertThat/g; s/import com.google.common.truth.Truth8/import com.google.common.truth.Truth/g; s/\bTruth8[.]/Truth./g;'

After that process, it is possible that you'll still see build errors from ambiguous usages of assertThat static imports. If so, you can find a workaround in the section about overload ambiguity in the release notes for 1.3.0. Alternatively, you can wait to upgrade until after a future Truth release, which will eliminate the ambiguity by changing the signatures of some Truth.assertThat overloads.

Incremental upgrade strategy

If you have a very large repo or you have other reasons to prefer to upgrade incrementally, you can use the approach that we used inside Google. Roughly, that approach was:

  1. Make the optional changes discussed in the release notes for 1.3.0.
  2. For any remaining calls to Truth8.assertThat, change them to avoid static import.
    • That is, replace assertThat(optional).isPresent() with Truth8.assertThat(optional).isPresent().
  3. Upgrade Truth to 1.4.0.
  4. Optionally replace references to Truth8 with references to Truth (including restoring static imports if desired), as discussed in section about the simple upgrade strategy above.

Optional additional changes

  • If you use assertWithMessage(...).about(intStreams()).that(...), expect.about(optionalLongs()).that(...), or similar, you can remove your call to about. This change will never be necessary; it is just a simplification.
    • This is similar to a previous optional change from 1.3.0, except that 1.3.0 solved this problem for streams and optionals, whereas 1.4.0 solves it for the other Truth8 types.

For help

... (truncated)

Commits
  • 2e8e488 Set version number for truth-parent to 1.4.0.
  • 1f81827 Copy Truth8.assertThat overloads for Path and OptionalLong to the main ...
  • 9be8e77 Copy remaining Truth8.assertThat overloads to the main Truth class—except...
  • b02a658 Migrate most usages of Truth8.assertThat to equivalent usages of `Truth.ass...
  • 0999369 Automated Code Change
  • 7c65fc6 Make it possible to write expect.that(optionalInt).isPresent(), `assertWith...
  • 87b371d Bump styfle/cancel-workflow-action from 0.12.0 to 0.12.1
  • See full diff in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.google.truth:truth&package-manager=maven&previous-version=1.3.0&new-version=1.4.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #311 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/311 from google:dependabot/maven/com.google.truth-truth-1.4.0 6f3d0846e0b4bca51a0bfa60e129349d454d8e7d PiperOrigin-RevId: 604365872 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 21f66373..f3f3a858 100644 --- a/pom.xml +++ b/pom.xml @@ -150,7 +150,7 @@ com.google.truth truth - 1.3.0 + 1.4.0 test From 8034e710d854ab6bfbe77f6a35ac70933ea2826e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 19 Feb 2024 07:06:02 -0800 Subject: [PATCH 150/189] Bump com.google.errorprone:error_prone_core from 2.24.1 to 2.25.0 Bumps [com.google.errorprone:error_prone_core](https://github.com/google/error-prone) from 2.24.1 to 2.25.0.
Release notes

Sourced from com.google.errorprone:error_prone_core's releases.

Error Prone 2.25.0

New checks:

Closed issues: #4195, #4224, #4228, #4248, #4249, #4251

Full Changelog: https://github.com/google/error-prone/compare/v2.24.1...v2.25.0

Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.google.errorprone:error_prone_core&package-manager=maven&previous-version=2.24.1&new-version=2.25.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #312 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/312 from google:dependabot/maven/com.google.errorprone-error_prone_core-2.25.0 d55e325b031eae83cc4da0e7d859086ca08568d5 PiperOrigin-RevId: 608328823 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index f3f3a858..2b559bc6 100644 --- a/pom.xml +++ b/pom.xml @@ -98,7 +98,7 @@ 1.2.2 1.8 33.0.0-jre - 2.24.1 + 2.25.0 From 841edaf28285c9cbc78aa40e26fdf94e7e28b7c0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 20 Feb 2024 08:27:19 -0800 Subject: [PATCH 151/189] Bump com.google.truth:truth from 1.4.0 to 1.4.1 Bumps [com.google.truth:truth](https://github.com/google/truth) from 1.4.0 to 1.4.1.
Release notes

Sourced from com.google.truth:truth's releases.

1.4.1

This release deprecates Truth8.

All its methods have become available on the main Truth class. In most cases, you can migrate your whole project mechanically: git grep -l Truth8 | xargs perl -pi -e 's/\bTruth8\b/Truth/g;'

While we do not plan to delete Truth8, we recommend migrating off it, at least if you static import assertThat: If you do not migrate, such static imports will become ambiguous in Truth 1.4.2, breaking your build.

Commits
  • a920d7d Set version number for truth-parent to 1.4.1.
  • 3406074 Document more about how and why to migrate off Truth8.
  • 2be0061 Update docs to reflect that the Java 8 assertions have "moved" to the main `T...
  • See full diff in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.google.truth:truth&package-manager=maven&previous-version=1.4.0&new-version=1.4.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #313 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/313 from google:dependabot/maven/com.google.truth-truth-1.4.1 9af1dab551a7b8775cb08fbad9b9065f1ee73953 PiperOrigin-RevId: 608613826 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 2b559bc6..cf5aa1b4 100644 --- a/pom.xml +++ b/pom.xml @@ -150,7 +150,7 @@ com.google.truth truth - 1.4.0 + 1.4.1 test From f41bc2d4fd4eab12b3b92056e66790954386bd77 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 28 Feb 2024 07:04:13 -0800 Subject: [PATCH 152/189] Bump actions/setup-java from 4.0.0 to 4.1.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [actions/setup-java](https://github.com/actions/setup-java) from 4.0.0 to 4.1.0.
Release notes

Sourced from actions/setup-java's releases.

V4.1.0

What's Changed

New Contributors

Full Changelog: https://github.com/actions/setup-java/compare/v4...v4.1.0

Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/setup-java&package-manager=github_actions&previous-version=4.0.0&new-version=4.1.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #314 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/314 from google:dependabot/github_actions/actions/setup-java-4.1.0 f04a5b47956ae46b5b0251572e060a16f2d33187 PiperOrigin-RevId: 611089830 --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8558622d..cb34833a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,7 +40,7 @@ jobs: restore-keys: | ${{ runner.os }}-maven- - name: 'Set up JDK ${{ matrix.java }}' - uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 + uses: actions/setup-java@9704b39bf258b59bc04b50fa2dd55e9ed76b47a8 with: java-version: ${{ matrix.java }} distribution: 'zulu' @@ -67,7 +67,7 @@ jobs: restore-keys: | ${{ runner.os }}-maven- - name: 'Set up JDK 8' - uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 + uses: actions/setup-java@9704b39bf258b59bc04b50fa2dd55e9ed76b47a8 with: java-version: 8 distribution: 'zulu' @@ -96,7 +96,7 @@ jobs: restore-keys: | ${{ runner.os }}-maven- - name: 'Set up JDK 11' - uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 + uses: actions/setup-java@9704b39bf258b59bc04b50fa2dd55e9ed76b47a8 with: java-version: 11 distribution: 'zulu' From 3a03e68cb6d3025f558536b29567c9635b884530 Mon Sep 17 00:00:00 2001 From: cpovirk Date: Thu, 29 Feb 2024 14:24:11 -0800 Subject: [PATCH 153/189] Bump Truth to 1.4.2. RELNOTES=n/a PiperOrigin-RevId: 611595426 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index cf5aa1b4..a867190b 100644 --- a/pom.xml +++ b/pom.xml @@ -150,7 +150,7 @@ com.google.truth truth - 1.4.1 + 1.4.2 test From 068cd22b6ade61bc49e6036863ebb511eba2fb97 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 7 Mar 2024 11:35:40 -0800 Subject: [PATCH 154/189] Bump actions/cache from 4.0.0 to 4.0.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [actions/cache](https://github.com/actions/cache) from 4.0.0 to 4.0.1.
Release notes

Sourced from actions/cache's releases.

v4.0.1

What's Changed

New Contributors

Full Changelog: https://github.com/actions/cache/compare/v4...v4.0.1

Changelog

Sourced from actions/cache's changelog.

Releases

4.0.1

  • Updated isGhes check

4.0.0

  • Updated minimum runner version support from node 12 -> node 20

3.3.3

  • Updates @​actions/cache to v3.2.3 to fix accidental mutated path arguments to getCacheVersion actions/toolkit#1378
  • Additional audit fixes of npm package(s)

3.3.2

  • Fixes bug with Azure SDK causing blob downloads to get stuck.

3.3.1

  • Reduced segment size to 128MB and segment timeout to 10 minutes to fail fast in case the cache download is stuck.

3.3.0

  • Added option to lookup cache without downloading it.

3.2.6

  • Fix zstd not being used after zstd version upgrade to 1.5.4 on hosted runners.

3.2.5

  • Added fix to prevent from setting MYSYS environment variable globally.

3.2.4

  • Added option to fail job on cache miss.

3.2.3

  • Support cross os caching on Windows as an opt-in feature.
  • Fix issue with symlink restoration on Windows for cross-os caches.

3.2.2

  • Reverted the changes made in 3.2.1 to use gnu tar and zstd by default on windows.

3.2.1

... (truncated)

Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/cache&package-manager=github_actions&previous-version=4.0.0&new-version=4.0.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #316 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/316 from google:dependabot/github_actions/actions/cache-4.0.1 bc6fc871d8a7840712981349a57acc688ced9d6e PiperOrigin-RevId: 613651344 --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cb34833a..bade21b0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,7 +33,7 @@ jobs: - name: 'Check out repository' uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - name: 'Cache local Maven repository' - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 + uses: actions/cache@ab5e6d0c87105b4c9c2047343972218f562e4319 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} @@ -60,7 +60,7 @@ jobs: - name: 'Check out repository' uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - name: 'Cache local Maven repository' - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 + uses: actions/cache@ab5e6d0c87105b4c9c2047343972218f562e4319 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} @@ -89,7 +89,7 @@ jobs: - name: 'Check out repository' uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - name: 'Cache local Maven repository' - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 + uses: actions/cache@ab5e6d0c87105b4c9c2047343972218f562e4319 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} From b962b485d5cfc473799374b847ee2f17a9fd0d6e Mon Sep 17 00:00:00 2001 From: cpovirk Date: Fri, 8 Mar 2024 04:44:17 -0800 Subject: [PATCH 155/189] Migrate from soon-to-be-deprecated `propagateIfPossible` to equivalent `throwIfInstanceOf` and `throwIfUnchecked` calls. PiperOrigin-RevId: 613894984 --- .../java/com/google/common/jimfs/FileSystemState.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/jimfs/src/main/java/com/google/common/jimfs/FileSystemState.java b/jimfs/src/main/java/com/google/common/jimfs/FileSystemState.java index d203c2fd..31120fe3 100644 --- a/jimfs/src/main/java/com/google/common/jimfs/FileSystemState.java +++ b/jimfs/src/main/java/com/google/common/jimfs/FileSystemState.java @@ -17,8 +17,9 @@ package com.google.common.jimfs; import static com.google.common.base.Preconditions.checkNotNull; +import static com.google.common.base.Throwables.throwIfInstanceOf; +import static com.google.common.base.Throwables.throwIfUnchecked; -import com.google.common.base.Throwables; import com.google.common.collect.Sets; import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.io.Closeable; @@ -133,7 +134,10 @@ public void close() throws IOException { // In either case, we just need to repeat the loop until there are no more register calls // in progress (no new calls can start and no resources left to close. } while (registering.get() > 0 || !resources.isEmpty()); - Throwables.propagateIfPossible(thrown, IOException.class); + if (thrown != null) { + throwIfInstanceOf(thrown, IOException.class); + throwIfUnchecked(thrown); + } } } } From 67c284df07e07e4208917a2f833d18d258391ec3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 12 Mar 2024 08:31:36 -0700 Subject: [PATCH 156/189] Bump org.apache.maven.plugins:maven-gpg-plugin from 3.1.0 to 3.2.0 Bumps [org.apache.maven.plugins:maven-gpg-plugin](https://github.com/apache/maven-gpg-plugin) from 3.1.0 to 3.2.0.
Release notes

Sourced from org.apache.maven.plugins:maven-gpg-plugin's releases.

3.2.0

Release Notes - Maven GPG Plugin - Version 3.2.0

... (truncated)

Commits
  • 4b23da8 [maven-release-plugin] prepare release maven-gpg-plugin-3.2.0
  • 56645dd Fix tag template
  • 036dfe0 [MGPG-105] [MGPG-108] Make plugin backward compat and update site and doco (#77)
  • 0771b61 [MGPG-110] SignAndDeployFileMojo validation is off (#78)
  • 23b64f2 [MGPG-99] Make sure newline is added to input stream (#76)
  • 9a73f90 [MGPG-105] Make possible backward compatibility (#74)
  • 6a94f3a Bump apache/maven-gh-actions-shared from 3 to 4 (#75)
  • 6f50819 [MGPG-106] Introduce new signer: BC (#72)
  • ea35e2c [MGPG-105] Stop propagating bad practices (#71)
  • 6081ad4 [MGPG-107] Settle on JUnit 5 (#70)
  • Additional commits viewable in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.apache.maven.plugins:maven-gpg-plugin&package-manager=maven&previous-version=3.1.0&new-version=3.2.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #319 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/319 from google:dependabot/maven/org.apache.maven.plugins-maven-gpg-plugin-3.2.0 b9b9e2dd1d75e6cb150e48ad55b7c74062b88cc9 PiperOrigin-RevId: 615050648 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index a867190b..60988768 100644 --- a/pom.xml +++ b/pom.xml @@ -187,7 +187,7 @@
maven-gpg-plugin - 3.1.0 + 3.2.0 maven-surefire-plugin From b26ceec4c322c44c6334ca39635b0a03068d125c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 13 Mar 2024 12:32:23 -0700 Subject: [PATCH 157/189] Bump com.google.errorprone:error_prone_core from 2.25.0 to 2.26.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [com.google.errorprone:error_prone_core](https://github.com/google/error-prone) from 2.25.0 to 2.26.1.
Release notes

Sourced from com.google.errorprone:error_prone_core's releases.

Error Prone 2.26.1

This release contains all of the changes in 2.26.0, plus a bug fix to the module name of the annotations artifact com.google.errorprone.annotations (https://github.com/google/error-prone/commit/9d99ee76f2ca8568b69150f5df7fe845c8545d16)

Starting in 2.26.x, the 'annotations' artifact now includes a module-info.java for Java Platform Module System support, thanks to @​sgammon in #4311.


Compatibility note:

Now that the annotations artifact explicit declares a module instead of relying on Automatic-Module-Name, JDK 17 and newer perform stricter module encapsulation checks. Modularized libraries depending on Error Prone annotations 2.26.x and newer may see errors like:

error: package com.google.errorprone.annotations is not visible
import com.google.errorprone.annotations.CheckReturnValue;
                            ^
  (package com.google.errorprone.annotations is declared in module com.google.errorprone.annotations, but module ... does not read it)

The fix is to add requires static to the module declaration of modularized libraries that depend on Error Prone annotations:

 module your.module {
...
+  requires static com.google.errorprone.annotations;
 }

Full Changelog: https://github.com/google/error-prone/compare/v2.26.0...v2.26.1

Error Prone 2.26.0

Warning: This release contains a bug, please use 2.26.1 or newer instead.

Changes:

  • The 'annotations' artifact now includes a module-info.java for Java Platform Module System support, thanks to @​sgammon in #4311.
  • Disabled checks passed to -XepPatchChecks are now ignored, instead of causing a crash. Thanks to @​oxkitsune in #4028.

New checks:

  • SystemConsoleNull: Null-checking System.console() is not a reliable way to detect if the console is connected to a terminal.
  • EnumOrdinal: Discourage uses of Enum.ordinal()

Closed issues: #2649, #3908, #4028, #4311, #4314

Full Changelog: https://github.com/google/error-prone/compare/v2.25.0...v2.26.0

Commits
  • b380572 Release Error Prone 2.26.1
  • 9d99ee7 fix: module name → com.google.errorprone.annotations
  • ea5ef6d Add the 'compile' goal for 'compile-java9'
  • 0e95364 feat: add jpms definition for annotations
  • 9da2d55 Ignore disabled checks passed to -XepPatchChecks
  • 3292632 Increase year range on Date usages.
  • ad513d5 Recommend using var for var unused = ...; and `var thrown = assertThrows(...
  • af37d35 ImpossibleNullComparison: emit empty fixes.
  • 297019c Fix some mistakes in the EnumOrdinal examples
  • f3dbb09 Move the EnumOrdinal.md doc to the right place (it got overwritten by automat...
  • Additional commits viewable in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.google.errorprone:error_prone_core&package-manager=maven&previous-version=2.25.0&new-version=2.26.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #321 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/321 from google:dependabot/maven/com.google.errorprone-error_prone_core-2.26.1 dc0d153d0e66323a406358d22fec6f5075f06dbd PiperOrigin-RevId: 615508241 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 60988768..1a02e5b6 100644 --- a/pom.xml +++ b/pom.xml @@ -98,7 +98,7 @@ 1.2.2 1.8 33.0.0-jre - 2.25.0 + 2.26.1 From 8c99093413117c78d0f055b580d1fb2e2d3bc276 Mon Sep 17 00:00:00 2001 From: cpovirk Date: Wed, 13 Mar 2024 13:00:58 -0700 Subject: [PATCH 158/189] Bump Guava to 33.1.0. RELNOTES=n/a PiperOrigin-RevId: 615516851 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 1a02e5b6..9b6bac40 100644 --- a/pom.xml +++ b/pom.xml @@ -97,7 +97,7 @@ 1.1.1 1.2.2 1.8 - 33.0.0-jre + 33.1.0-jre 2.26.1 From 8629ce2e7f8ec0ea6e1e8e7a694e4a815adc342a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 13 Mar 2024 13:34:22 -0700 Subject: [PATCH 159/189] Bump actions/checkout from 4.1.1 to 4.1.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.1 to 4.1.2.
Release notes

Sourced from actions/checkout's releases.

v4.1.2

We are investigating the following issue with this release and have rolled-back the v4 tag to point to v4.1.1

What's Changed

New Contributors

Full Changelog: https://github.com/actions/checkout/compare/v4.1.1...v4.1.2

Changelog

Sourced from actions/checkout's changelog.

Changelog

v4.1.2

v4.1.1

v4.1.0

v4.0.0

v3.6.0

v3.5.3

v3.5.2

v3.5.1

v3.5.0

v3.4.0

v3.3.0

v3.2.0

... (truncated)

Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/checkout&package-manager=github_actions&previous-version=4.1.1&new-version=4.1.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #320 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/320 from google:dependabot/github_actions/actions/checkout-4.1.2 2d08c2ab7cf7655bf45ddebef4d4036e79f1a02d PiperOrigin-RevId: 615527509 --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bade21b0..6ebc66d4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,7 @@ jobs: with: access_token: ${{ github.token }} - name: 'Check out repository' - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 - name: 'Cache local Maven repository' uses: actions/cache@ab5e6d0c87105b4c9c2047343972218f562e4319 with: @@ -58,7 +58,7 @@ jobs: runs-on: ubuntu-latest steps: - name: 'Check out repository' - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 - name: 'Cache local Maven repository' uses: actions/cache@ab5e6d0c87105b4c9c2047343972218f562e4319 with: @@ -87,7 +87,7 @@ jobs: runs-on: ubuntu-latest steps: - name: 'Check out repository' - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 - name: 'Cache local Maven repository' uses: actions/cache@ab5e6d0c87105b4c9c2047343972218f562e4319 with: From 98ed40edca42e6da08a3e805883f1b4e5d1052bf Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 14 Mar 2024 09:17:03 -0700 Subject: [PATCH 160/189] Bump actions/setup-java from 4.1.0 to 4.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [actions/setup-java](https://github.com/actions/setup-java) from 4.1.0 to 4.2.0.
Release notes

Sourced from actions/setup-java's releases.

v4.2.0

What's Changed

New Contributors

Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/setup-java&package-manager=github_actions&previous-version=4.1.0&new-version=4.2.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #323 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/323 from google:dependabot/github_actions/actions/setup-java-4.2.0 54b3784778c6aa3007d1b7f7968706063d1a1fe5 PiperOrigin-RevId: 615801575 --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6ebc66d4..dcec1e5c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,7 +40,7 @@ jobs: restore-keys: | ${{ runner.os }}-maven- - name: 'Set up JDK ${{ matrix.java }}' - uses: actions/setup-java@9704b39bf258b59bc04b50fa2dd55e9ed76b47a8 + uses: actions/setup-java@5896cecc08fd8a1fbdfaf517e29b571164b031f7 with: java-version: ${{ matrix.java }} distribution: 'zulu' @@ -67,7 +67,7 @@ jobs: restore-keys: | ${{ runner.os }}-maven- - name: 'Set up JDK 8' - uses: actions/setup-java@9704b39bf258b59bc04b50fa2dd55e9ed76b47a8 + uses: actions/setup-java@5896cecc08fd8a1fbdfaf517e29b571164b031f7 with: java-version: 8 distribution: 'zulu' @@ -96,7 +96,7 @@ jobs: restore-keys: | ${{ runner.os }}-maven- - name: 'Set up JDK 11' - uses: actions/setup-java@9704b39bf258b59bc04b50fa2dd55e9ed76b47a8 + uses: actions/setup-java@5896cecc08fd8a1fbdfaf517e29b571164b031f7 with: java-version: 11 distribution: 'zulu' From a238d0d258b0a4bebd61fc9d5ca157558c462bcf Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 15 Mar 2024 08:49:02 -0700 Subject: [PATCH 161/189] Bump actions/setup-java from 4.2.0 to 4.2.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [actions/setup-java](https://github.com/actions/setup-java) from 4.2.0 to 4.2.1.
Release notes

Sourced from actions/setup-java's releases.

v4.2.1

What's Changed

Full Changelog: https://github.com/actions/setup-java/compare/v4...v4.2.1

Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/setup-java&package-manager=github_actions&previous-version=4.2.0&new-version=4.2.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #324 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/324 from google:dependabot/github_actions/actions/setup-java-4.2.1 9b01567cbb50d65bb3ae4db965e3e1c40d091469 PiperOrigin-RevId: 616143247 --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dcec1e5c..c6dc9409 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,7 +40,7 @@ jobs: restore-keys: | ${{ runner.os }}-maven- - name: 'Set up JDK ${{ matrix.java }}' - uses: actions/setup-java@5896cecc08fd8a1fbdfaf517e29b571164b031f7 + uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 with: java-version: ${{ matrix.java }} distribution: 'zulu' @@ -67,7 +67,7 @@ jobs: restore-keys: | ${{ runner.os }}-maven- - name: 'Set up JDK 8' - uses: actions/setup-java@5896cecc08fd8a1fbdfaf517e29b571164b031f7 + uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 with: java-version: 8 distribution: 'zulu' @@ -96,7 +96,7 @@ jobs: restore-keys: | ${{ runner.os }}-maven- - name: 'Set up JDK 11' - uses: actions/setup-java@5896cecc08fd8a1fbdfaf517e29b571164b031f7 + uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 with: java-version: 11 distribution: 'zulu' From c69d2b9177d47a247252eb92ee2f8d541c46a8ee Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 19 Mar 2024 11:59:47 -0700 Subject: [PATCH 162/189] Bump org.apache.maven.plugins:maven-gpg-plugin from 3.2.0 to 3.2.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [org.apache.maven.plugins:maven-gpg-plugin](https://github.com/apache/maven-gpg-plugin) from 3.2.0 to 3.2.1.
Release notes

Sourced from org.apache.maven.plugins:maven-gpg-plugin's releases.

3.2.1

JIRA link

Release Notes - Maven GPG Plugin - Version 3.2.1


What's Changed

Full Changelog: https://github.com/apache/maven-gpg-plugin/compare/maven-gpg-plugin-3.2.0...maven-gpg-plugin-3.2.1

Commits
  • 5b69086 [maven-release-plugin] prepare release maven-gpg-plugin-3.2.1
  • 28d298c [MGPG-111] Fix dependencies (#81)
  • 75d8ed5 [MGPG-112] serverId def value was unintentionally dropped (#80)
  • 2a11a2d [maven-release-plugin] prepare for next development iteration
  • See full diff in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.apache.maven.plugins:maven-gpg-plugin&package-manager=maven&previous-version=3.2.0&new-version=3.2.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #325 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/325 from google:dependabot/maven/org.apache.maven.plugins-maven-gpg-plugin-3.2.1 efbefc908e60a7c8cb92cf2e8d200912aef714f1 PiperOrigin-RevId: 617249691 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 9b6bac40..2614634c 100644 --- a/pom.xml +++ b/pom.xml @@ -187,7 +187,7 @@
maven-gpg-plugin - 3.2.0 + 3.2.1 maven-surefire-plugin From 6fa834d6fa5ffc9939909a5d4974c39ef4e1e39d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 19 Mar 2024 12:04:42 -0700 Subject: [PATCH 163/189] Bump org.apache.maven.plugins:maven-compiler-plugin from 3.12.1 to 3.13.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [org.apache.maven.plugins:maven-compiler-plugin](https://github.com/apache/maven-compiler-plugin) from 3.12.1 to 3.13.0.
Release notes

Sourced from org.apache.maven.plugins:maven-compiler-plugin's releases.

3.13.0

🚀 New features and improvements

📦 Dependency updates

📝 Documentation updates

👻 Maintenance

Commits
  • a1415aa [maven-release-plugin] prepare release maven-compiler-plugin-3.13.0
  • b2b9196 [MCOMPILER-574] Propagate cause of exception in AbstractCompilerMojo
  • 6d2ce5a [MCOMPILER-584] Refresh page - Using Non-Javac Compilers
  • eebad60 [MCOMPILER-585] Refresh plugins versions in ITs
  • ceacf68 [MCOMPILER-582] Automatic detection of release option for JDK < 9
  • 110293f [MCOMPILER-583] Require Maven 3.6.3
  • 90131df [MCOMPILER-575] Bump plexusCompilerVersion from 2.14.2 to 2.15.0 (#227)
  • 74cfc72 [MCOMPILER-548] JDK 21 throws annotations processing warning that can not be ...
  • f85aa27 Bump apache/maven-gh-actions-shared from 3 to 4
  • d59ef49 extract Maven 3.3.1 specific method call
  • Additional commits viewable in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.apache.maven.plugins:maven-compiler-plugin&package-manager=maven&previous-version=3.12.1&new-version=3.13.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #326 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/326 from google:dependabot/maven/org.apache.maven.plugins-maven-compiler-plugin-3.13.0 eac6eb7b1852ddc609595026149e1442cf3ce685 PiperOrigin-RevId: 617251397 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 2614634c..202c75b1 100644 --- a/pom.xml +++ b/pom.xml @@ -161,7 +161,7 @@ maven-compiler-plugin - 3.12.1 + 3.13.0 maven-source-plugin From aab741f1c237ce465395f8f4eff002118f69992f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 20 Mar 2024 07:05:11 -0700 Subject: [PATCH 164/189] Bump actions/cache from 4.0.1 to 4.0.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [actions/cache](https://github.com/actions/cache) from 4.0.1 to 4.0.2.
Release notes

Sourced from actions/cache's releases.

v4.0.2

What's Changed

Full Changelog: https://github.com/actions/cache/compare/v4.0.1...v4.0.2

Changelog

Sourced from actions/cache's changelog.

Releases

4.0.2

  • Fixed restore fail-on-cache-miss not working.

4.0.1

  • Updated isGhes check

4.0.0

  • Updated minimum runner version support from node 12 -> node 20

3.3.3

  • Updates @​actions/cache to v3.2.3 to fix accidental mutated path arguments to getCacheVersion actions/toolkit#1378
  • Additional audit fixes of npm package(s)

3.3.2

  • Fixes bug with Azure SDK causing blob downloads to get stuck.

3.3.1

  • Reduced segment size to 128MB and segment timeout to 10 minutes to fail fast in case the cache download is stuck.

3.3.0

  • Added option to lookup cache without downloading it.

3.2.6

  • Fix zstd not being used after zstd version upgrade to 1.5.4 on hosted runners.

3.2.5

  • Added fix to prevent from setting MYSYS environment variable globally.

3.2.4

  • Added option to fail job on cache miss.

3.2.3

  • Support cross os caching on Windows as an opt-in feature.
  • Fix issue with symlink restoration on Windows for cross-os caches.

3.2.2

... (truncated)

Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/cache&package-manager=github_actions&previous-version=4.0.1&new-version=4.0.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #327 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/327 from google:dependabot/github_actions/actions/cache-4.0.2 c45ece8340b2cdbab21f3018a855bf91eaad0452 PiperOrigin-RevId: 617501334 --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c6dc9409..52563113 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,7 +33,7 @@ jobs: - name: 'Check out repository' uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 - name: 'Cache local Maven repository' - uses: actions/cache@ab5e6d0c87105b4c9c2047343972218f562e4319 + uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} @@ -60,7 +60,7 @@ jobs: - name: 'Check out repository' uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 - name: 'Cache local Maven repository' - uses: actions/cache@ab5e6d0c87105b4c9c2047343972218f562e4319 + uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} @@ -89,7 +89,7 @@ jobs: - name: 'Check out repository' uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 - name: 'Cache local Maven repository' - uses: actions/cache@ab5e6d0c87105b4c9c2047343972218f562e4319 + uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} From ee9e524a41b2cffeaec7e32463328e09793481e5 Mon Sep 17 00:00:00 2001 From: cpovirk Date: Wed, 20 Mar 2024 09:52:14 -0700 Subject: [PATCH 165/189] Remove obsolete workaround. RELNOTES=n/a PiperOrigin-RevId: 617544537 --- .../test/java/com/google/common/jimfs/DirectoryTest.java | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/jimfs/src/test/java/com/google/common/jimfs/DirectoryTest.java b/jimfs/src/test/java/com/google/common/jimfs/DirectoryTest.java index 2090d690..ed097d8e 100644 --- a/jimfs/src/test/java/com/google/common/jimfs/DirectoryTest.java +++ b/jimfs/src/test/java/com/google/common/jimfs/DirectoryTest.java @@ -221,15 +221,8 @@ public void testSnapshot() { root.link(Name.simple("bar"), regularFile(10)); root.link(Name.simple("abc"), regularFile(10)); - /* - * If we inline this into the assertThat call below, javac resolves it to assertThat(SortedSet), - * which isn't available publicly. Our internal build system considers that to be an error, even - * though the code will compile fine externally by resolving to assertThat(Iterable) instead. So - * we avoid that by assigning to a non-SortedSet type here. - */ - ImmutableSet snapshot = root.snapshot(); // does not include . or .. and is sorted by the name - assertThat(snapshot) + assertThat(root.snapshot()) .containsExactly(Name.simple("abc"), Name.simple("bar"), Name.simple("foo")) .inOrder(); } From 3fbcc34c9533a02eba16ac94003d91986e68d646 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 27 Mar 2024 09:10:37 -0700 Subject: [PATCH 166/189] Bump org.apache.maven.plugins:maven-gpg-plugin from 3.2.1 to 3.2.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [org.apache.maven.plugins:maven-gpg-plugin](https://github.com/apache/maven-gpg-plugin) from 3.2.1 to 3.2.2.
Release notes

Sourced from org.apache.maven.plugins:maven-gpg-plugin's releases.

3.2.2

JiRA link

Release Notes - Maven GPG Plugin - Version 3.2.2


What's Changed

Full Changelog: https://github.com/apache/maven-gpg-plugin/compare/maven-gpg-plugin-3.2.1...maven-gpg-plugin-3.2.2

Commits
  • ab97064 [maven-release-plugin] prepare release maven-gpg-plugin-3.2.2
  • 2be0a00 [MGPG-115] Show more info about key used to sign (#84)
  • 3631830 [MGPG-114] Allow max key size of 16KB (#83)
  • 528fab9 [MGPG-113] SignAndDeployFileMojo results in 401 (#82)
  • 770636b [maven-release-plugin] prepare for next development iteration
  • See full diff in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.apache.maven.plugins:maven-gpg-plugin&package-manager=maven&previous-version=3.2.1&new-version=3.2.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #329 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/329 from google:dependabot/maven/org.apache.maven.plugins-maven-gpg-plugin-3.2.2 e7b5c417611cf34da590a396b38717f4b2cafecb PiperOrigin-RevId: 619550991 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 202c75b1..1aaa39f0 100644 --- a/pom.xml +++ b/pom.xml @@ -187,7 +187,7 @@
maven-gpg-plugin - 3.2.1 + 3.2.2 maven-surefire-plugin From 8b9265f8782ddc7232495548b384ca3cb87e59b6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 5 Apr 2024 08:39:05 -0700 Subject: [PATCH 167/189] Bump org.apache.maven.plugins:maven-source-plugin from 3.3.0 to 3.3.1 Bumps [org.apache.maven.plugins:maven-source-plugin](https://github.com/apache/maven-source-plugin) from 3.3.0 to 3.3.1.
Commits
  • f80596e [maven-release-plugin] prepare release maven-source-plugin-3.3.1
  • 7626998 Bump apache/maven-gh-actions-shared from 3 to 4
  • 83c963c Bump org.apache.maven.plugins:maven-plugins from 39 to 41 (#18)
  • 40ae495 Bump org.codehaus.plexus:plexus-archiver from 4.8.0 to 4.9.1 (#20)
  • 073462b Bump org.apache.maven:maven-archiver from 3.6.0 to 3.6.1 (#21)
  • 0b1c823 Fix typos in AbstractSourceJarMojo exception
  • 099c65a [MSOURCES-142] Bump org.codehaus.plexus:plexus-archiver from 4.7.1 to 4.8.0 (...
  • 1edeea4 [MSOURCES-139] Fix typo in AbstractSourceJarMojo exception
  • 436966e [maven-release-plugin] prepare for next development iteration
  • See full diff in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.apache.maven.plugins:maven-source-plugin&package-manager=maven&previous-version=3.3.0&new-version=3.3.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #332 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/332 from google:dependabot/maven/org.apache.maven.plugins-maven-source-plugin-3.3.1 3cd61d07575c22f7131b017d90a560561cbb297d PiperOrigin-RevId: 622188698 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 1aaa39f0..a9a60693 100644 --- a/pom.xml +++ b/pom.xml @@ -165,7 +165,7 @@
maven-source-plugin - 3.3.0 + 3.3.1 maven-javadoc-plugin From cf207506ddd56168d63860b43144f29b61e55c51 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 15 Apr 2024 07:31:20 -0700 Subject: [PATCH 168/189] Bump org.apache.maven.plugins:maven-gpg-plugin from 3.2.2 to 3.2.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [org.apache.maven.plugins:maven-gpg-plugin](https://github.com/apache/maven-gpg-plugin) from 3.2.2 to 3.2.3.
Release notes

Sourced from org.apache.maven.plugins:maven-gpg-plugin's releases.

3.2.3

Release Notes - Maven GPG Plugin - Version 3.2.3


📦 Dependency updates

... (truncated)

Commits
  • 89b91a4 [maven-release-plugin] prepare release maven-gpg-plugin-3.2.3
  • fc2efa3 [MGPG-123][MGPG-124] Dependency upgrades (#93)
  • 50222d3 [MGPG-120] New mojo sign-deployed (#88)
  • a6c3a09 [MGPG-122] Bump org.apache.maven.plugins:maven-invoker-plugin from 3.6.0 to 3...
  • 78f5e37 [MGPG-121] Return the workaround for pseudo security (#90)
  • 582df74 [MGPG-117] Improve passphrase handling (#86)
  • 0adc6b8 [MGPG-118] Bump commons-io:commons-io from 2.15.1 to 2.16.0 (#87)
  • ef57091 [MGPG-116] Up max key file size to 64K (#85)
  • 944be4e [maven-release-plugin] prepare for next development iteration
  • See full diff in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.apache.maven.plugins:maven-gpg-plugin&package-manager=maven&previous-version=3.2.2&new-version=3.2.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #333 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/333 from google:dependabot/maven/org.apache.maven.plugins-maven-gpg-plugin-3.2.3 78f7550a8f4595ca6397552121f1896360cc32de PiperOrigin-RevId: 624953926 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index a9a60693..586996a8 100644 --- a/pom.xml +++ b/pom.xml @@ -187,7 +187,7 @@
maven-gpg-plugin - 3.2.2 + 3.2.3 maven-surefire-plugin From 82a9f65cce334ed953bf49759676a264274a3198 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 17 Apr 2024 07:06:00 -0700 Subject: [PATCH 169/189] Bump com.ibm.icu:icu4j from 74.2 to 75.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [com.ibm.icu:icu4j](https://github.com/unicode-org/icu) from 74.2 to 75.1.
Release notes

Sourced from com.ibm.icu:icu4j's releases.

ICU 75.1

Unicode® ICU 75 updates to CLDR 45 (beta blog) locale data with new locales and various additions and corrections. C++ code now requires C++17 and is being made more robust.

The CLDR MessageFormat 2.0 specification is now in technology preview, together with a corresponding update of the ICU4J (Java) tech preview and a new ICU4C (C++) tech preview.

For details, please see https://icu.unicode.org/download/75.

ICU 75 RC

We are pleased to announce the release candidate for Unicode® ICU 75. It updates to CLDR 45 (alpha blog) locale data with new locales and various additions and corrections. C++ code now requires C++17 and is being made more robust.

The CLDR MessageFormat 2.0 specification is now in technology preview, together with a corresponding update of the ICU4J (Java) tech preview and a new ICU4C (C++) tech preview.

For details, please see https://icu.unicode.org/download/75.

Please test this release candidate on your platforms and report bugs and regressions by Monday, 2024-apr-15, via the icu-support mailing list, and/or please find/submit error reports.

Please do not use this release candidate in production.

The preliminary API reference documents are published on unicode-org.github.io/icu-docs/ – follow the “Dev” links there.

Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.ibm.icu:icu4j&package-manager=maven&previous-version=74.2&new-version=75.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #334 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/334 from google:dependabot/maven/com.ibm.icu-icu4j-75.1 03ee20b9695b9bbe6551075fb256f2e836748869 PiperOrigin-RevId: 625670451 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 586996a8..0133f938 100644 --- a/pom.xml +++ b/pom.xml @@ -114,7 +114,7 @@ com.ibm.icu icu4j - 74.2 + 75.1 From 4f896c088893f2ee03754e7e22ed0f4a004fb65a Mon Sep 17 00:00:00 2001 From: sullis Date: Mon, 22 Apr 2024 06:38:59 -0700 Subject: [PATCH 170/189] use Java 21 in CI build matrix Fixes #335 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/335 from sullis:sean/ci-jdk-21 d4361bdb178f519f20b82bea43871c8924745141 PiperOrigin-RevId: 627018740 --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 52563113..bb48b9d3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,15 +14,15 @@ jobs: strategy: matrix: os: [ ubuntu-latest ] - java: [ 15, 11, 8 ] + java: [ 21, 11, 8 ] # Only test on macos and windows with a single recent JDK to avoid a # combinatorial explosion of test configurations. # Most OS-specific issues are not specific to a particular JDK version. include: - os: macos-latest - java: 15 + java: 21 - os: windows-latest - java: 15 + java: 21 runs-on: ${{ matrix.os }} steps: # Cancel any previous runs for the same branch that are still running. From 9042f9f7e15484faeb932c58bd04335c0fdec107 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 22 Apr 2024 08:31:52 -0700 Subject: [PATCH 171/189] Bump actions/checkout from 4.1.2 to 4.1.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.2 to 4.1.3.
Release notes

Sourced from actions/checkout's releases.

v4.1.3

What's Changed

Full Changelog: https://github.com/actions/checkout/compare/v4.1.2...v4.1.3

Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/checkout&package-manager=github_actions&previous-version=4.1.2&new-version=4.1.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #336 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/336 from google:dependabot/github_actions/actions/checkout-4.1.3 3431a132e0360b0fa2040821fd70d417045a2ecb PiperOrigin-RevId: 627046721 --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bb48b9d3..d7d92faf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,7 @@ jobs: with: access_token: ${{ github.token }} - name: 'Check out repository' - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 + uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f - name: 'Cache local Maven repository' uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 with: @@ -58,7 +58,7 @@ jobs: runs-on: ubuntu-latest steps: - name: 'Check out repository' - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 + uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f - name: 'Cache local Maven repository' uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 with: @@ -87,7 +87,7 @@ jobs: runs-on: ubuntu-latest steps: - name: 'Check out repository' - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 + uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f - name: 'Cache local Maven repository' uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 with: From 2784caa58d185eac23c38db7c7779c99e8439d08 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 23 Apr 2024 09:10:12 -0700 Subject: [PATCH 172/189] Bump org.apache.maven.plugins:maven-gpg-plugin from 3.2.3 to 3.2.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [org.apache.maven.plugins:maven-gpg-plugin](https://github.com/apache/maven-gpg-plugin) from 3.2.3 to 3.2.4.
Release notes

Sourced from org.apache.maven.plugins:maven-gpg-plugin's releases.

3.2.4

Release Notes - Maven GPG Plugin - Version 3.2.4


📦 Dependency updates

Commits
  • 789149e [maven-release-plugin] prepare release maven-gpg-plugin-3.2.4
  • 893aedc [MGPG-125] Fix "bestPractices" (#95)
  • b6f0324 [MGPG-126] Bump commons-io:commons-io from 2.16.0 to 2.16.1 (#94)
  • 3c5878b [maven-release-plugin] prepare for next development iteration
  • See full diff in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.apache.maven.plugins:maven-gpg-plugin&package-manager=maven&previous-version=3.2.3&new-version=3.2.4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #337 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/337 from google:dependabot/maven/org.apache.maven.plugins-maven-gpg-plugin-3.2.4 460a0bd192409a21ee8795216bc4db02b393dea4 PiperOrigin-RevId: 627407626 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 0133f938..77e1bbf2 100644 --- a/pom.xml +++ b/pom.xml @@ -187,7 +187,7 @@
maven-gpg-plugin - 3.2.3 + 3.2.4 maven-surefire-plugin From 5c3c1e9a2ec502df2488b305a69ad67ea11c921d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 25 Apr 2024 06:54:22 -0700 Subject: [PATCH 173/189] Bump actions/checkout from 4.1.3 to 4.1.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.3 to 4.1.4.
Release notes

Sourced from actions/checkout's releases.

v4.1.4

What's Changed

Full Changelog: https://github.com/actions/checkout/compare/v4.1.3...v4.1.4

Changelog

Sourced from actions/checkout's changelog.

Changelog

v4.1.4

v4.1.3

v4.1.2

v4.1.1

v4.1.0

v4.0.0

v3.6.0

v3.5.3

v3.5.2

v3.5.1

v3.5.0

v3.4.0

... (truncated)

Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/checkout&package-manager=github_actions&previous-version=4.1.3&new-version=4.1.4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #338 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/338 from google:dependabot/github_actions/actions/checkout-4.1.4 1d19f003e56e6523a00aab7d0680d493d1c71680 PiperOrigin-RevId: 628060987 --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d7d92faf..ec3b6cd0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,7 @@ jobs: with: access_token: ${{ github.token }} - name: 'Check out repository' - uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b - name: 'Cache local Maven repository' uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 with: @@ -58,7 +58,7 @@ jobs: runs-on: ubuntu-latest steps: - name: 'Check out repository' - uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b - name: 'Cache local Maven repository' uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 with: @@ -87,7 +87,7 @@ jobs: runs-on: ubuntu-latest steps: - name: 'Check out repository' - uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f + uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b - name: 'Cache local Maven repository' uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 with: From 9003a7f9d8d74513ed141ceb2e0e25ab313a3596 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 Apr 2024 08:30:46 -0700 Subject: [PATCH 174/189] Bump com.google.errorprone:error_prone_core from 2.26.1 to 2.27.0 Bumps [com.google.errorprone:error_prone_core](https://github.com/google/error-prone) from 2.26.1 to 2.27.0.
Release notes

Sourced from com.google.errorprone:error_prone_core's releases.

Error Prone 2.27.0

New checks:

  • ClassInitializationDeadlock detects class initializers that reference subtypes of the current class, which can result in deadlocks.
  • MockitoDoSetup suggests using when/thenReturn over doReturn/when for additional type safety.
  • VoidUsed suggests using a literal null instead of referring to a Void-typed variable.

Modified checks:

Closed issues: #4291. #4308, #4343, #4320

Full Changelog: https://github.com/google/error-prone/compare/v2.26.1...v2.27.0

Commits
  • ebe0a01 Release Error Prone 2.27.0
  • fd9b826 Remove a very literal change-detector test, and move the comment to the produ...
  • f289d9e VoidUsed: flag Void variables being used, where they can simply be repl...
  • 3ee6f41 Fix for a crash in RedundantSetterCall.
  • 92c106d Encourage when/thenReturn over doReturn/when.
  • 07c1a7c Stop mentioning @Var in[]
  • 9d66272 Correction to UseCorrectAssertInTests.
  • a6ab21a Fix a crash in JUnitIncompatibleType
  • 5a7b8d9 NearbyCallers: scan the body of expression lambdas.
  • 53d787c Don't suggest ImmutableSet if ImmutableList is unused.
  • Additional commits viewable in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.google.errorprone:error_prone_core&package-manager=maven&previous-version=2.26.1&new-version=2.27.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #339 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/339 from google:dependabot/maven/com.google.errorprone-error_prone_core-2.27.0 ecaf7f09ede42dc5b4bcafe9b1e8c4ee2d3c973d PiperOrigin-RevId: 629076658 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 77e1bbf2..c423183b 100644 --- a/pom.xml +++ b/pom.xml @@ -98,7 +98,7 @@ 1.2.2 1.8 33.1.0-jre - 2.26.1 + 2.27.0 From 76baed8c304b6ca218c5c6ffdd4cde6ff9091eb6 Mon Sep 17 00:00:00 2001 From: cpovirk Date: Thu, 2 May 2024 07:29:52 -0700 Subject: [PATCH 175/189] Bump Guava to 33.2.0. RELNOTES=n/a PiperOrigin-RevId: 630057578 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index c423183b..914958ab 100644 --- a/pom.xml +++ b/pom.xml @@ -97,7 +97,7 @@ 1.1.1 1.2.2 1.8 - 33.1.0-jre + 33.2.0-jre 2.27.0 From 5bde05a99e3269ba3fb23abc8a320df4fa1af56c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 2 May 2024 08:19:09 -0700 Subject: [PATCH 176/189] Bump org.checkerframework:checker-qual from 3.42.0 to 3.43.0 Bumps [org.checkerframework:checker-qual](https://github.com/typetools/checker-framework) from 3.42.0 to 3.43.0.
Release notes

Sourced from org.checkerframework:checker-qual's releases.

Checker Framework 3.43.0

Version 3.43.0 (May 1, 2024)

User-visible changes:

Method, constructor, lambda, and method reference type inference has been greatly improved. The -AconservativeUninferredTypeArguments option is no longer necessary and has been removed.

Renamed command-line arguments:

  • -AskipDirs has been renamed to -AskipFiles. -AskipDirs will continue to work for the time being.

New command-line arguments:

  • -AonlyFiles complements -AskipFiles

A specialized inference algorithm for the Resource Leak Checker runs automatically as part of whole-program inference.

Implementation details:

Deprecated ObjectCreationNode#getConstructor in favor of new ObjectCreationNode#getTypeToInstantiate().

Renamed AbstractCFGVisualizer.visualizeBlockHelper() to visualizeBlockWithSeparator().

Moved methods from TreeUtils to subclasses of TreeUtilsAfterJava11:

  • isConstantCaseLabelTree
  • isDefaultCaseLabelTree
  • isPatternCaseLabelTree

Renamed BaseTypeVisitor.checkForPolymorphicQualifiers() to warnInvalidPolymorphicQualifier().

Closed issues:

#979, #4559, #4593, #5058, #5734, #5781, #6071, #6093, #6239, #6297, #6317, #6322, #6346, #6373, #6376, #6378, #6379, #6380, #6389, #6393, #6396, #6402, #6406, #6407, #6417, #6421, #6430, #6433, #6438, #6442, #6473, #6480, #6507, #6531, #6535.

Changelog

Sourced from org.checkerframework:checker-qual's changelog.

Version 3.43.0 (May 1, 2024)

User-visible changes:

Method, constructor, lambda, and method reference type inference has been greatly improved. The -AconservativeUninferredTypeArguments option is no longer necessary and has been removed.

Renamed command-line arguments:

  • -AskipDirs has been renamed to -AskipFiles. -AskipDirs will continue to work for the time being.

New command-line arguments:

  • -AonlyFiles complements -AskipFiles

A specialized inference algorithm for the Resource Leak Checker runs automatically as part of whole-program inference.

Implementation details:

Deprecated ObjectCreationNode#getConstructor in favor of new ObjectCreationNode#getTypeToInstantiate().

Renamed AbstractCFGVisualizer.visualizeBlockHelper() to visualizeBlockWithSeparator().

Moved methods from TreeUtils to subclasses of TreeUtilsAfterJava11:

  • isConstantCaseLabelTree
  • isDefaultCaseLabelTree
  • isPatternCaseLabelTree

Renamed BaseTypeVisitor.checkForPolymorphicQualifiers() to warnInvalidPolymorphicQualifier().

Closed issues:

#979, #4559, #4593, #5058, #5734, #5781, #6071, #6093, #6239, #6297, #6317, #6322, #6346, #6373, #6376, #6378, #6379, #6380, #6389, #6393, #6396, #6402, #6406, #6407, #6417, #6421, #6430, #6433, #6438, #6442, #6473, #6480, #6507, #6531, #6535.

Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.checkerframework:checker-qual&package-manager=maven&previous-version=3.42.0&new-version=3.43.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #341 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/341 from google:dependabot/maven/org.checkerframework-checker-qual-3.43.0 f56bfb95593156dca8de1185d39f3a3d22580ba7 PiperOrigin-RevId: 630069032 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 914958ab..f8f8e5a0 100644 --- a/pom.xml +++ b/pom.xml @@ -131,7 +131,7 @@ org.checkerframework checker-qual - 3.42.0 + 3.43.0 From 56bf7337b58cb70233cc2c707cf64800c1df602a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 3 May 2024 08:46:47 -0700 Subject: [PATCH 177/189] Bump com.google.errorprone:error_prone_core from 2.27.0 to 2.27.1 Bumps [com.google.errorprone:error_prone_core](https://github.com/google/error-prone) from 2.27.0 to 2.27.1.
Release notes

Sourced from com.google.errorprone:error_prone_core's releases.

Error Prone 2.27.1

This release contains all of the changes in 2.27.0, plus a bug fix to ClassInitializationDeadlock (google/error-prone#4378)

Full Changelog: https://github.com/google/error-prone/compare/v2.27.0...v2.27.1

Commits
  • 464bb93 Release Error Prone 2.27.1
  • bc3309a Flag comparisons of SomeEnum.valueOf(...) to null.
  • 6a8f493 Don't scan into nested enums in ClassInitializationDeadlock
  • c8df502 Make the logic of detecting at least one allowed usage more explicit.
  • See full diff in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.google.errorprone:error_prone_core&package-manager=maven&previous-version=2.27.0&new-version=2.27.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #340 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/340 from google:dependabot/maven/com.google.errorprone-error_prone_core-2.27.1 7176b425c5b6afb5c1429a606dad58348d096732 PiperOrigin-RevId: 630401610 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index f8f8e5a0..9321aec6 100644 --- a/pom.xml +++ b/pom.xml @@ -98,7 +98,7 @@ 1.2.2 1.8 33.2.0-jre - 2.27.0 + 2.27.1 From 0449ea6b9b7651ad4b50621f6d93b23531df4fbb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 7 May 2024 05:11:20 -0700 Subject: [PATCH 178/189] Bump actions/checkout from 4.1.4 to 4.1.5 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.4 to 4.1.5.
Release notes

Sourced from actions/checkout's releases.

v4.1.5

What's Changed

Full Changelog: https://github.com/actions/checkout/compare/v4.1.4...v4.1.5

Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/checkout&package-manager=github_actions&previous-version=4.1.4&new-version=4.1.5)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #343 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/343 from google:dependabot/github_actions/actions/checkout-4.1.5 de5cf68f49b006b77d7ed7080995adba10107246 PiperOrigin-RevId: 631384593 --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ec3b6cd0..21388495 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,7 @@ jobs: with: access_token: ${{ github.token }} - name: 'Check out repository' - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b - name: 'Cache local Maven repository' uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 with: @@ -58,7 +58,7 @@ jobs: runs-on: ubuntu-latest steps: - name: 'Check out repository' - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b - name: 'Cache local Maven repository' uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 with: @@ -87,7 +87,7 @@ jobs: runs-on: ubuntu-latest steps: - name: 'Check out repository' - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b + uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b - name: 'Cache local Maven repository' uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 with: From aecbdf6d3e4717feb318438821ad982689a9618e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 17 May 2024 08:02:29 -0700 Subject: [PATCH 179/189] Bump actions/checkout from 4.1.5 to 4.1.6 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.5 to 4.1.6.
Release notes

Sourced from actions/checkout's releases.

v4.1.6

What's Changed

Full Changelog: https://github.com/actions/checkout/compare/v4.1.5...v4.1.6

Changelog

Sourced from actions/checkout's changelog.

Changelog

v4.1.6

v4.1.5

v4.1.4

v4.1.3

v4.1.2

v4.1.1

v4.1.0

v4.0.0

v3.6.0

v3.5.3

v3.5.2

v3.5.1

... (truncated)

Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/checkout&package-manager=github_actions&previous-version=4.1.5&new-version=4.1.6)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #344 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/344 from google:dependabot/github_actions/actions/checkout-4.1.6 ad8f53b16ed2aab91ff509d0ef7bdd7e6fc7b434 PiperOrigin-RevId: 634777684 --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 21388495..ec00bb5f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,7 @@ jobs: with: access_token: ${{ github.token }} - name: 'Check out repository' - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b + uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 - name: 'Cache local Maven repository' uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 with: @@ -58,7 +58,7 @@ jobs: runs-on: ubuntu-latest steps: - name: 'Check out repository' - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b + uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 - name: 'Cache local Maven repository' uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 with: @@ -87,7 +87,7 @@ jobs: runs-on: ubuntu-latest steps: - name: 'Check out repository' - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b + uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 - name: 'Cache local Maven repository' uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 with: From 5ae8aa49f96f038f6a00c4ac218735aa8a28719a Mon Sep 17 00:00:00 2001 From: Liam Miller-Cushon Date: Fri, 31 May 2024 09:36:00 -0700 Subject: [PATCH 180/189] Automated Code Change PiperOrigin-RevId: 639061954 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 9321aec6..54174afe 100644 --- a/pom.xml +++ b/pom.xml @@ -98,7 +98,7 @@ 1.2.2 1.8 33.2.0-jre - 2.27.1 + 2.28.0 From 0cc3567176a0dee8969d861b916d18700a503a75 Mon Sep 17 00:00:00 2001 From: cpovirk Date: Fri, 31 May 2024 12:18:11 -0700 Subject: [PATCH 181/189] Bump Guava to 33.2.1. RELNOTES=n/a PiperOrigin-RevId: 639114032 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 54174afe..a5b4ecc1 100644 --- a/pom.xml +++ b/pom.xml @@ -97,7 +97,7 @@ 1.1.1 1.2.2 1.8 - 33.2.0-jre + 33.2.1-jre 2.28.0 From b5f1dced6a973fd8244769f3f8fadd859bcaba4d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 3 Jun 2024 06:28:53 -0700 Subject: [PATCH 182/189] Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.6.3 to 3.7.0 Bumps [org.apache.maven.plugins:maven-javadoc-plugin](https://github.com/apache/maven-javadoc-plugin) from 3.6.3 to 3.7.0.
Commits
  • 2c28b8d [maven-release-plugin] prepare release maven-javadoc-plugin-3.7.0
  • 5530d68 [MJAVADOC-793] java.lang.NullPointerException: Cannot invoke "String.length()...
  • 08cf68e Revert "Bump org.codehaus.plexus:plexus-archiver from 4.9.1 to 4.9.2"
  • 6446822 Bump org.apache.maven.shared:maven-invoker from 3.2.0 to 3.3.0
  • 49c93ad Bump org.assertj:assertj-core from 3.25.3 to 3.26.0
  • 4e72048 [MJAVADOC-795] Upgrade to Parent 42 and Maven 3.6.3
  • b55dd96 Bump org.codehaus.plexus:plexus-archiver from 4.9.1 to 4.9.2
  • 77ad410 Bump org.apache.commons:commons-text from 1.11.0 to 1.12.0
  • c21568a Bump commons-io:commons-io from 2.16.0 to 2.16.1
  • ded56a9 Exclude JDK 8 - temurin, adopt-openj9 on macos
  • Additional commits viewable in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.apache.maven.plugins:maven-javadoc-plugin&package-manager=maven&previous-version=3.6.3&new-version=3.7.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #347 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/347 from google:dependabot/maven/org.apache.maven.plugins-maven-javadoc-plugin-3.7.0 1b7f36117308b112d42141fef837e98a1a08b3da PiperOrigin-RevId: 639759950 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index a5b4ecc1..973fbf36 100644 --- a/pom.xml +++ b/pom.xml @@ -169,7 +169,7 @@
maven-javadoc-plugin - 3.6.3 + 3.7.0 true UTF-8 From 905c59201f782613c28cb0f115a84b99410d1d48 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 4 Jun 2024 06:44:08 -0700 Subject: [PATCH 183/189] Bump org.checkerframework:checker-qual from 3.43.0 to 3.44.0 Bumps [org.checkerframework:checker-qual](https://github.com/typetools/checker-framework) from 3.43.0 to 3.44.0.
Release notes

Sourced from org.checkerframework:checker-qual's releases.

Checker Framework 3.44.0

Version 3.44.0 (June 3, 2024)

Implementation details:

Removed methods:

  • AbstractAnalysis.readFromStore(): use Map.get()

Renamed methods:

  • CFAbstractStore.methodValues() => methodCallExpressions()
  • AbstractCFGVisualizer.format() => escapeString()

Renamed fields:

  • AnalysisResult.stores => inputs

Deprecated methods:

  • AbstractAnalysis.getContainingMethod() => getEnclosingMethod()
  • AbstractAnalysis.getContainingClass() => getEnclosingMethod()
  • ControlFlowGraph.getContainingMethod() => getEnclosingMethod()
  • ControlFlowGraph.getContainingClass() => getEnclosingClass()
  • JavaExpression.isUnassignableByOtherCode() => isAssignableByOtherCode()
  • JavaExpression.isUnmodifiableByOtherCode() => isModifiableByOtherCode()

BaseTypeVisitor#visitMethod(MethodTree, Void) is now final. Subclasses should override BaseTypeVisitor#processMethodTree(MethodTree).

Closed issues:

#802, #2676, #2780, #2926, #3378, #3612, #3764, #4007, #4964, #5070, #5176, #5237, #5541, #6046, #6382, #6388, #6566, #6568, #6570, #6576, #6577, #6631, #6635, #6636, #6644.

Changelog

Sourced from org.checkerframework:checker-qual's changelog.

Version 3.44.0 (June 3, 2024)

Implementation details:

Removed methods:

  • AbstractAnalysis.readFromStore(): use Map.get()

Renamed methods:

  • CFAbstractStore.methodValues() => methodCallExpressions()
  • AbstractCFGVisualizer.format() => escapeString()

Renamed fields:

  • AnalysisResult.stores => inputs

Deprecated methods:

  • AbstractAnalysis.getContainingMethod() => getEnclosingMethod()
  • AbstractAnalysis.getContainingClass() => getEnclosingMethod()
  • ControlFlowGraph.getContainingMethod() => getEnclosingMethod()
  • ControlFlowGraph.getContainingClass() => getEnclosingClass()
  • JavaExpression.isUnassignableByOtherCode() => isAssignableByOtherCode()
  • JavaExpression.isUnmodifiableByOtherCode() => isModifiableByOtherCode()

BaseTypeVisitor#visitMethod(MethodTree, Void) is now final. Subclasses should override BaseTypeVisitor#processMethodTree(MethodTree).

Closed issues:

#802, #2676, #2780, #2926, #3378, #3612, #3764, #4007, #4964, #5070, #5176, #5237, #5541, #6046, #6382, #6388, #6566, #6568, #6570, #6576, #6577, #6631, #6635, #6636, #6644.

Commits
  • 9ae1463 new release 3.44.0
  • a4a4232 Prep for release.
  • cac43aa Use instantiation of inference variable. (#6638)
  • 463c4eb Don't use -XDrawDiagnostics in testing framework (#6647)
  • b188046 Don't use -XDrawDiagnostics in jtreg tests when it is not necessary (#6646)
  • c85eb69 Preprocess unicode escapes when parsing using JavaParser (#6632)
  • 959822a Update versions.autoValue to v1.11.0 (#6640)
  • 869577b Update versions.errorprone to v2.28.0 (#6643)
  • 8a25d99 Update dependency gradle to v8.8 (#6639)
  • 9657f9f Update dependency com.amazonaws:aws-java-sdk-bom to v1.12.734
  • Additional commits viewable in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.checkerframework:checker-qual&package-manager=maven&previous-version=3.43.0&new-version=3.44.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Fixes #348 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/348 from google:dependabot/maven/org.checkerframework-checker-qual-3.44.0 0bf76d17d445e0693b602232da5525a795a2c6c6 PiperOrigin-RevId: 640135913 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 973fbf36..b9983664 100644 --- a/pom.xml +++ b/pom.xml @@ -131,7 +131,7 @@ org.checkerframework checker-qual - 3.43.0 + 3.44.0 From 4241ee2f42f5de60723b12ba34857c381b9bd9fe Mon Sep 17 00:00:00 2001 From: Chaoren Lin Date: Tue, 4 Jun 2024 10:05:22 -0700 Subject: [PATCH 184/189] Group all dependabot updates together in the same commit to avoid merge conflicts. Also change the interval from daily to weekly so there's only one update commit per triage rotation. See https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#configuration-options-for-the-dependabotyml-file for documentation on the configuration options. RELNOTES=n/a PiperOrigin-RevId: 640191662 --- .github/dependabot.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index b76b8957..8519eb9a 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -3,8 +3,18 @@ updates: - package-ecosystem: "maven" directory: "/" schedule: - interval: "daily" + interval: "weekly" + groups: + dependencies: + applies-to: version-updates + patterns: + - "*" - package-ecosystem: "github-actions" directory: "/" schedule: - interval: "daily" + interval: "weekly" + groups: + github-actions: + applies-to: version-updates + patterns: + - "*" From 535922171ff2412f601aa3da3e0792a9ed0b7e4a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 17 Jun 2024 07:40:18 -0700 Subject: [PATCH 185/189] Bump org.apache.maven.plugins:maven-surefire-plugin from 3.2.5 to 3.3.0 in the dependencies group Bumps the dependencies group with 1 update: [org.apache.maven.plugins:maven-surefire-plugin](https://github.com/apache/maven-surefire). Updates `org.apache.maven.plugins:maven-surefire-plugin` from 3.2.5 to 3.3.0
Commits
  • d0b96a4 [maven-release-plugin] prepare release surefire-3.3.0
  • 71796af Bump org.codehaus.plexus:plexus-component-annotations
  • afb2d4e Bump org.codehaus.plexus:plexus-interpolation from 1.25 to 1.27
  • e6287dd [SUREFIRE-2232] [REGRESSION] StatelessXmlReporter fails to process failed res...
  • 57b7837 Bump org.htmlunit:htmlunit from 3.11.0 to 4.2.0
  • fd440c4 Bump org.xmlunit:xmlunit-core from 2.9.1 to 2.10.0
  • 5c34c43 Bump org.assertj:assertj-core from 3.25.3 to 3.26.0
  • 680fb00 Bump org.apache.commons:commons-compress from 1.26.1 to 1.26.2
  • cad0931 [SUREFIRE-2248] Make "type" attribute on failures and errors in (surefire|fai...
  • a88d786 [SUREFIRE-2047] Upgrade to maven-common-artifact-filters 3.4.0
  • Additional commits viewable in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.apache.maven.plugins:maven-surefire-plugin&package-manager=maven&previous-version=3.2.5&new-version=3.3.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Fixes #350 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/350 from google:dependabot/maven/dependencies-1b0fdafbec 166f143da0e7b070c8e1ed2fd04e9dbded3709b5 PiperOrigin-RevId: 644003590 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index b9983664..d3e719bd 100644 --- a/pom.xml +++ b/pom.xml @@ -191,7 +191,7 @@
maven-surefire-plugin - 3.2.5 + 3.3.0 org.apache.felix From 595a6ccd06db76cbfc4abb27831aeda5d7d676f5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 21 Jun 2024 07:55:07 -0700 Subject: [PATCH 186/189] Bump actions/checkout from 4.1.6 to 4.1.7 in the github-actions group MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps the github-actions group with 1 update: [actions/checkout](https://github.com/actions/checkout). Updates `actions/checkout` from 4.1.6 to 4.1.7
Release notes

Sourced from actions/checkout's releases.

v4.1.7

What's Changed

New Contributors

Full Changelog: https://github.com/actions/checkout/compare/v4.1.6...v4.1.7

Changelog

Sourced from actions/checkout's changelog.

Changelog

v4.1.7

v4.1.6

v4.1.5

v4.1.4

v4.1.3

v4.1.2

v4.1.1

v4.1.0

v4.0.0

v3.6.0

v3.5.3

... (truncated)

Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/checkout&package-manager=github_actions&previous-version=4.1.6&new-version=4.1.7)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Fixes #351 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/351 from google:dependabot/github_actions/github-actions-0bd1363a87 ead0b8bbc50f1d5854fbbe5daf4617d5747c1215 PiperOrigin-RevId: 645389424 --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ec00bb5f..a88c954f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,7 @@ jobs: with: access_token: ${{ github.token }} - name: 'Check out repository' - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - name: 'Cache local Maven repository' uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 with: @@ -58,7 +58,7 @@ jobs: runs-on: ubuntu-latest steps: - name: 'Check out repository' - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - name: 'Cache local Maven repository' uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 with: @@ -87,7 +87,7 @@ jobs: runs-on: ubuntu-latest steps: - name: 'Check out repository' - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - name: 'Cache local Maven repository' uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 with: From 45ef7491f9aa1c81de9302d128d4014ce563b71e Mon Sep 17 00:00:00 2001 From: cpovirk Date: Thu, 27 Jun 2024 10:22:11 -0700 Subject: [PATCH 187/189] Bump Truth to 1.4.3. RELNOTES=n/a PiperOrigin-RevId: 647363452 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index d3e719bd..7b77920b 100644 --- a/pom.xml +++ b/pom.xml @@ -150,7 +150,7 @@ com.google.truth truth - 1.4.2 + 1.4.3 test From 4d9c2871e1de3261a87beab5168507bdebacdbb3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 8 Jul 2024 08:26:00 -0700 Subject: [PATCH 188/189] Bump org.checkerframework:checker-qual from 3.44.0 to 3.45.0 in the dependencies group Bumps the dependencies group with 1 update: [org.checkerframework:checker-qual](https://github.com/typetools/checker-framework). Updates `org.checkerframework:checker-qual` from 3.44.0 to 3.45.0
Release notes

Sourced from org.checkerframework:checker-qual's releases.

Checker Framework 3.45.0

Version 3.45.0 (July 1, 2024)

Implementation details:

Added a Tree argument to AnnotatedTypes.adaptParameters()

Deprecated methods:

  • TreeUtils.isVarArgs() => isVarargsCall()
  • TreeUtils.isVarArgMethodCall() => isVarargsCall()

Closed issues:

#152, #5575, #6630, #6641, #6648, #6676.

Changelog

Sourced from org.checkerframework:checker-qual's changelog.

Version 3.45.0 (July 1, 2024)

Implementation details:

Added a Tree argument to AnnotatedTypes.adaptParameters()

Deprecated methods:

  • TreeUtils.isVarArgs() => isVarargsCall()
  • TreeUtils.isVarArgMethodCall() => isVarargsCall()

Closed issues:

#152, #5575, #6630, #6641, #6648, #6676.

Commits
  • 9723ea7 new release 3.45.0
  • 83a8a55 Update for release.
  • 8d50b59 Update dependency com.amazonaws:aws-java-sdk-bom to v1.12.753 (#6690)
  • e3a0b54 Update dependency org.projectlombok:lombok to v1.18.34 (#6689)
  • 71f21f1 Update to Stubparser version 3.26.1
  • 6147c82 Remove references to the defunct Object Construction Checker
  • 936a6d0 Fix typo
  • 4b236c1 Project: replace JavaParser by javac (#6678)
  • 6cc0cd3 Non-Empty Checker (#6679)
  • 5c98838 Add a complete example of a resource wrapper type to the manual (#6680)
  • Additional commits viewable in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.checkerframework:checker-qual&package-manager=maven&previous-version=3.44.0&new-version=3.45.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Fixes #353 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/jimfs/pull/353 from google:dependabot/maven/dependencies-06488b085f 3d83e9db12fa09e045fadd4bd24c47fc448e805d PiperOrigin-RevId: 650258175 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 7b77920b..50c4e428 100644 --- a/pom.xml +++ b/pom.xml @@ -131,7 +131,7 @@ org.checkerframework checker-qual - 3.44.0 + 3.45.0 From c5d53a73c1ca0ec37ba9df0fbde694857406c3ec Mon Sep 17 00:00:00 2001 From: cpovirk Date: Fri, 12 Jul 2024 16:06:34 -0700 Subject: [PATCH 189/189] Bump Truth to 1.4.4. RELNOTES=n/a PiperOrigin-RevId: 651912281 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 50c4e428..c7b82dcb 100644 --- a/pom.xml +++ b/pom.xml @@ -150,7 +150,7 @@ com.google.truth truth - 1.4.3 + 1.4.4 test