Skip to content

Commit b97d312

Browse files
authored
Merge branch 'eclipse-vertx:master' into migrate/provider-class-usage
2 parents 48daae7 + 1b8a5bd commit b97d312

File tree

610 files changed

+22557
-30356
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

610 files changed

+22557
-30356
lines changed

.github/workflows/ci-4.x.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
jdk: 8
1818
profile: '-PtestDomainSockets'
1919
- os: ubuntu-latest
20-
jdk: 17
20+
jdk: 21
2121
profile: ''
2222
- os: windows-latest
2323
jdk: 8

.github/workflows/ci-5.x.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
jdk: 11
2424
profile: '-PtestDomainSockets'
2525
- os: ubuntu-latest
26-
jdk: 17
26+
jdk: 21
2727
profile: ''
2828
- os: windows-latest
2929
jdk: 11

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@ Runs the tests
2323
> mvn test
2424
```
2525

26+
Tests can be run with specified HTTP port and/or HTTPS port.
27+
28+
```
29+
> mvn test -Dvertx.httpPort=8888 -Dvertx.httpsPort=4044
30+
```
31+
2632
Vert.x supports native transport on BSD and Linux, to run the tests with native transport
2733

2834
```

pom.xml

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@
195195
<dependency>
196196
<groupId>com.aayushatharva.brotli4j</groupId>
197197
<artifactId>brotli4j</artifactId>
198-
<version>1.8.0</version>
198+
<version>1.12.0</version>
199199
<scope>test</scope>
200200
</dependency>
201201

@@ -416,7 +416,7 @@
416416
<plugin>
417417
<groupId>org.apache.maven.plugins</groupId>
418418
<artifactId>maven-failsafe-plugin</artifactId>
419-
<version>2.19.1</version>
419+
<version>3.2.5</version>
420420
<executions>
421421
<execution>
422422
<id>ssl-engine:default</id>
@@ -479,6 +479,10 @@
479479
<includes>
480480
<include>io/vertx/it/SLF4JLogDelegateTest.java</include>
481481
</includes>
482+
<systemProperties>
483+
<org.slf4j.simpleLogger.logFile>System.out</org.slf4j.simpleLogger.logFile>
484+
<org.slf4j.simpleLogger.cacheOutputStream>false</org.slf4j.simpleLogger.cacheOutputStream>
485+
</systemProperties>
482486
</configuration>
483487
</execution>
484488
<execution>
@@ -567,6 +571,29 @@
567571
</classpathDependencyExcludes>
568572
</configuration>
569573
</execution>
574+
<execution>
575+
<id>no-recycler-pool-jackson</id>
576+
<goals>
577+
<goal>integration-test</goal>
578+
<goal>verify</goal>
579+
</goals>
580+
<configuration>
581+
<includes>
582+
<include>io/vertx/it/NoRecyclerPoolJacksonTest.java</include>
583+
</includes>
584+
<additionalClasspathDependencies>
585+
<additionalClasspathDependency>
586+
<groupId>com.fasterxml.jackson.core</groupId>
587+
<artifactId>jackson-core</artifactId>
588+
<version>2.15.1</version>
589+
</additionalClasspathDependency>
590+
</additionalClasspathDependencies>
591+
<classpathDependencyExcludes>
592+
<classpathDependencyExclude>com.fasterxml.jackson.core:jackson-core</classpathDependencyExclude>
593+
<classpathDependencyExclude>com.fasterxml.jackson.core:jackson-databind</classpathDependencyExclude>
594+
</classpathDependencyExcludes>
595+
</configuration>
596+
</execution>
570597
<execution>
571598
<id>no-jackson-databind</id>
572599
<goals>

src/main/asciidoc/buffers.adoc

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,12 @@ Create a buffer from a String: The String will be encoded using the specified en
3535
{@link examples.BufferExamples#example3}
3636
----
3737

38-
include::override/buffer_from_bytes.adoc[]
38+
Create a buffer from a byte[]
39+
40+
[source,java]
41+
----
42+
{@link examples.BufferExamples#example4}
43+
----
3944

4045
Create a buffer with an initial size hint. If you know your buffer will have a certain amount of data written to it
4146
you can create the buffer and specify this size. This makes the buffer initially allocate that much memory and is

src/main/asciidoc/cli-for-java.adoc

Lines changed: 0 additions & 81 deletions
This file was deleted.

src/main/asciidoc/cli.adoc

Lines changed: 0 additions & 180 deletions
This file was deleted.

src/main/asciidoc/datagrams.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ and NetClient (see above).
2626

2727
=== Creating a DatagramSocket
2828

29-
To use UDP you first need t create a {@link io.vertx.core.datagram.DatagramSocket}. It does not matter here if you only want to send data or send
29+
To use UDP you first need to create a {@link io.vertx.core.datagram.DatagramSocket}. It does not matter here if you only want to send data or send
3030
and receive.
3131

3232
[source,$lang]
@@ -54,7 +54,7 @@ Sending packets is as easy as shown here:
5454
=== Receiving Datagram packets
5555

5656
If you want to receive packets you need to bind the {@link io.vertx.core.datagram.DatagramSocket} by calling
57-
`listen(...)}` on it.
57+
`listen(...)` on it.
5858

5959
This way you will be able to receive {@link io.vertx.core.datagram.DatagramPacket}s that were sent to the address and port on
6060
which the {@link io.vertx.core.datagram.DatagramSocket} listens.

0 commit comments

Comments
 (0)