Skip to content

Commit fc7e408

Browse files
mbwhiteGerrit Code Review
authored andcommitted
Merge "[FAB-16669] WIP: Use native Java 11 ALPN support"
2 parents 4efdafe + f6076eb commit fc7e408

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

fabric-chaincode-protos/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ buildscript {
4747
dependencies {
4848
compile 'com.google.protobuf:protobuf-java:3.9.1'
4949
compile 'com.google.protobuf:protobuf-java-util:3.9.1'
50-
compile 'io.grpc:grpc-netty-shaded:1.23.0'
50+
compile 'io.grpc:grpc-netty:1.23.0'
5151
compile 'io.grpc:grpc-protobuf:1.23.0'
5252
compile 'io.grpc:grpc-stub:1.23.0'
5353
// Required if using Java 11+ as no longer bundled in the core libraries

fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/shim/ChaincodeBase.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@
3636
import org.hyperledger.fabric.shim.impl.Handler;
3737

3838
import io.grpc.ManagedChannelBuilder;
39-
import io.grpc.netty.shaded.io.grpc.netty.GrpcSslContexts;
40-
import io.grpc.netty.shaded.io.grpc.netty.NegotiationType;
41-
import io.grpc.netty.shaded.io.grpc.netty.NettyChannelBuilder;
42-
import io.grpc.netty.shaded.io.netty.handler.ssl.SslContext;
39+
import io.grpc.netty.GrpcSslContexts;
40+
import io.grpc.netty.NegotiationType;
41+
import io.grpc.netty.NettyChannelBuilder;
42+
import io.netty.handler.ssl.SslContext;
4343

4444
public abstract class ChaincodeBase implements Chaincode {
4545

0 commit comments

Comments
 (0)