From 0e30ebffc63de2de940db1eb807175ec19aa752d Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 3 Nov 2021 09:46:15 -0700 Subject: [PATCH] fix(java): java 17 dependency arguments (#1537) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/7167ee5f-69fb-48b3-9000-59278075937b/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.) Source-Link: https://github.com/googleapis/synthtool/commit/cb2755306975de4c54ea549c9deb25703b3731bb --- .kokoro/dependencies.sh | 3 +-- synth.metadata | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.kokoro/dependencies.sh b/.kokoro/dependencies.sh index d7db6e8ae3..d7476cfe97 100755 --- a/.kokoro/dependencies.sh +++ b/.kokoro/dependencies.sh @@ -38,14 +38,13 @@ function determineMavenOpts() { | sed -E 's/^(1\.[0-9]\.0).*$/\1/g' ) - if [[ $javaVersion == 17* ]] + if [[ $javaVersion == 17* ]] then # MaxPermSize is no longer supported as of jdk 17 echo -n "-Xmx1024m" else echo -n "-Xmx1024m -XX:MaxPermSize=128m" fi - } export MAVEN_OPTS=$(determineMavenOpts) diff --git a/synth.metadata b/synth.metadata index 885b92ab8e..dd9120dff7 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-spanner.git", - "sha": "b6a35acb132e5cdb73f1365c0a937759a6d3a73f" + "sha": "e52dfc49c11490703f5e8689f6012752841b77b7" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "d45942be8066ad57bd0509f4a16e1fac78ecc50f" + "sha": "cb2755306975de4c54ea549c9deb25703b3731bb" } } ],