[Git][java-team/jackson-jaxrs-providers][master] 4 commits: New upstream version 2.23.0

Emmanuel Bourg (@ebourg) gitlab at salsa.debian.org
Mon Nov 9 17:12:47 GMT 2026



Emmanuel Bourg pushed to branch master at Debian Java Maintainers / jackson-jaxrs-providers


Commits:
fda694e0 by Emmanuel Bourg at 2026-11-09T17:07:44+01:00
New upstream version 2.23.0
- - - - -
c10ccfd6 by Emmanuel Bourg at 2026-11-09T17:07:44+01:00
Update upstream source from tag 'upstream/2.23.0'

Update to upstream version '2.23.0'
with Debian dir dbf9e19b01b5bede6269f69b2820a23665ec4242
- - - - -
e018b050 by Emmanuel Bourg at 2026-11-09T17:09:09+01:00
Tightened the dependencies on the other jackson packages

- - - - -
9f40eb7b by Emmanuel Bourg at 2026-11-09T17:27:28+01:00
Upload to unstable

- - - - -


19 changed files:

- .github/workflows/main.yml
- base/pom.xml
- cbor/pom.xml
- cbor/src/test/java/com/fasterxml/jackson/jaxrs/cbor/dw/SimpleEndpointTestBase.java
- datatypes/pom.xml
- debian/changelog
- debian/control
- json/pom.xml
- json/src/test/java/com/fasterxml/jackson/jaxrs/json/dw/AnnotationTestBase.java
- json/src/test/java/com/fasterxml/jackson/jaxrs/json/dw/SimpleEndpointTestBase.java
- json/src/test/java/com/fasterxml/jackson/jaxrs/json/dw/WriteModificationsTestBase.java
- pom.xml
- release-notes/VERSION-2.x
- smile/pom.xml
- smile/src/test/java/com/fasterxml/jackson/jaxrs/smile/dw/SimpleEndpointTestBase.java
- xml/pom.xml
- xml/src/test/java/com/fasterxml/jackson/jaxrs/xml/dw/SimpleEndpointTestBase.java
- yaml/pom.xml
- yaml/src/test/java/com/fasterxml/jackson/jaxrs/yaml/dw/SimpleEndpointTestBase.java


Changes:

=====================================
.github/workflows/main.yml
=====================================
@@ -24,14 +24,14 @@ jobs:
     steps:
     - uses: actions/checkout at 08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
     - name: Set up JDK
-      uses: actions/setup-java at dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
+      uses: actions/setup-java at de7274f081f381c8f8158605e0321c36c376e2e6 # v6.0.1
       with:
         distribution: 'temurin'
         java-version: ${{ matrix.java_version }}
         cache: 'maven'
         server-id: central-snapshots
-        server-username: CI_DEPLOY_USERNAME
-        server-password: CI_DEPLOY_PASSWORD
+        server-username-env-var: CI_DEPLOY_USERNAME
+        server-password-env-var: CI_DEPLOY_PASSWORD
         # See https://github.com/actions/setup-java/blob/v2/docs/advanced-usage.md#Publishing-using-Apache-Maven
         # gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} # Value of the GPG private key to import
         # gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase


=====================================
base/pom.xml
=====================================
@@ -9,10 +9,10 @@
   <parent>
     <groupId>com.fasterxml.jackson.jaxrs</groupId>
     <artifactId>jackson-jaxrs-providers</artifactId>
-    <version>2.22.4</version>
+    <version>2.23.0</version>
   </parent>
   <artifactId>jackson-jaxrs-base</artifactId>
-  <version>2.22.4</version>
+  <version>2.23.0</version>
   <name>Jackson-JAXRS: base</name>
   <packaging>bundle</packaging>
   <description>Pile of code that is shared by all Jackson-based JAX-RS


=====================================
cbor/pom.xml
=====================================
@@ -9,10 +9,10 @@
   <parent>
     <groupId>com.fasterxml.jackson.jaxrs</groupId>
     <artifactId>jackson-jaxrs-providers</artifactId>
-    <version>2.22.4</version>
+    <version>2.23.0</version>
   </parent>
   <artifactId>jackson-jaxrs-cbor-provider</artifactId>
-  <version>2.22.4</version>
+  <version>2.23.0</version>
   <name>Jackson-JAXRS: CBOR</name>
   <packaging>bundle</packaging>
   <description>Functionality to handle CBOR encoded input/output for JAX-RS implementations (like Jersey and RESTeasy) using standard Jackson data binding.


=====================================
cbor/src/test/java/com/fasterxml/jackson/jaxrs/cbor/dw/SimpleEndpointTestBase.java
=====================================
@@ -83,7 +83,7 @@ public abstract class SimpleEndpointTestBase extends ResourceTestBase
         Point p;
 
         try {
-            InputStream in = new URL("http://localhost:"+TEST_PORT+"/point").openStream();
+            InputStream in = URI.create("http://localhost:"+TEST_PORT+"/point").toURL().openStream();
             p = mapper.readValue(in, Point.class);
             in.close();
         } finally {
@@ -103,7 +103,7 @@ public abstract class SimpleEndpointTestBase extends ResourceTestBase
         Point p;
 
         try {
-            final URL url = new URL("http://localhost:" + TEST_PORT + "/point/custom");
+            final URL url = URI.create("http://localhost:" + TEST_PORT + "/point/custom").toURL();
             HttpURLConnection conn = (HttpURLConnection) url.openConnection();
             conn.setRequestProperty("Accept", "application/vnd.com.example.v1+cbor");
             InputStream in = conn.getInputStream();
@@ -125,7 +125,7 @@ public abstract class SimpleEndpointTestBase extends ResourceTestBase
     {
         Server server = startServer(TEST_PORT, SimpleRawApp.class);
         try {
-            InputStream in = new URL("http://localhost:"+TEST_PORT+"/raw/bytes").openStream();
+            InputStream in = URI.create("http://localhost:"+TEST_PORT+"/raw/bytes").toURL().openStream();
             assertArrayEquals(UNTOUCHABLE_RESPONSE, readAll(in));
         } finally {
             server.stop();


=====================================
datatypes/pom.xml
=====================================
@@ -9,12 +9,12 @@
   <parent>
     <groupId>com.fasterxml.jackson.jaxrs</groupId>
     <artifactId>jackson-jaxrs-providers</artifactId>
-    <version>2.22.4</version>
+    <version>2.23.0</version>
   </parent>
   <!-- note: different group id, it being datatype -->
   <groupId>com.fasterxml.jackson.datatype</groupId>
   <artifactId>jackson-datatype-jaxrs</artifactId>
-  <version>2.22.4</version>
+  <version>2.23.0</version>
   <name>Jackson-JAXRS: Datatypes</name>
   <packaging>bundle</packaging>
   <description>Functionality for reading/writing core JAX-RS helper types


=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+jackson-jaxrs-providers (2.23.0-1) unstable; urgency=medium
+
+  * Team upload.
+  * New upstream release
+    - Tightened the dependencies on the other jackson packages
+
+ -- Emmanuel Bourg <ebourg at apache.org>  Mon, 09 Nov 2026 17:27:28 +0100
+
 jackson-jaxrs-providers (2.22.4-1) unstable; urgency=medium
 
   * Team upload.


=====================================
debian/control
=====================================
@@ -6,12 +6,12 @@ Build-Depends:
  debhelper-compat (= 13),
  default-jdk,
  libbuild-helper-maven-plugin-java,
- libjackson2-core-java (>= 2.22.4),
- libjackson2-databind-java (>= 2.22.4),
- libjackson2-dataformat-cbor-java (>= 2.22.4),
- libjackson2-dataformat-smile-java (>= 2.22.4),
- libjackson2-dataformat-xml-java (>= 2.22.4),
- libjackson2-dataformat-yaml-java (>= 2.22.4),
+ libjackson2-core-java (>= 2.23.0),
+ libjackson2-databind-java (>= 2.23.0),
+ libjackson2-dataformat-cbor-java (>= 2.23.0),
+ libjackson2-dataformat-smile-java (>= 2.23.0),
+ libjackson2-dataformat-xml-java (>= 2.23.0),
+ libjackson2-dataformat-yaml-java (>= 2.23.0),
  libjackson2-module-jaxb-annotations-java (>= 2.4),
  libjaxrs-api-java,
  libmaven-bundle-plugin-java,


=====================================
json/pom.xml
=====================================
@@ -9,10 +9,10 @@
   <parent>
     <groupId>com.fasterxml.jackson.jaxrs</groupId>
     <artifactId>jackson-jaxrs-providers</artifactId>
-    <version>2.22.4</version>
+    <version>2.23.0</version>
   </parent>
   <artifactId>jackson-jaxrs-json-provider</artifactId>
-  <version>2.22.4</version>
+  <version>2.23.0</version>
   <name>Jackson-JAXRS: JSON</name>
   <packaging>bundle</packaging>
   <description>Functionality to handle JSON input/output for JAX-RS implementations (like Jersey and RESTeasy) using standard Jackson data binding.


=====================================
json/src/test/java/com/fasterxml/jackson/jaxrs/json/dw/AnnotationTestBase.java
=====================================
@@ -77,7 +77,7 @@ public abstract class AnnotationTestBase extends ResourceTestBase
     {
         // We need a filter to inject modifier that enables
         Server server = startServer(TEST_PORT, ResourceApp.class, null);
-        final URL url = new URL("http://localhost:"+TEST_PORT+"/annotated/view");
+        final URL url = URI.create("http://localhost:"+TEST_PORT+"/annotated/view").toURL();
         HttpURLConnection conn = (HttpURLConnection) url.openConnection();
         conn.setRequestMethod("POST");
         conn.setRequestProperty("Content-Type", MediaType.APPLICATION_JSON);


=====================================
json/src/test/java/com/fasterxml/jackson/jaxrs/json/dw/SimpleEndpointTestBase.java
=====================================
@@ -390,7 +390,7 @@ public abstract class SimpleEndpointTestBase extends ResourceTestBase
         Point p;
 
         try {
-            InputStream in = new URL("http://localhost:"+TEST_PORT+"/point/javascript").openStream();
+            InputStream in = URI.create("http://localhost:"+TEST_PORT+"/point/javascript").toURL().openStream();
             p = mapper.readValue(in, Point.class);
             in.close();
         } finally {
@@ -407,9 +407,9 @@ public abstract class SimpleEndpointTestBase extends ResourceTestBase
     {
         final ObjectMapper mapper = new ObjectMapper();
         Server server = startServer(TEST_PORT, SimpleResourceApp.class);
-        URL urlJS = new URL("http://localhost:"+TEST_PORT+"/point/javascript");
-        URL urlJsonX = new URL("http://localhost:"+TEST_PORT+"/point/jsonx");
-        URL urlCustom = new URL("http://localhost:"+TEST_PORT+"/point/custom");
+        URL urlJS = URI.create("http://localhost:"+TEST_PORT+"/point/javascript").toURL();
+        URL urlJsonX = URI.create("http://localhost:"+TEST_PORT+"/point/jsonx").toURL();
+        URL urlCustom = URI.create("http://localhost:"+TEST_PORT+"/point/custom").toURL();
 
         try {
             HttpURLConnection conn = (HttpURLConnection) urlJS.openConnection();
@@ -488,7 +488,7 @@ public abstract class SimpleEndpointTestBase extends ResourceTestBase
         Point p;
 
         try {
-            URL url = new URL("http://localhost:"+TEST_PORT+"/point/max");
+            URL url = URI.create("http://localhost:"+TEST_PORT+"/point/max").toURL();
             HttpURLConnection conn = (HttpURLConnection) url.openConnection();
             conn.setRequestProperty("Accept", MediaType.APPLICATION_JSON);
             conn.setRequestProperty("Content-Type", MediaType.APPLICATION_JSON);
@@ -519,7 +519,7 @@ public abstract class SimpleEndpointTestBase extends ResourceTestBase
         Point p;
 
         try {
-            URL url = new URL("http://localhost:"+TEST_PORT+"/point/echo");
+            URL url = URI.create("http://localhost:"+TEST_PORT+"/point/echo").toURL();
 
             // First, content with no trailing stuff
             HttpURLConnection conn = (HttpURLConnection) url.openConnection();
@@ -565,10 +565,10 @@ public abstract class SimpleEndpointTestBase extends ResourceTestBase
     {
         Server server = startServer(TEST_PORT, SimpleRawApp.class);
         try {
-            InputStream in = new URL("http://localhost:"+TEST_PORT+"/raw/string").openStream();
+            InputStream in = URI.create("http://localhost:"+TEST_PORT+"/raw/string").toURL().openStream();
             assertEquals(UNTOUCHABLE_RESPONSE, readUTF8(in));
 
-            in = new URL("http://localhost:"+TEST_PORT+"/raw/bytes").openStream();
+            in = URI.create("http://localhost:"+TEST_PORT+"/raw/bytes").toURL().openStream();
             assertArrayEquals(UNTOUCHABLE_RESPONSE.getBytes("UTF-8"), readAll(in));
         } finally {
             server.stop();
@@ -588,7 +588,7 @@ public abstract class SimpleEndpointTestBase extends ResourceTestBase
             // Let's try with 4.5 gigs, just to be sure (should run OOME if buffering; or be
             // super slow if disk-backed buffering)
             final long size = 4500 * 1024 * 1024;
-            InputStream in = new URL("http://localhost:"+TEST_PORT+"/fluff/bytes?size="+size).openStream();
+            InputStream in = URI.create("http://localhost:"+TEST_PORT+"/fluff/bytes?size="+size).toURL().openStream();
             byte[] stuff = new byte[64000];
             long total = 0L;
             int count;
@@ -623,7 +623,7 @@ public abstract class SimpleEndpointTestBase extends ResourceTestBase
         ExtendedPoint p;
 
         try {
-            InputStream in = new URL("http://localhost:"+TEST_PORT+"/dynamic/single").openStream();
+            InputStream in = URI.create("http://localhost:"+TEST_PORT+"/dynamic/single").toURL().openStream();
             p = mapper.readValue(in, ExtendedPoint.class);
             in.close();
         } finally {
@@ -645,7 +645,7 @@ public abstract class SimpleEndpointTestBase extends ResourceTestBase
         List<ExtendedPoint> l;
 
         try {
-            InputStream in = new URL("http://localhost:"+TEST_PORT+"/dynamic/list").openStream();
+            InputStream in = URI.create("http://localhost:"+TEST_PORT+"/dynamic/list").toURL().openStream();
             l = mapper.readValue(in, new TypeReference<List<ExtendedPoint>>() { });
             in.close();
         } finally {


=====================================
json/src/test/java/com/fasterxml/jackson/jaxrs/json/dw/WriteModificationsTestBase.java
=====================================
@@ -138,7 +138,7 @@ public abstract class WriteModificationsTestBase extends ResourceTestBase
         // We need a filter to inject modifier that enables
         Server server = startServer(TEST_PORT, SimpleResourceApp.class,
                 InjectingFilter.class);
-        final URL url = new URL("http://localhost:"+TEST_PORT+"/point");
+        final URL url = URI.create("http://localhost:"+TEST_PORT+"/point").toURL();
 
         try {
             // First, without indent:
@@ -168,13 +168,13 @@ public abstract class WriteModificationsTestBase extends ResourceTestBase
 
         try {
             // First, without indent:
-            String json = readUTF8(new URL(URL_BASE).openStream());
+            String json = readUTF8(URI.create(URL_BASE).toURL().openStream());
             boolean quote1 = json.equals(aposToQuotes("{'x':1,'y':2}"));
             boolean quote2 = json.equals(aposToQuotes("{'y':2,'x':1}"));
             assertTrue(quote1 || quote2);
             
             // and then with indentation
-            json = readUTF8(new URL(URL_BASE + "?indent=true").openStream());
+            json = readUTF8(URI.create(URL_BASE + "?indent=true").toURL().openStream());
             boolean quote3 = json.equals(aposToQuotes("{\n  'x' : 1,\n  'y' : 2\n}"));
             boolean quote4 = json.equals(aposToQuotes("{\n  'y' : 2,\n  'x' : 1\n}"));
             assertTrue(quote3 || quote4);


=====================================
pom.xml
=====================================
@@ -4,12 +4,12 @@
   <parent>
     <groupId>com.fasterxml.jackson</groupId>
     <artifactId>jackson-base</artifactId>
-    <version>2.22.4</version>
+    <version>2.23.0</version>
   </parent>
   <groupId>com.fasterxml.jackson.jaxrs</groupId>
   <artifactId>jackson-jaxrs-providers</artifactId>
   <name>Jackson: JAX-RS (parent)</name>
-  <version>2.22.4</version>
+  <version>2.23.0</version>
   <packaging>pom</packaging>
   <description>Parent for Jackson JAX-RS providers
   </description>
@@ -37,7 +37,7 @@
     <connection>scm:git:git at github.com:FasterXML/jackson-jaxrs-providers.git</connection>
     <developerConnection>scm:git:git at github.com:FasterXML/jackson-jaxrs-providers.git</developerConnection>
     <url>https://github.com/FasterXML/jackson-jaxrs-providers</url>
-    <tag>jackson-jaxrs-providers-2.22.4</tag>
+    <tag>jackson-jaxrs-providers-2.23.0</tag>
   </scm>
   <properties>
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> 


=====================================
release-notes/VERSION-2.x
=====================================
@@ -10,6 +10,10 @@ Sub-modules:
 === Releases ===
 ------------------------------------------------------------------------
 
+2.23.0 (07-Nov-2026)
+
+No changes since 2.22
+
 2.22.4 (17-Oct-2026)
 2.22.3 (21-Sep-2026)
 2.22.2 (16-Aug-2026)


=====================================
smile/pom.xml
=====================================
@@ -9,10 +9,10 @@
   <parent>
     <groupId>com.fasterxml.jackson.jaxrs</groupId>
     <artifactId>jackson-jaxrs-providers</artifactId>
-    <version>2.22.4</version>
+    <version>2.23.0</version>
   </parent>
   <artifactId>jackson-jaxrs-smile-provider</artifactId>
-  <version>2.22.4</version>
+  <version>2.23.0</version>
   <name>Jackson-JAXRS: Smile</name>
   <packaging>bundle</packaging>
   <description>Functionality to handle Smile (binary JSON) input/output for JAX-RS implementations (like Jersey and RESTeasy) using standard Jackson data binding.


=====================================
smile/src/test/java/com/fasterxml/jackson/jaxrs/smile/dw/SimpleEndpointTestBase.java
=====================================
@@ -80,7 +80,7 @@ public abstract class SimpleEndpointTestBase extends ResourceTestBase
         Point p;
 
         try {
-            InputStream in = new URL("http://localhost:"+TEST_PORT+"/point").openStream();
+            InputStream in = URI.create("http://localhost:"+TEST_PORT+"/point").toURL().openStream();
             p = mapper.readValue(in, Point.class);
             in.close();
         } finally {
@@ -100,7 +100,7 @@ public abstract class SimpleEndpointTestBase extends ResourceTestBase
         Point p;
 
         try {
-            final URL url = new URL("http://localhost:" + TEST_PORT + "/point/custom");
+            final URL url = URI.create("http://localhost:" + TEST_PORT + "/point/custom").toURL();
             HttpURLConnection conn = (HttpURLConnection) url.openConnection();
             conn.setRequestProperty("Accept", "application/vnd.com.example.v1+smile");
             InputStream in = conn.getInputStream();
@@ -122,7 +122,7 @@ public abstract class SimpleEndpointTestBase extends ResourceTestBase
     {
         Server server = startServer(TEST_PORT, SimpleRawApp.class);
         try {
-            InputStream in = new URL("http://localhost:"+TEST_PORT+"/raw/bytes").openStream();
+            InputStream in = URI.create("http://localhost:"+TEST_PORT+"/raw/bytes").toURL().openStream();
             assertArrayEquals(UNTOUCHABLE_RESPONSE, readAll(in));
         } finally {
             server.stop();


=====================================
xml/pom.xml
=====================================
@@ -9,10 +9,10 @@
   <parent>
     <groupId>com.fasterxml.jackson.jaxrs</groupId>
     <artifactId>jackson-jaxrs-providers</artifactId>
-    <version>2.22.4</version>
+    <version>2.23.0</version>
   </parent>
   <artifactId>jackson-jaxrs-xml-provider</artifactId>
-  <version>2.22.4</version>
+  <version>2.23.0</version>
   <name>Jackson-JAXRS: XML</name>
   <packaging>bundle</packaging>
   <description>Functionality to handle XML input/output for JAX-RS implementations (like Jersey and RESTeasy) using standard Jackson data binding.


=====================================
xml/src/test/java/com/fasterxml/jackson/jaxrs/xml/dw/SimpleEndpointTestBase.java
=====================================
@@ -83,7 +83,7 @@ public abstract class SimpleEndpointTestBase extends ResourceTestBase
         String xml = null;
 
         try {
-            InputStream in = new URL("http://localhost:"+TEST_PORT+"/point").openStream();
+            InputStream in = URI.create("http://localhost:"+TEST_PORT+"/point").toURL().openStream();
             byte[] bytes = readAll(in);
             in.close();
             xml = new String(bytes, "UTF-8");
@@ -110,7 +110,7 @@ public abstract class SimpleEndpointTestBase extends ResourceTestBase
         Point p;
 
         try {
-            final URL url = new URL("http://localhost:" + TEST_PORT + "/point/custom");
+            final URL url = URI.create("http://localhost:" + TEST_PORT + "/point/custom").toURL();
             HttpURLConnection conn = (HttpURLConnection) url.openConnection();
             conn.setRequestProperty("Accept", "application/vnd.com.example.v1+xml");
             InputStream in = conn.getInputStream();
@@ -132,7 +132,7 @@ public abstract class SimpleEndpointTestBase extends ResourceTestBase
     {
         Server server = startServer(TEST_PORT, SimpleRawApp.class);
         try {
-            InputStream in = new URL("http://localhost:"+TEST_PORT+"/raw/bytes").openStream();
+            InputStream in = URI.create("http://localhost:"+TEST_PORT+"/raw/bytes").toURL().openStream();
             assertArrayEquals(UNTOUCHABLE_RESPONSE, readAll(in));
         } finally {
             server.stop();


=====================================
yaml/pom.xml
=====================================
@@ -9,10 +9,10 @@
   <parent>
     <groupId>com.fasterxml.jackson.jaxrs</groupId>
     <artifactId>jackson-jaxrs-providers</artifactId>
-    <version>2.22.4</version>
+    <version>2.23.0</version>
   </parent>
   <artifactId>jackson-jaxrs-yaml-provider</artifactId>
-  <version>2.22.4</version>
+  <version>2.23.0</version>
   <name>Jackson-JAXRS: YAML</name>
   <packaging>bundle</packaging>
   <description>Functionality to handle YAML input/output for JAX-RS implementations (like Jersey and RESTeasy)


=====================================
yaml/src/test/java/com/fasterxml/jackson/jaxrs/yaml/dw/SimpleEndpointTestBase.java
=====================================
@@ -21,6 +21,7 @@ import javax.ws.rs.core.MediaType;
 import java.io.IOException;
 import java.io.InputStream;
 import java.net.HttpURLConnection;
+import java.net.URI;
 import java.net.URL;
 
 import static org.junit.jupiter.api.Assertions.*;
@@ -115,7 +116,7 @@ public abstract class SimpleEndpointTestBase extends ResourceTestBase
         String yaml = null;
 
         try {
-            URL url = new URL("http://localhost:" + TEST_PORT + "/point");
+            URL url = URI.create("http://localhost:" + TEST_PORT + "/point").toURL();
             InputStream in = url.openStream();
             byte[] bytes = readAll(in);
             in.close();
@@ -144,7 +145,7 @@ public abstract class SimpleEndpointTestBase extends ResourceTestBase
         Point p;
 
         try {
-            final URL url = new URL("http://localhost:" + TEST_PORT + "/point/custom");
+            final URL url = URI.create("http://localhost:" + TEST_PORT + "/point/custom").toURL();
             HttpURLConnection conn = (HttpURLConnection) url.openConnection();
             conn.setRequestProperty("Accept", "application/vnd.com.example.v1+yaml");
             InputStream in = conn.getInputStream();
@@ -165,7 +166,7 @@ public abstract class SimpleEndpointTestBase extends ResourceTestBase
     public void testMultipleMediaTypes() throws Exception
     {
         Server server = startServer(TEST_PORT, MultiMediaTypeResourceApp.class);
-        final URL url = new URL("http://localhost:" + TEST_PORT + "/point");
+        final URL url = URI.create("http://localhost:" + TEST_PORT + "/point").toURL();
         Point p;
 
         final ObjectMapper yamlMapper = new YAMLMapper();
@@ -264,7 +265,7 @@ public abstract class SimpleEndpointTestBase extends ResourceTestBase
     {
         Server server = startServer(TEST_PORT, SimpleRawApp.class);
         try {
-            InputStream in = new URL("http://localhost:"+TEST_PORT+"/raw/bytes").openStream();
+            InputStream in = URI.create("http://localhost:"+TEST_PORT+"/raw/bytes").toURL().openStream();
             assertArrayEquals(UNTOUCHABLE_RESPONSE, readAll(in));
         } finally {
             server.stop();



View it on GitLab: https://salsa.debian.org/java-team/jackson-jaxrs-providers/-/compare/600547a6d282e596f73f8b8b3c433f64df618adf...9f40eb7b65d6bc033876c2815bbe56d0a0f04b2e

-- 
View it on GitLab: https://salsa.debian.org/java-team/jackson-jaxrs-providers/-/compare/600547a6d282e596f73f8b8b3c433f64df618adf...9f40eb7b65d6bc033876c2815bbe56d0a0f04b2e
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-commits/attachments/20261109/d13b9563/attachment.htm>


More information about the pkg-java-commits mailing list