Skip to content

Drop support for Java 7 #3426

Description

@andreamlin

Clients won't be able to fetch dependencies from Maven due to Java 7 not supporting TLS 1.2 by default
Sample failed CI build, note the "Received fatal alert: protocol_version" message:

[ERROR] Failed to execute goal on project proto-google-cloud-bigquerydatatransfer-v1:
 Could not resolve dependencies for project com.google.api.grpc:proto-google-cloud-bigquerydatatransfer-v1:jar:0.18.1-SNAPSHOT:
 Failed to collect dependencies at com.google.api.grpc:proto-google-common-protos:jar:1.12.0:
 Failed to read artifact descriptor for com.google.api.grpc:proto-google-common-protos:jar:1.12.0:
 Could not transfer artifact com.google.api.grpc:proto-google-common-protos:pom:1.12.0 from/to central (https://repo.maven.apache.org/maven2):
 Received fatal alert: protocol_version -> [Help 1]

This will continue to break any CI builds that use Java 7, e.g. in google-cloud-java.

This can be mitigated by #3427, which will solve the dependency fetch issue, but still leaves open concerns that we are supported an outdated, potentially insecure version of Java.

Java 7 doesn't have public security updates any more, and it has been deprecated by Oracle.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

priority: p2Moderately-important priority. Fix may not be included in next release.type: processA process-related concern. May include testing, release, or the like.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions