Skip to content
This repository was archived by the owner on Sep 16, 2023. It is now read-only.

Commit 84dc864

Browse files
fix: owlbot post-processor should generate README (#1154) (#793)
Fixes #1146 Fixes #1147 Source-Link: googleapis/synthtool@387851d Post-Processor: gcr.io/repo-automation-bots/owlbot-java:latest@sha256:69045edb77ff7c78fdfad02eae2b4493b2c358cd9778ab5b6dba0c2b578df0ec
1 parent 078b341 commit 84dc864

File tree

2 files changed

+48
-2
lines changed

2 files changed

+48
-2
lines changed

.github/.OwlBot.lock.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
docker:
22
image: gcr.io/repo-automation-bots/owlbot-java:latest
3-
digest: sha256:2e88a4a7fe3377cf8de1fa5982134f6ef2768980fa2f94edcc1ba6604ae2e7ca
3+
digest: sha256:69045edb77ff7c78fdfad02eae2b4493b2c358cd9778ab5b6dba0c2b578df0ec

README.md

Lines changed: 47 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,10 +123,50 @@ To get help, follow the instructions in the [shared Troubleshooting document][tr
123123

124124
Cloud Asset Inventory uses gRPC for the transport layer.
125125

126-
## Java Versions
126+
## Supported Java Versions
127127

128128
Java 7 or above is required for using this client.
129129

130+
Google's Java client libraries,
131+
[Google Cloud Client Libraries][cloudlibs]
132+
and
133+
[Google Cloud API Libraries][apilibs],
134+
follow the
135+
[Oracle Java SE support roadmap][oracle]
136+
(see the Oracle Java SE Product Releases section).
137+
138+
### For new development
139+
140+
In general, new feature development occurs with support for the lowest Java
141+
LTS version covered by Oracle's Premier Support (which typically lasts 5 years
142+
from initial General Availability). If the minimum required JVM for a given
143+
library is changed, it is accompanied by a [semver][semver] major release.
144+
145+
Java 11 and (in September 2021) Java 17 are the best choices for new
146+
development.
147+
148+
### Keeping production systems current
149+
150+
Google tests its client libraries with all current LTS versions covered by
151+
Oracle's Extended Support (which typically lasts 8 years from initial
152+
General Availability).
153+
154+
#### Legacy support
155+
156+
Google's client libraries support legacy versions of Java runtimes with long
157+
term stable libraries that don't receive feature updates on a best efforts basis
158+
as it may not be possible to backport all patches.
159+
160+
Google provides updates on a best efforts basis to apps that continue to use
161+
Java 7, though apps might need to upgrade to current versions of the library
162+
that supports their JVM.
163+
164+
#### Where to find specific information
165+
166+
The latest versions and the supported Java versions are identified on
167+
the individual GitHub repository `github.com/GoogleAPIs/java-SERVICENAME`
168+
and on [google-cloud-java][g-c-j].
169+
130170
## Versioning
131171

132172

@@ -187,3 +227,9 @@ Java is a registered trademark of Oracle and/or its affiliates.
187227
[enable-api]: https://console.cloud.google.com/flows/enableapi?apiid=cloudasset.googleapis.com
188228
[libraries-bom]: https://github.com/GoogleCloudPlatform/cloud-opensource-java/wiki/The-Google-Cloud-Platform-Libraries-BOM
189229
[shell_img]: https://gstatic.com/cloudssh/images/open-btn.png
230+
231+
[semver]: https://semver.org/
232+
[cloudlibs]: https://cloud.google.com/apis/docs/client-libraries-explained
233+
[apilibs]: https://cloud.google.com/apis/docs/client-libraries-explained#google_api_client_libraries
234+
[oracle]: https://www.oracle.com/java/technologies/java-se-support-roadmap.html
235+
[g-c-j]: http://github.com/googleapis/google-cloud-java

0 commit comments

Comments
 (0)