Skip to content

Commit f4a3961

Browse files
committed
Merge branch 'master' into feature/FELIX-6720-Enable-virtual-thread-support-in-Jetty12
# Conflicts: # http/README.md
2 parents 24a9027 + d3994ac commit f4a3961

55 files changed

Lines changed: 792 additions & 130 deletions

File tree

Some content is hidden

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

.github/workflows/maven.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,12 @@ name: Github CI Build
33
on:
44
push:
55
branches: [ "master" ]
6+
paths:
7+
- 'scr/**'
68
pull_request:
79
branches: [ "master" ]
10+
paths:
11+
- 'scr/**'
812

913
permissions: {}
1014

configurator/src/main/java/org/apache/felix/configurator/impl/ServicesListener.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ public void start() {
171171
+ Constants.OBJECTCLASS + "=" + serviceName + ")");
172172
} catch (final InvalidSyntaxException ise) {
173173
// this should really never happen
174-
throw new RuntimeException("Unexpected exception occured.", ise);
174+
throw new RuntimeException("Unexpected exception occurred.", ise);
175175
}
176176
this.retainService();
177177
}

dependencymanager/org.apache.felix.dependencymanager.itest/src/org/apache/felix/dm/itest/api/AspectRaceTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public void testConcurrentAspects() {
9292
}
9393

9494
if (super.errorsLogged()) {
95-
throw new IllegalStateException("Race test interrupted (some error occured, see previous logs)");
95+
throw new IllegalStateException("Race test interrupted (some error occurred, see previous logs)");
9696
}
9797
}
9898
}

dependencymanager/org.apache.felix.dependencymanager.itest/src/org/apache/felix/dm/itest/api/ServiceRaceTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ public void run() {
227227
m_threadPool.awaitQuiescence(5000, TimeUnit.MILLISECONDS);
228228

229229
if (super.errorsLogged()) {
230-
throw new IllegalStateException("Race test interrupted (some error occured, see previous logs)");
230+
throw new IllegalStateException("Race test interrupted (some error occurred, see previous logs)");
231231
}
232232

233233
debug("finished one test loop");

dependencymanager/org.apache.felix.dependencymanager.itest/src/org/apache/felix/dm/itest/api/ServiceRaceWithOrderedUnbindTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ void doTest(int loop) throws Throwable {
206206
}
207207

208208
if (super.errorsLogged()) {
209-
throw new IllegalStateException("Race test interrupted (some error occured, see previous logs)");
209+
throw new IllegalStateException("Race test interrupted (some error occurred, see previous logs)");
210210
}
211211

212212
debug("finished one test loop");

fileinstall/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
<dependency>
6363
<groupId>org.apache.felix</groupId>
6464
<artifactId>org.apache.felix.utils</artifactId>
65-
<version>1.11.2</version>
65+
<version>1.11.8</version>
6666
</dependency>
6767
<dependency>
6868
<groupId>org.easymock</groupId>

gogo/jline/src/test/java/org/apache/felix/gogo/jline/telnet/ConnectionListener.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,39 +64,39 @@
6464
public interface ConnectionListener {
6565

6666
/**
67-
* Called when a CONNECTION_IDLE event occured.
67+
* Called when a CONNECTION_IDLE event occurred.
6868
*
6969
* @param ce ConnectionEvent instance.
7070
* @see ConnectionEvent.Type#CONNECTION_IDLE
7171
*/
7272
void connectionIdle(ConnectionEvent ce);
7373

7474
/**
75-
* Called when a CONNECTION_TIMEDOUT event occured.
75+
* Called when a CONNECTION_TIMEDOUT event occurred.
7676
*
7777
* @param ce ConnectionEvent instance.
7878
* @see ConnectionEvent.Type#CONNECTION_TIMEDOUT
7979
*/
8080
void connectionTimedOut(ConnectionEvent ce);
8181

8282
/**
83-
* Called when a CONNECTION_LOGOUTREQUEST occured.
83+
* Called when a CONNECTION_LOGOUTREQUEST occurred.
8484
*
8585
* @param ce ConnectionEvent instance.
8686
* @see ConnectionEvent.Type#CONNECTION_LOGOUTREQUEST
8787
*/
8888
void connectionLogoutRequest(ConnectionEvent ce);
8989

9090
/**
91-
* Called when a CONNECTION_BREAK event occured.
91+
* Called when a CONNECTION_BREAK event occurred.
9292
*
9393
* @param ce ConnectionEvent instance.
9494
* @see ConnectionEvent.Type#CONNECTION_BREAK
9595
*/
9696
void connectionSentBreak(ConnectionEvent ce);
9797

9898
/**
99-
* Called when a CONNECTION_TERMINAL_GEOMETRY_CHANGED event occured.
99+
* Called when a CONNECTION_TERMINAL_GEOMETRY_CHANGED event occurred.
100100
*
101101
* @param ce ConnectionEvent instance.
102102
* @see ConnectionEvent.Type#CONNECTION_TERMINAL_GEOMETRY_CHANGED

healthcheck/generalchecks/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@
224224
<dependency>
225225
<groupId>org.codehaus.groovy</groupId>
226226
<artifactId>groovy-all</artifactId>
227-
<version>2.4.13</version>
227+
<version>2.4.21</version>
228228
<scope>test</scope>
229229
</dependency>
230230
<dependency>

http/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ properties can be used (some legacy property names still exist but are not docum
440440
| `org.apache.felix.jetty.alpn.defaultProtocol` | The default protocol when negotiation fails. Default is http/1.1. |
441441
| `org.apache.felix.jakarta.websocket.enable` | Enables Jakarta websocket support. Default is false. |
442442
| `org.apache.felix.jetty.websocket.enable` | Enables Jetty websocket support. Default is false. |
443-
| `org.apache.felix.http.jetty.virtualthreads.enable` | Enables using virtual threads in Jetty 12 (JDK 21 required). Default is false. |
443+
| `org.apache.felix.http.jetty.virtualthreads.enable` | Enables using virtual threads in Jetty 12 (JDK 21 required). Default is false. |
444444
### Multiple Servers
445445
446446
It is possible to configure several Http Services, each running on a different port. The first service can be configured as outlined above using the service PID for `"org.apache.felix.http"`. Additional servers can be configured through OSGi factory configurations using `"org.apache.felix.http"` as the factory PID. The properties for the configuration are outlined as above.

http/base/src/main/java/org/apache/felix/http/base/internal/handler/HttpServiceServletHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public HttpServiceServletHandler(final ExtServletContext context,
3838
final ServletInfo servletInfo,
3939
final javax.servlet.Servlet servlet)
4040
{
41-
this(HttpServiceFactory.HTTP_SERVICE_CONTEXT_SERVICE_ID, context, servletInfo, ServletWrapper.getRegisteredServlet(servlet));
41+
this(HttpServiceFactory.HTTP_SERVICE_CONTEXT_SERVICE_ID, context, servletInfo, new ServletWrapper(servlet));
4242
}
4343

4444
/**

0 commit comments

Comments
 (0)