Skip to content

Commit

Permalink
Bump guava in /src/it/projects/MJAVADOC-555_link-automatic-modules
Browse files Browse the repository at this point in the history
Bumps [guava](https://github.com/google/guava) from 27.0.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>
  • Loading branch information
dependabot[bot] authored and slachiewicz committed Aug 15, 2023
1 parent f2f9f9d commit 1ba4b13
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Expand Up @@ -32,7 +32,7 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<guava.version>27.0.1-jre</guava.version>
<guava.version>32.0.0-jre</guava.version>
</properties>

<build>
Expand Down
Expand Up @@ -17,7 +17,7 @@
* under the License.
*/

def classFile
def classFile
int javaVersion = System.getProperty( "java.specification.version" ) as Integer
if ( javaVersion >= 11 ) {
classFile = new File( basedir, 'target/apidocs/jul_to_slf4j/com/testcase/Testcase.html')
Expand All @@ -33,11 +33,11 @@ def m = classFile.text =~ p
assert m.hasGroup()
try {
// https://bugs.openjdk.java.net/browse/JDK-8232438
// As of Java 15 ?is-external=true is removed
assert m[0][1].startsWith('https://guava.dev/releases/27.0.1-jre/api/docs/com/google/common/collect/Multimap.html')
// As of Java 15 ?is-external=true is removed
assert m[0][1].startsWith('https://guava.dev/releases/32.0.0-jre/api/docs/com/google/common/collect/Multimap.html')
}
catch(IndexOutOfBoundsException ioobe) {
// seems to happen with some Java 11 releases...
if ( javaVersion != 11 ) { throw ioobe }
// seems to happen with some Java 11 releases...
if ( javaVersion != 11 ) { throw ioobe }
}

0 comments on commit 1ba4b13

Please sign in to comment.