From 62220e0cc6b04c214134f4a7403deacf9b0eb321 Mon Sep 17 00:00:00 2001 From: Nicole Lee Date: Tue, 21 Jul 2026 16:33:45 +0000 Subject: [PATCH 1/2] fix: exclude jqwik tests on Java 8 --- java-storage/google-cloud-storage/pom.xml | 55 ++++++++++++++++++++--- 1 file changed, 49 insertions(+), 6 deletions(-) diff --git a/java-storage/google-cloud-storage/pom.xml b/java-storage/google-cloud-storage/pom.xml index 201466c33e25..6d8802e5f10c 100644 --- a/java-storage/google-cloud-storage/pom.xml +++ b/java-storage/google-cloud-storage/pom.xml @@ -338,12 +338,6 @@ junit-vintage-engine test - - net.jqwik - jqwik - 1.9.3 - test - io.github.classgraph classgraph @@ -474,6 +468,55 @@ + + jqwik-tests + + [11,) + + + + net.jqwik + jqwik + 1.9.3 + test + + + + + exclude-jqwik-on-java8 + + 1.8 + + + + + org.apache.maven.plugins + maven-compiler-plugin + + + default-testCompile + + + **/*PropertyTest.java + **/JqwikTest.java + **/jqwik/** + **/StorageV2ProtoUtilsTest.java + **/JsonUtilsTest.java + **/ChunkSegmenterTest.java + **/DefaultBufferedWritableByteChannelTest.java + **/MinFlushBufferedWritableByteChannelTest.java + **/DefaultBufferedReadableByteChannelTest.java + **/Crc32cValueTest.java + **/ITSyncingFileChannelTest.java + **/RewindableByteBufferContentTest.java + + + + + + + + idea-jqwik From 17f4e0f31133954acee70593fa44fac9dfb9fce0 Mon Sep 17 00:00:00 2001 From: Nicole Lee Date: Tue, 21 Jul 2026 19:02:45 +0000 Subject: [PATCH 2/2] added comment to pom.xml --- java-storage/google-cloud-storage/pom.xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/java-storage/google-cloud-storage/pom.xml b/java-storage/google-cloud-storage/pom.xml index 6d8802e5f10c..bde210ee1cb7 100644 --- a/java-storage/google-cloud-storage/pom.xml +++ b/java-storage/google-cloud-storage/pom.xml @@ -482,6 +482,11 @@ + exclude-jqwik-on-java8