Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump guava from 27.0.1-jre to 32.0.0-jre in /src/it/projects/MJAVADOC-555_link-automatic-modules #207

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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 }
}