Skip to content

Commit 7190607

Browse files
cpovirkGoogle Java Core Libraries
authored and
Google Java Core Libraries
committed
Bump a few Maven plugins.
I'm not sure that any of these end up being _necessary_ to what I'm doing in #7331 (comment) / #3990 (comment). But the upgrade to `maven-surefire-plugin` changes that plugin's toolchain behavior, so I particularly want to use the new version there in advance of starting to use toolchains. This includes a workaround for a bug in the JDK 8 javac. (I don't know why the bug is appearing only after these upgrades.) ``` Error: /home/runner/work/guava/guava/guava/src/com/google/common/hash/BloomFilter.java:[78,29] error: cannot find symbol symbol: class Serializable location: class BloomFilter<T> where T is a type-variable: T declared in class BloomFilter ``` RELNOTES=n/a PiperOrigin-RevId: 655556207
1 parent 5041fbe commit 7190607

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

android/guava/src/com/google/common/hash/BloomFilter.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public final class BloomFilter<T extends @Nullable Object> implements Predicate<
7474
*
7575
* <p>Implementations should be collections of pure functions (i.e. stateless).
7676
*/
77-
interface Strategy extends Serializable {
77+
interface Strategy extends java.io.Serializable {
7878

7979
/**
8080
* Sets {@code numHashFunctions} bits of the given bit array, by hashing a user element.

android/pom.xml

+4-4
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@
122122
<plugins>
123123
<plugin>
124124
<artifactId>maven-compiler-plugin</artifactId>
125-
<version>3.8.1</version>
125+
<version>3.13.0</version>
126126
<configuration>
127127
<source>1.8</source>
128128
<target>1.8</target>
@@ -176,7 +176,7 @@
176176
<dependency>
177177
<groupId>org.codehaus.plexus</groupId>
178178
<artifactId>plexus-io</artifactId>
179-
<!-- DO NOT UPGRADE this past 3.4.1 until https://github.com/codehaus-plexus/plexus-io/issues/109 is fixed. -->
179+
<!-- DO NOT UPGRADE this past 3.4.1 until https://github.com/codehaus-plexus/plexus-io/issues/109 is fixed (probably in 3.5.1). -->
180180
<version>3.4.1</version>
181181
</dependency>
182182
</dependencies>
@@ -219,7 +219,7 @@
219219
</plugin>
220220
<plugin>
221221
<artifactId>maven-javadoc-plugin</artifactId>
222-
<version>3.5.0</version>
222+
<version>3.8.0</version>
223223
<configuration>
224224
<quiet>true</quiet>
225225
<notimestamp>true</notimestamp>
@@ -251,7 +251,7 @@
251251
</plugin>
252252
<plugin>
253253
<artifactId>maven-surefire-plugin</artifactId>
254-
<version>2.7.2</version>
254+
<version>3.3.1</version>
255255
<configuration>
256256
<includes>
257257
<include>${test.include}</include>

guava/src/com/google/common/hash/BloomFilter.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public final class BloomFilter<T extends @Nullable Object> implements Predicate<
7575
*
7676
* <p>Implementations should be collections of pure functions (i.e. stateless).
7777
*/
78-
interface Strategy extends Serializable {
78+
interface Strategy extends java.io.Serializable {
7979

8080
/**
8181
* Sets {@code numHashFunctions} bits of the given bit array, by hashing a user element.

pom.xml

+4-4
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@
123123
<plugins>
124124
<plugin>
125125
<artifactId>maven-compiler-plugin</artifactId>
126-
<version>3.8.1</version>
126+
<version>3.13.0</version>
127127
<configuration>
128128
<source>1.8</source>
129129
<target>1.8</target>
@@ -177,7 +177,7 @@
177177
<dependency>
178178
<groupId>org.codehaus.plexus</groupId>
179179
<artifactId>plexus-io</artifactId>
180-
<!-- DO NOT UPGRADE this past 3.4.1 until https://github.com/codehaus-plexus/plexus-io/issues/109 is fixed. -->
180+
<!-- DO NOT UPGRADE this past 3.4.1 until https://github.com/codehaus-plexus/plexus-io/issues/109 is fixed (probably in 3.5.1). -->
181181
<version>3.4.1</version>
182182
</dependency>
183183
</dependencies>
@@ -214,7 +214,7 @@
214214
</plugin>
215215
<plugin>
216216
<artifactId>maven-javadoc-plugin</artifactId>
217-
<version>3.5.0</version>
217+
<version>3.8.0</version>
218218
<configuration>
219219
<quiet>true</quiet>
220220
<notimestamp>true</notimestamp>
@@ -246,7 +246,7 @@
246246
</plugin>
247247
<plugin>
248248
<artifactId>maven-surefire-plugin</artifactId>
249-
<version>2.7.2</version>
249+
<version>3.3.1</version>
250250
<configuration>
251251
<includes>
252252
<include>${test.include}</include>

0 commit comments

Comments
 (0)