googleapis / googleapis/google-cloud-java

Adopt Java Platform Module System (JPMS)

Abierto
#10,979 0 comentarios 2 reacciones 0 asignados Ver en GitHub
priority: p2 type: feature request
Lenguaje dominante
Java
Estrellas
2.1k
Forks
1.2k
Merge medio
1 d 23 h
PR fusionados (30 d)
154

Descripción

The Java Platform Module System (JPMS; https://www.oracle.com/corporate/features/understanding-java-9-modules.html) has been introduced since Java 9. Cloud SDK for Java and Google API Client Libraries have not adopted the module system.

Example case: https://github.com/googleapis/google-cloud-java/issues/10975

# Workaround

Place the Cloud Java SDK in the class path, rather than the module path. The module path and the class path can coexist in a JVM.

# References

- https://github.com/grpc/grpc-java/issues/3522 When we evaluated few years ago, it got stuck with this gRPC issue about the module system. Now the issue has been resolved since last year.
- https://github.com/grpc/grpc-java/issues/2727#issuecomment-348209549 For gRPC, a workaround shared by a user was repackaging JAR files.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.