Skip to content

Bump guava from 31.1-jre to 32.0.0-jre in /java - #7

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/maven/java/com.google.guava-guava-32.0.0-jre
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/maven/java/com.google.guava-guava-32.0.0-jre

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 14, 2023 •

Copy link
Copy Markdown

Bumps guava from 31.1-jre to 32.0.0-jre.

Release notes

Sourced from guava's releases.

32.0.0

Maven

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

Jar files

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

Javadoc

JDiff

Changelog

Security fixes

While CVE-2020-8908 was officially closed when we deprecated Files.createTempDir in Guava 30.0, we've heard from users that even recent versions of Guava have been listed as vulnerable in other databases of security vulnerabilities. In response, we've reimplemented the method (and the very rarely used FileBackedOutputStream class, which had a similar issue) to eliminate the insecure behavior entirely. This change could technically affect users in a number of different ways (discussed under "Incompatible changes" below), but in practice, the only problem users are likely to encounter is with Windows. If you are using those APIs under Windows, you should skip 32.0.0 and go straight to 32.0.1 which fixes the problem. (Unfortunately, we didn't think of the Windows problem until after the release. And while we warn that common.io in particular may not work under Windows, we didn't intend to regress support.) Sorry for the trouble.

Incompatible changes

Although this release bumps Guava's major version number, it makes no binary-incompatible changes to the guava artifact.

One change could cause issues for Widows users, and a few other changes could cause issues for users in more usual situations:

  • The new implementations of Files.createTempDir and FileBackedOutputStream throw an exception under Windows. This is fixed in 32.0.1. Sorry for the trouble.
  • This release makes a binary-incompatible change to a @Beta API in the separate artifact guava-testlib. Specifically, we changed the return type of TestingExecutors.sameThreadScheduledExecutor to ListeningScheduledExecutorService. The old return type was a package-private class, which caused the Kotlin compiler to produce warnings. (dafaa3e435)
  • This release adds two methods to the Android flavor of Guava: Invokable.getAnnotatedReturnType() and Parameter.getAnnotatedType(). Those methods do not work under an Android VM; we added them only to help our tests of the Android flavor (since we also run those tests under a JRE). Android VMs tolerate such methods as long as the app does not call them or perform reflection on them, and builds tolerate them because of our new Proguard configurations (discussed below). Thus, we expect no impact to most users. However, we could imagine build problems for users who have set up their own build system for the Android flavor of Guava. Please report any problems so that we can judge how safely we might be able to add other methods to the Android flavor in the future, such as APIs that use Java 8 classes like Stream. (b30e73cfa81ad15c1023c17cfd083255a3df0105)

... (truncated)

Commits

Dependabot compatibility score

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 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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [guava](https://github.com/google/guava) from 31.1-jre to 32.0.0-jre.
- [Release notes](https://github.com/google/guava/releases)
- [Commits](https://github.com/google/guava/commits)

---
updated-dependencies:
- dependency-name: com.google.guava:guava
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Jun 14, 2023
@dependabot @github

dependabot Bot commented on behalf of github Jun 22, 2023

Copy link
Copy Markdown
Author

Looks like com.google.guava:guava is up-to-date now, so this is no longer needed.

@dependabot dependabot Bot closed this Jun 22, 2023
@dependabot
dependabot Bot deleted the dependabot/maven/java/com.google.guava-guava-32.0.0-jre branch June 22, 2023 09:12
taiyang-li pushed a commit to taiyang-li/orc that referenced this pull request Aug 14, 2023
### What changes were proposed in this pull request?
This PR aims to add Febdora 37 Docker test.

### Why are the changes needed?
To improve test coverage.

### How was this patch tested?
Manually test on AMD64.
Note that ORC-762 still exists; protobuffer 2.5.0 only works on AMD64 and Apple silicon.

```
$ docker build -t apache/orc-dev:fedora37 fedora37
$ ./run-one.sh local fedora37 fedora37
...
Test project /root/build
    Start 1: orc-test
1/8 Test ClickHouse#1: orc-test .........................   Passed    5.35 sec
    Start 2: java-test
2/8 Test ClickHouse#2: java-test ........................   Passed  192.94 sec
    Start 3: java-tools-test
3/8 Test ClickHouse#3: java-tools-test ..................   Passed    0.14 sec
    Start 4: java-bench-gen-test
4/8 Test ClickHouse#4: java-bench-gen-test ..............   Passed    1.38 sec
    Start 5: java-bench-scan-test
5/8 Test ClickHouse#5: java-bench-scan-test .............   Passed    1.23 sec
    Start 6: java-bench-hive-test
6/8 Test ClickHouse#6: java-bench-hive-test .............   Passed   13.55 sec
    Start 7: java-bench-spark-test
7/8 Test ClickHouse#7: java-bench-spark-test ............   Passed    4.66 sec
    Start 8: tool-test
8/8 Test ClickHouse#8: tool-test ........................   Passed   10.70 sec

100% tests passed, 0 tests failed out of 8

Total Test time (real) = 229.97 sec
Built target test-out
Finished fedora37 at Wed Aug 17 13:10:33 PDT 2022
```

Closes apache#1224 from williamhyun/fedora37.

Authored-by: William Hyun <william@apache.org>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
al13n321 pushed a commit that referenced this pull request May 31, 2024
### What changes were proposed in this pull request?

This PR aims to add `Debian 12` Docker test.

### Why are the changes needed?

To improve the test coverage for the new Debian OS environment.

### How was this patch tested?

Run the docker tests.

```
$ cd docker
$ ./run-one.sh local ORC-1498 debian12
Started local run for ORC-1498 on debian12 at Tue Aug 29 23:50:19 PDT 2023
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
...
Java version: 17.0.8, vendor: Debian, runtime: /usr/lib/jvm/java-17-openjdk-arm64
...
Run CPack packaging tool...
CPack: Create package using TGZ
CPack: Install projects
CPack: - Run preinstall target for: ORC
CPack: - Install project: ORC []
CPack: Create package
CPack: - package: /root/build/ORC-2.0.0-SNAPSHOT-Linux.tar.gz generated.
Test project /root/build
    Start 1: orc-test
1/8 Test #1: orc-test .........................   Passed    4.61 sec
    Start 2: java-test
2/8 Test #2: java-test ........................   Passed  105.33 sec
    Start 3: java-tools-test
3/8 Test #3: java-tools-test ..................   Passed    0.08 sec
    Start 4: java-bench-gen-test
4/8 Test #4: java-bench-gen-test ..............   Passed    0.73 sec
    Start 5: java-bench-scan-test
5/8 Test #5: java-bench-scan-test .............   Passed    0.65 sec
    Start 6: java-bench-hive-test
6/8 Test #6: java-bench-hive-test .............   Passed   11.11 sec
    Start 7: java-bench-spark-test
7/8 Test #7: java-bench-spark-test ............   Passed    3.23 sec
    Start 8: tool-test
8/8 Test #8: tool-test ........................   Passed    6.70 sec

100% tests passed, 0 tests failed out of 8

Total Test time (real) = 132.45 sec
Built target test-out
Finished debian12 at Wed Aug 30 00:02:14 PDT 2023
```

Closes apache#1605 from dongjoon-hyun/ORC-1498.

Authored-by: Dongjoon Hyun <dongjoon@apache.org>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
al13n321 pushed a commit that referenced this pull request May 31, 2024
### What changes were proposed in this pull request?

This PR aims to add `Ubuntu 24.04 LTS` Docker Test.

### Why are the changes needed?

Although the official `Ubuntu 24.04 LTS` will arrive on April 2024, we can start to track it from the official docker dev image.

- GNU C/CXX compiler: 13.2.0

### How was this patch tested?

Manual review.
```
$ ./reinit.sh ubuntu24
$ ./run-one.sh local ORC-1541 ubuntu24
...
Test project /root/build
    Start 1: orc-test
1/8 Test #1: orc-test .........................   Passed    4.53 sec
    Start 2: java-test
2/8 Test #2: java-test ........................   Passed  104.55 sec
    Start 3: java-tools-test
3/8 Test #3: java-tools-test ..................   Passed    0.07 sec
    Start 4: java-bench-gen-test
4/8 Test #4: java-bench-gen-test ..............   Passed    0.74 sec
    Start 5: java-bench-scan-test
5/8 Test #5: java-bench-scan-test .............   Passed    0.69 sec
    Start 6: java-bench-hive-test
6/8 Test #6: java-bench-hive-test .............   Passed   11.21 sec
    Start 7: java-bench-spark-test
7/8 Test #7: java-bench-spark-test ............   Passed    3.36 sec
    Start 8: tool-test
8/8 Test #8: tool-test ........................   Passed    6.94 sec

100% tests passed, 0 tests failed out of 8

Total Test time (real) = 132.08 sec
Built target test-out
Finished ubuntu24 at Fri Dec  8 23:34:01 PST 2023
```

This closes apache#1501 .

Closes apache#1679 from dongjoon-hyun/ORC-1541.

Authored-by: Dongjoon Hyun <dongjoon@apache.org>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
al13n321 pushed a commit that referenced this pull request May 31, 2024
### What changes were proposed in this pull request?

This PR aims to simplify `fedora37` docker image for Apache ORC 2.0.
- Explicitly install Java 17
- Remove unused Java8 and Java 11 installation
- Remove unused Maven installation.

### Why are the changes needed?

The docker image is outdated.
- Java 8 and 11-related branches are not used at all.
- The installed Java 17 was due to the transitive dependency of `maven` installation.
- The installed `Maven` is not used because we use `mvnw`.

### How was this patch tested?

Manual tests.
```
$ ./run-one.sh local main fedora37
...
Test project /root/build
    Start 1: orc-test
1/8 Test #1: orc-test .........................   Passed    5.54 sec
    Start 2: java-test
2/8 Test #2: java-test ........................   Passed  118.00 sec
    Start 3: java-tools-test
3/8 Test #3: java-tools-test ..................   Passed    0.09 sec
    Start 4: java-bench-gen-test
4/8 Test #4: java-bench-gen-test ..............   Passed    0.83 sec
    Start 5: java-bench-scan-test
5/8 Test #5: java-bench-scan-test .............   Passed    0.74 sec
    Start 6: java-bench-hive-test
6/8 Test #6: java-bench-hive-test .............   Passed   11.28 sec
    Start 7: java-bench-spark-test
7/8 Test #7: java-bench-spark-test ............   Passed    3.49 sec
    Start 8: tool-test
8/8 Test #8: tool-test ........................   Passed    7.92 sec

100% tests passed, 0 tests failed out of 8

Total Test time (real) = 147.89 sec
Built target test-out
Finished fedora37 at Sat Dec 23 19:32:19 PST 2023
```

Closes apache#1694 from dongjoon-hyun/ORC-1555.

Authored-by: Dongjoon Hyun <dongjoon@apache.org>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
al13n321 pushed a commit that referenced this pull request May 31, 2024
### What changes were proposed in this pull request?

This PR aims to add `Rocky Linux 9` Dockerfile.

### Why are the changes needed?

To provide a test coverage for `Oracle 9`-compatible OS environment.

- https://docs.rockylinux.org/release_notes/9_3/
- https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/9.3_release_notes/index

### How was this patch tested?

Manual test.

```
$ ./run-one.sh apache branch-1.9 rocky9
...
Test project /root/orc/build
    Start 1: orc-test
1/8 Test #1: orc-test .........................   Passed    4.92 sec
    Start 2: java-test
2/8 Test #2: java-test ........................   Passed  114.57 sec
    Start 3: java-tools-test
3/8 Test #3: java-tools-test ..................   Passed    0.07 sec
    Start 4: java-bench-gen-test
4/8 Test #4: java-bench-gen-test ..............   Passed    0.75 sec
    Start 5: java-bench-scan-test
5/8 Test #5: java-bench-scan-test .............   Passed    0.71 sec
    Start 6: java-bench-hive-test
6/8 Test #6: java-bench-hive-test .............   Passed   11.45 sec
    Start 7: java-bench-spark-test
7/8 Test #7: java-bench-spark-test ............   Passed    3.26 sec
    Start 8: tool-test
8/8 Test #8: tool-test ........................   Passed    6.70 sec

100% tests passed, 0 tests failed out of 8

Total Test time (real) = 142.44 sec
Built target test-out
Finished rocky9 at Sat Dec 23 23:21:18 PST 2023
```

Closes apache#1695 from dongjoon-hyun/ORC-1556.

Authored-by: Dongjoon Hyun <dongjoon@apache.org>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BUILD dependencies Pull requests that update a dependency file JAVA

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants