Skip to content

cyclic dependency issue in 1.58.0 (Bazel) #10576

@patelprateek

Description

@patelprateek

What version of gRPC-Java are you using?

1.58.0

What is your environment?

jdk 11, bazel

What did you expect to see?

succesful compilation

What did you see instead?

compilation error

Steps to reproduce the bug

cloud storage 2.27.0

using gcs cloud storage 2.27.0 and grpc-java 1.58.0

 @maven//:com_google_cloud_google_cloud_storage
    @maven//:io_grpc_grpc_inprocess
.-> @maven//:io_grpc_grpc_core
|   @maven//:io_grpc_grpc_util
`-- @maven//:io_grpc_grpc_core

OR

@maven//:com_google_cloud_google_cloud_storage
  @maven//:io_grpc_grpc_netty_shaded
.-> @maven//:io_grpc_grpc_core
|  @maven//:io_grpc_grpc_util
`-- @maven//:io_grpc_grpc_core

cyclic depdendency issue

If i use an older version of gfprc-java 1.56.0 or older then
noSuchMethodError
"java.lang.NoSuchMethodError: 'void io.grpc.internal.AbstractManagedChannelImplBuilder.(java.lang.String)'"

=> java.lang.NoSuchMethodError: 'void io.grpc.internal.AbstractManagedChannelImplBuilder.(java.lang.String)'

io.grpc.netty.NettyChannelBuilder.<init>(NettyChannelBuilder.java:147)

io.grpc.netty.NettyChannelBuilder.<init>(NettyChannelBuilder.java:142)

I saw that the particular method has been removed in 1.58.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions