diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 2915835ab..ed5494f3a 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -25,7 +25,7 @@ jobs: strategy: fail-fast: false matrix: - java: [8, 11, 17, 24] + java: [8, 11, 17, 25] steps: - uses: actions/checkout@v4 - uses: actions/setup-java@v4 @@ -54,7 +54,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - java: [8, 11, 17, 24] + java: [8, 11, 17, 25] steps: - uses: actions/checkout@v4 - uses: actions/setup-java@v4 @@ -110,4 +110,4 @@ jobs: distribution: temurin - run: .kokoro/build.sh env: - JOB_TYPE: test \ No newline at end of file + JOB_TYPE: test diff --git a/.kokoro/presubmit/graalvm-native-a.cfg b/.kokoro/presubmit/graalvm-native-a.cfg index 5f8ee7699..7efff1613 100644 --- a/.kokoro/presubmit/graalvm-native-a.cfg +++ b/.kokoro/presubmit/graalvm-native-a.cfg @@ -29,5 +29,5 @@ env_vars: { } container_properties { - docker_image: "us-docker.pkg.dev/java-graalvm-ci-prod/graalvm-integration-testing/graalvm_a:1.16.0" + docker_image: "us-docker.pkg.dev/java-graalvm-ci-prod/graalvm-integration-testing/graalvm_a:1.17.0" } diff --git a/.kokoro/presubmit/graalvm-native-b.cfg b/.kokoro/presubmit/graalvm-native-b.cfg index 1fd813105..5f8625f71 100644 --- a/.kokoro/presubmit/graalvm-native-b.cfg +++ b/.kokoro/presubmit/graalvm-native-b.cfg @@ -29,5 +29,5 @@ env_vars: { } container_properties { - docker_image: "us-docker.pkg.dev/java-graalvm-ci-prod/graalvm-integration-testing/graalvm_b:1.16.0" + docker_image: "us-docker.pkg.dev/java-graalvm-ci-prod/graalvm-integration-testing/graalvm_b:1.17.0" } diff --git a/.kokoro/presubmit/graalvm-native-c.cfg b/.kokoro/presubmit/graalvm-native-c.cfg index db4b9721c..19b286524 100644 --- a/.kokoro/presubmit/graalvm-native-c.cfg +++ b/.kokoro/presubmit/graalvm-native-c.cfg @@ -29,5 +29,5 @@ env_vars: { } container_properties { - docker_image: "us-docker.pkg.dev/java-graalvm-ci-prod/graalvm-integration-testing/graalvm_c:1.16.0" + docker_image: "us-docker.pkg.dev/java-graalvm-ci-prod/graalvm-integration-testing/graalvm_c:1.17.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 2b6033562..59dd55424 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [2.0.2](https://github.com/googleapis/google-http-java-client/compare/v2.0.1...v2.0.2) (2025-10-13) + + +### Dependencies + +* Update dependency com.google.cloud:native-image-shared-config to v1.17.0 ([9efc208](https://github.com/googleapis/google-http-java-client/commit/9efc20820de4d48cf6b4375d26793094aef6696d)) + ## [2.0.1](https://github.com/googleapis/google-http-java-client/compare/v2.0.0...v2.0.1) (2025-09-24) diff --git a/google-http-client-android-test/pom.xml b/google-http-client-android-test/pom.xml index 5364010b6..42f2b6184 100644 --- a/google-http-client-android-test/pom.xml +++ b/google-http-client-android-test/pom.xml @@ -4,7 +4,7 @@ google-http-client google-http-client-android-test Test project for google-http-client-android. - 2.0.1 + 2.0.2 apk @@ -53,7 +53,7 @@ com.google.http-client google-http-client-android - 2.0.1 + 2.0.2 android @@ -72,7 +72,7 @@ com.google.http-client google-http-client-test - 2.0.1 + 2.0.2 junit diff --git a/google-http-client-android/pom.xml b/google-http-client-android/pom.xml index 450dc2b7b..b5260d691 100644 --- a/google-http-client-android/pom.xml +++ b/google-http-client-android/pom.xml @@ -4,11 +4,11 @@ com.google.http-client google-http-client-parent - 2.0.1 + 2.0.2 ../pom.xml google-http-client-android - 2.0.1 + 2.0.2 Android Platform Extensions to the Google HTTP Client Library for Java. diff --git a/google-http-client-apache-v2/pom.xml b/google-http-client-apache-v2/pom.xml index 4717196ae..e3e0bdc95 100644 --- a/google-http-client-apache-v2/pom.xml +++ b/google-http-client-apache-v2/pom.xml @@ -4,11 +4,11 @@ com.google.http-client google-http-client-parent - 2.0.1 + 2.0.2 ../pom.xml google-http-client-apache-v2 - 2.0.1 + 2.0.2 Apache HTTP transport v2 for the Google HTTP Client Library for Java. diff --git a/google-http-client-apache-v5/pom.xml b/google-http-client-apache-v5/pom.xml index 6973ee524..d9bf5e8c3 100644 --- a/google-http-client-apache-v5/pom.xml +++ b/google-http-client-apache-v5/pom.xml @@ -4,11 +4,11 @@ com.google.http-client google-http-client-parent - 2.0.1 + 2.0.2 ../pom.xml google-http-client-apache-v5 - 2.0.1 + 2.0.2 Apache HTTP transport v5 for the Google HTTP Client Library for Java. diff --git a/google-http-client-appengine/pom.xml b/google-http-client-appengine/pom.xml index 63c96b131..cce774b01 100644 --- a/google-http-client-appengine/pom.xml +++ b/google-http-client-appengine/pom.xml @@ -4,11 +4,11 @@ com.google.http-client google-http-client-parent - 2.0.1 + 2.0.2 ../pom.xml google-http-client-appengine - 2.0.1 + 2.0.2 Google App Engine extensions to the Google HTTP Client Library for Java. diff --git a/google-http-client-assembly/pom.xml b/google-http-client-assembly/pom.xml index 2cd239148..6131e8246 100644 --- a/google-http-client-assembly/pom.xml +++ b/google-http-client-assembly/pom.xml @@ -4,12 +4,12 @@ com.google.http-client google-http-client-parent - 2.0.1 + 2.0.2 ../pom.xml com.google.http-client google-http-client-assembly - 2.0.1 + 2.0.2 pom Assembly for the Google HTTP Client Library for Java diff --git a/google-http-client-bom/pom.xml b/google-http-client-bom/pom.xml index 60772596d..5d649b242 100644 --- a/google-http-client-bom/pom.xml +++ b/google-http-client-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.http-client google-http-client-bom - 2.0.1 + 2.0.2 pom Google HTTP Client Library for Java BOM @@ -63,57 +63,57 @@ com.google.http-client google-http-client - 2.0.1 + 2.0.2 com.google.http-client google-http-client-android - 2.0.1 + 2.0.2 com.google.http-client google-http-client-apache-v2 - 2.0.1 + 2.0.2 com.google.http-client google-http-client-apache-v5 - 2.0.1 + 2.0.2 com.google.http-client google-http-client-appengine - 2.0.1 + 2.0.2 com.google.http-client google-http-client-findbugs - 2.0.1 + 2.0.2 com.google.http-client google-http-client-gson - 2.0.1 + 2.0.2 com.google.http-client google-http-client-jackson2 - 2.0.1 + 2.0.2 com.google.http-client google-http-client-protobuf - 2.0.1 + 2.0.2 com.google.http-client google-http-client-test - 2.0.1 + 2.0.2 com.google.http-client google-http-client-xml - 2.0.1 + 2.0.2 diff --git a/google-http-client-findbugs/pom.xml b/google-http-client-findbugs/pom.xml index fd781d240..db7d65e4d 100644 --- a/google-http-client-findbugs/pom.xml +++ b/google-http-client-findbugs/pom.xml @@ -4,11 +4,11 @@ com.google.http-client google-http-client-parent - 2.0.1 + 2.0.2 ../pom.xml google-http-client-findbugs - 2.0.1 + 2.0.2 Google APIs Client Library Findbugs custom plugin. diff --git a/google-http-client-gson/pom.xml b/google-http-client-gson/pom.xml index 1ddbd7018..a5bda931f 100644 --- a/google-http-client-gson/pom.xml +++ b/google-http-client-gson/pom.xml @@ -4,11 +4,11 @@ com.google.http-client google-http-client-parent - 2.0.1 + 2.0.2 ../pom.xml google-http-client-gson - 2.0.1 + 2.0.2 GSON extensions to the Google HTTP Client Library for Java. diff --git a/google-http-client-jackson2/pom.xml b/google-http-client-jackson2/pom.xml index cac5191d4..5b364a94c 100644 --- a/google-http-client-jackson2/pom.xml +++ b/google-http-client-jackson2/pom.xml @@ -4,11 +4,11 @@ com.google.http-client google-http-client-parent - 2.0.1 + 2.0.2 ../pom.xml google-http-client-jackson2 - 2.0.1 + 2.0.2 Jackson 2 extensions to the Google HTTP Client Library for Java. diff --git a/google-http-client-protobuf/pom.xml b/google-http-client-protobuf/pom.xml index 7d2df7317..4cddd5bec 100644 --- a/google-http-client-protobuf/pom.xml +++ b/google-http-client-protobuf/pom.xml @@ -4,11 +4,11 @@ com.google.http-client google-http-client-parent - 2.0.1 + 2.0.2 ../pom.xml google-http-client-protobuf - 2.0.1 + 2.0.2 Protocol Buffer extensions to the Google HTTP Client Library for Java. diff --git a/google-http-client-test/pom.xml b/google-http-client-test/pom.xml index 75456117a..3ca33ecad 100644 --- a/google-http-client-test/pom.xml +++ b/google-http-client-test/pom.xml @@ -4,11 +4,11 @@ com.google.http-client google-http-client-parent - 2.0.1 + 2.0.2 ../pom.xml google-http-client-test - 2.0.1 + 2.0.2 Shared classes used for testing of artifacts in the Google HTTP Client Library for Java. diff --git a/google-http-client-xml/pom.xml b/google-http-client-xml/pom.xml index 2c4d8748f..1f0f95143 100644 --- a/google-http-client-xml/pom.xml +++ b/google-http-client-xml/pom.xml @@ -4,11 +4,11 @@ com.google.http-client google-http-client-parent - 2.0.1 + 2.0.2 ../pom.xml google-http-client-xml - 2.0.1 + 2.0.2 XML extensions to the Google HTTP Client Library for Java. diff --git a/google-http-client/pom.xml b/google-http-client/pom.xml index aefa21738..298a0841a 100644 --- a/google-http-client/pom.xml +++ b/google-http-client/pom.xml @@ -4,11 +4,11 @@ com.google.http-client google-http-client-parent - 2.0.1 + 2.0.2 ../pom.xml google-http-client - 2.0.1 + 2.0.2 Google HTTP Client Library for Java Google HTTP Client Library for Java. Functionality that works on all supported Java platforms, diff --git a/google-http-client/src/main/java/com/google/api/client/util/Types.java b/google-http-client/src/main/java/com/google/api/client/util/Types.java index e9d19d251..8a49b438e 100644 --- a/google-http-client/src/main/java/com/google/api/client/util/Types.java +++ b/google-http-client/src/main/java/com/google/api/client/util/Types.java @@ -106,12 +106,6 @@ public static boolean isAssignableToOrFrom(Class classToCheck, Class anoth * an array or an interface or be abstract. If an enclosing class, it must be static. */ public static T newInstance(Class clazz) { - // This is a workaround for https://github.com/oracle/graal/issues/11429. Remove this line once - // the GraalVM team has provided a solution or workaround for this. - if (clazz.getName().equals("java.lang.Object")) { - return (T) new Object(); - } - // TODO(yanivi): investigate "sneaky" options for allocating the class that GSON uses, like // setting the constructor to be accessible, or possibly provide a factory method of a special // name diff --git a/pom.xml b/pom.xml index b62193526..f8e7c01f3 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 com.google.http-client google-http-client-parent - 2.0.1 + 2.0.2 pom Parent for the Google HTTP Client Library for Java Google HTTP Client Library for Java @@ -93,7 +93,7 @@ com.google.cloud native-image-shared-config - 1.16.0 + 1.17.0 - 2.0.1 + 2.0.2 2.0.32 UTF-8 3.0.2 diff --git a/samples/dailymotion-simple-cmdline-sample/pom.xml b/samples/dailymotion-simple-cmdline-sample/pom.xml index 975ae1411..fecb3e46c 100644 --- a/samples/dailymotion-simple-cmdline-sample/pom.xml +++ b/samples/dailymotion-simple-cmdline-sample/pom.xml @@ -4,7 +4,7 @@ com.google.http-client google-http-client-parent - 2.0.1 + 2.0.2 ../../pom.xml dailymotion-simple-cmdline-sample diff --git a/versions.txt b/versions.txt index 3783a5310..343e76adf 100644 --- a/versions.txt +++ b/versions.txt @@ -1,18 +1,18 @@ # Format: # module:released-version:current-version -google-http-client:2.0.1:2.0.1 -google-http-client-bom:2.0.1:2.0.1 -google-http-client-parent:2.0.1:2.0.1 -google-http-client-android:2.0.1:2.0.1 -google-http-client-android-test:2.0.1:2.0.1 -google-http-client-apache-v2:2.0.1:2.0.1 -google-http-client-apache-v5:2.0.1:2.0.1 -google-http-client-appengine:2.0.1:2.0.1 -google-http-client-assembly:2.0.1:2.0.1 -google-http-client-findbugs:2.0.1:2.0.1 -google-http-client-gson:2.0.1:2.0.1 -google-http-client-jackson2:2.0.1:2.0.1 -google-http-client-protobuf:2.0.1:2.0.1 -google-http-client-test:2.0.1:2.0.1 -google-http-client-xml:2.0.1:2.0.1 +google-http-client:2.0.2:2.0.2 +google-http-client-bom:2.0.2:2.0.2 +google-http-client-parent:2.0.2:2.0.2 +google-http-client-android:2.0.2:2.0.2 +google-http-client-android-test:2.0.2:2.0.2 +google-http-client-apache-v2:2.0.2:2.0.2 +google-http-client-apache-v5:2.0.2:2.0.2 +google-http-client-appengine:2.0.2:2.0.2 +google-http-client-assembly:2.0.2:2.0.2 +google-http-client-findbugs:2.0.2:2.0.2 +google-http-client-gson:2.0.2:2.0.2 +google-http-client-jackson2:2.0.2:2.0.2 +google-http-client-protobuf:2.0.2:2.0.2 +google-http-client-test:2.0.2:2.0.2 +google-http-client-xml:2.0.2:2.0.2