You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What language does this apply to?
If it's a proto syntax change, is it for proto2 or proto3? N/A
If it's about generated code change, what programming language? Java
Describe the problem you are trying to solve.
I want to use Protobuf Java with jlink. Unfortunately, jlink rejects JARs with an Automatic-Module-Name set; it is required to define a module-info.java.
Describe the solution you'd like
I would like Protobuf Java to ship a module-info.java, in an MRJAR, to preserve existing JDK support. I am not proposing a change to the JVM bytecode minimum support level.
Describe alternatives you've considered
I have considered solutions like Moditect, but they complicate my build greatly because dependencies must be transformed before being consumed by the Java Compiler.
Additional context Guava is consideringa PR for this. Recently, Error Prone and other core libs have released new versions with a module-info.java definition. Thus, Protobuf's transitive dependencies may be ready for a fully modular Java build.
The text was updated successfully, but these errors were encountered:
What language does this apply to?
If it's a proto syntax change, is it for proto2 or proto3?
N/A
If it's about generated code change, what programming language?
Java
Describe the problem you are trying to solve.
I want to use Protobuf Java with
jlink
. Unfortunately,jlink
rejects JARs with anAutomatic-Module-Name
set; it is required to define amodule-info.java
.Describe the solution you'd like
I would like Protobuf Java to ship a
module-info.java
, in an MRJAR, to preserve existing JDK support. I am not proposing a change to the JVM bytecode minimum support level.Describe alternatives you've considered
I have considered solutions like Moditect, but they complicate my build greatly because dependencies must be transformed before being consumed by the Java Compiler.
Additional context
Guava is considering a PR for this. Recently, Error Prone and other core libs have released new versions with a
module-info.java
definition. Thus, Protobuf's transitive dependencies may be ready for a fully modular Java build.The text was updated successfully, but these errors were encountered: