Skip to content

Commit 0979648

Browse files
committed
Merge branch 'master' into servlet-serializeHeaders
2 parents 72ffc13 + 2ba5c3d commit 0979648

File tree

18 files changed

+686
-576
lines changed

18 files changed

+686
-576
lines changed

README.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ For a guided tour, take a look at the [quick start
4444
guide](https://grpc.io/docs/languages/java/quickstart) or the more explanatory [gRPC
4545
basics](https://grpc.io/docs/languages/java/basics).
4646

47-
The [examples](https://github.com/grpc/grpc-java/tree/v1.74.0/examples) and the
48-
[Android example](https://github.com/grpc/grpc-java/tree/v1.74.0/examples/android)
47+
The [examples](https://github.com/grpc/grpc-java/tree/v1.75.0/examples) and the
48+
[Android example](https://github.com/grpc/grpc-java/tree/v1.75.0/examples/android)
4949
are standalone projects that showcase the usage of gRPC.
5050

5151
Download
@@ -56,18 +56,18 @@ Download [the JARs][]. Or for Maven with non-Android, add to your `pom.xml`:
5656
<dependency>
5757
<groupId>io.grpc</groupId>
5858
<artifactId>grpc-netty-shaded</artifactId>
59-
<version>1.74.0</version>
59+
<version>1.75.0</version>
6060
<scope>runtime</scope>
6161
</dependency>
6262
<dependency>
6363
<groupId>io.grpc</groupId>
6464
<artifactId>grpc-protobuf</artifactId>
65-
<version>1.74.0</version>
65+
<version>1.75.0</version>
6666
</dependency>
6767
<dependency>
6868
<groupId>io.grpc</groupId>
6969
<artifactId>grpc-stub</artifactId>
70-
<version>1.74.0</version>
70+
<version>1.75.0</version>
7171
</dependency>
7272
<dependency> <!-- necessary for Java 9+ -->
7373
<groupId>org.apache.tomcat</groupId>
@@ -79,18 +79,18 @@ Download [the JARs][]. Or for Maven with non-Android, add to your `pom.xml`:
7979

8080
Or for Gradle with non-Android, add to your dependencies:
8181
```gradle
82-
runtimeOnly 'io.grpc:grpc-netty-shaded:1.74.0'
83-
implementation 'io.grpc:grpc-protobuf:1.74.0'
84-
implementation 'io.grpc:grpc-stub:1.74.0'
82+
runtimeOnly 'io.grpc:grpc-netty-shaded:1.75.0'
83+
implementation 'io.grpc:grpc-protobuf:1.75.0'
84+
implementation 'io.grpc:grpc-stub:1.75.0'
8585
compileOnly 'org.apache.tomcat:annotations-api:6.0.53' // necessary for Java 9+
8686
```
8787

8888
For Android client, use `grpc-okhttp` instead of `grpc-netty-shaded` and
8989
`grpc-protobuf-lite` instead of `grpc-protobuf`:
9090
```gradle
91-
implementation 'io.grpc:grpc-okhttp:1.74.0'
92-
implementation 'io.grpc:grpc-protobuf-lite:1.74.0'
93-
implementation 'io.grpc:grpc-stub:1.74.0'
91+
implementation 'io.grpc:grpc-okhttp:1.75.0'
92+
implementation 'io.grpc:grpc-protobuf-lite:1.75.0'
93+
implementation 'io.grpc:grpc-stub:1.75.0'
9494
compileOnly 'org.apache.tomcat:annotations-api:6.0.53' // necessary for Java 9+
9595
```
9696

@@ -99,7 +99,7 @@ For [Bazel](https://bazel.build), you can either
9999
(with the GAVs from above), or use `@io_grpc_grpc_java//api` et al (see below).
100100

101101
[the JARs]:
102-
https://search.maven.org/search?q=g:io.grpc%20AND%20v:1.74.0
102+
https://search.maven.org/search?q=g:io.grpc%20AND%20v:1.75.0
103103

104104
Development snapshots are available in [Sonatypes's snapshot
105105
repository](https://central.sonatype.com/repository/maven-snapshots/).
@@ -131,7 +131,7 @@ For protobuf-based codegen integrated with the Maven build system, you can use
131131
<configuration>
132132
<protocArtifact>com.google.protobuf:protoc:3.25.5:exe:${os.detected.classifier}</protocArtifact>
133133
<pluginId>grpc-java</pluginId>
134-
<pluginArtifact>io.grpc:protoc-gen-grpc-java:1.74.0:exe:${os.detected.classifier}</pluginArtifact>
134+
<pluginArtifact>io.grpc:protoc-gen-grpc-java:1.75.0:exe:${os.detected.classifier}</pluginArtifact>
135135
</configuration>
136136
<executions>
137137
<execution>
@@ -161,7 +161,7 @@ protobuf {
161161
}
162162
plugins {
163163
grpc {
164-
artifact = 'io.grpc:protoc-gen-grpc-java:1.74.0'
164+
artifact = 'io.grpc:protoc-gen-grpc-java:1.75.0'
165165
}
166166
}
167167
generateProtoTasks {
@@ -194,7 +194,7 @@ protobuf {
194194
}
195195
plugins {
196196
grpc {
197-
artifact = 'io.grpc:protoc-gen-grpc-java:1.74.0'
197+
artifact = 'io.grpc:protoc-gen-grpc-java:1.75.0'
198198
}
199199
}
200200
generateProtoTasks {

binder/src/androidTest/java/io/grpc/binder/internal/BinderClientTransportTest.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public final class BinderClientTransportTest {
100100
.build();
101101

102102
AndroidComponentAddress serverAddress;
103-
BinderTransport.BinderClientTransport transport;
103+
BinderClientTransport transport;
104104
BlockingSecurityPolicy blockingSecurityPolicy = new BlockingSecurityPolicy();
105105

106106
private final ObjectPool<ScheduledExecutorService> executorServicePool =
@@ -178,7 +178,7 @@ public BinderClientTransportBuilder setPreAuthorizeServer(boolean preAuthorizeSe
178178
return this;
179179
}
180180

181-
public BinderTransport.BinderClientTransport build() {
181+
public BinderClientTransport build() {
182182
return factoryBuilder
183183
.buildClientTransportFactory()
184184
.newClientTransport(serverAddress, new ClientTransportOptions(), null);
@@ -502,8 +502,7 @@ public void testAsyncSecurityPolicyCancelledUponExternalTermination() throws Exc
502502
}
503503

504504
private static void startAndAwaitReady(
505-
BinderTransport.BinderClientTransport transport, TestTransportListener transportListener)
506-
throws Exception {
505+
BinderClientTransport transport, TestTransportListener transportListener) throws Exception {
507506
transport.start(transportListener).run();
508507
transportListener.awaitReady();
509508
}

binder/src/androidTest/java/io/grpc/binder/internal/BinderTransportTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,7 @@ protected ManagedClientTransport newClientTransport(InternalServer server) {
106106
options.setEagAttributes(eagAttrs());
107107
options.setChannelLogger(transportLogger());
108108

109-
return new BinderTransport.BinderClientTransport(
110-
builder.buildClientTransportFactory(), addr, options);
109+
return new BinderClientTransport(builder.buildClientTransportFactory(), addr, options);
111110
}
112111

113112
@Test

binder/src/main/java/io/grpc/binder/internal/ActiveTransportTracker.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
import io.grpc.internal.ServerTransportListener;
1212

1313
/**
14-
* Tracks which {@link BinderTransport.BinderServerTransport} are currently active and allows
15-
* invoking a {@link Runnable} only once all transports are terminated.
14+
* Tracks which {@link BinderServerTransport} are currently active and allows invoking a {@link
15+
* Runnable} only once all transports are terminated.
1616
*/
1717
final class ActiveTransportTracker implements ServerListener {
1818
private final ServerListener delegate;

0 commit comments

Comments
 (0)