Skip to content

Commit ec82c7a

Browse files
committed
OSGi resource locator update
Signed-off-by: Maxim Nesen <[email protected]>
1 parent daf4a16 commit ec82c7a

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1639,7 +1639,7 @@
16391639
<dependency>
16401640
<groupId>org.glassfish.hk2</groupId>
16411641
<artifactId>osgi-resource-locator</artifactId>
1642-
<version>1.0.3</version> <!-- JDK 17 needed for 1.0.4 -->
1642+
<version>3.0.0</version> <!-- JDK 17 needed for 1.0.4 -->
16431643
</dependency>
16441644
<dependency>
16451645
<groupId>org.glassfish.main.hk2</groupId>

tests/integration/async-jersey-filter/src/main/java/org/glassfish/jersey/tests/integration/jersey2730/TestExceptionResource.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ public void getUnmappedRuntimeException(@Suspended final AsyncResponse asyncResp
6868
}
6969

7070
/**
71-
* Returns whether a thread that was processing a last request got stuck in {@link ResponseWriter}.
71+
* Returns whether a thread that was processing a last request got stuck in
72+
* org.glassfish.jersey.servlet.internal.ResponseWriter.
7273
* <p/>
7374
* Under normal circumstances, the last processing thread should return back to the servlet container
7475
* and its pool.
@@ -89,7 +90,7 @@ public boolean lastThreadStuckRpc() {
8990
case TIMED_WAITING:
9091
case WAITING:
9192
for (StackTraceElement stackTraceElement : lastProcessingThread.getStackTrace()) {
92-
if ("ResponseWriter".equals(stackTraceElement.getClassName())) {
93+
if (stackTraceElement.getClassName().contains("ResponseWriter")) {
9394
return true;
9495
}
9596
}

0 commit comments

Comments
 (0)