From 5dfcff4cfa59616961bfae797f7e2899175a86f3ef060054135ddd139783aa96 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Mon, 18 Oct 2021 20:42:18 +0000 Subject: [PATCH 1/2] OBS-URL: https://build.opensuse.org/package/show/Java:packages/jetty-minimal?expand=0&rev=41 --- jetty-minimal.spec | 3 +++ jetty-unixsocket.spec | 3 +++ jetty-websocket.spec | 3 +++ 3 files changed, 9 insertions(+) diff --git a/jetty-minimal.spec b/jetty-minimal.spec index 40b44c4..07f4ab9 100644 --- a/jetty-minimal.spec +++ b/jetty-minimal.spec @@ -293,6 +293,9 @@ find . -name "*.class" -exec rm {} \; %pom_disable_module aggregates/jetty-all +%pom_xpath_inject "pom:configuration/pom:instructions" \ +"sun.misc;resolution:=optional,com.sun.nio.file;resolution:=optional,*" + %pom_remove_dep "com.sun.net.httpserver:http" jetty-http-spi %pom_change_dep -r org.mortbay.jasper:apache-jsp org.apache.tomcat:tomcat-jasper diff --git a/jetty-unixsocket.spec b/jetty-unixsocket.spec index 29aab50..15a793e 100644 --- a/jetty-unixsocket.spec +++ b/jetty-unixsocket.spec @@ -82,6 +82,9 @@ find . -name "*.class" -exec rm {} \; %pom_disable_module aggregates/jetty-all +%pom_xpath_inject "pom:configuration/pom:instructions" \ +"sun.misc;resolution:=optional,com.sun.nio.file;resolution:=optional,*" + %pom_remove_dep "com.sun.net.httpserver:http" jetty-http-spi %pom_change_dep -r org.mortbay.jasper:apache-jsp org.apache.tomcat:tomcat-jasper diff --git a/jetty-websocket.spec b/jetty-websocket.spec index aa98c01..5c48288 100644 --- a/jetty-websocket.spec +++ b/jetty-websocket.spec @@ -135,6 +135,9 @@ find . -name "*.class" -exec rm {} \; %pom_disable_module aggregates/jetty-all +%pom_xpath_inject "pom:configuration/pom:instructions" \ +"sun.misc;resolution:=optional,com.sun.nio.file;resolution:=optional,*" + %pom_remove_dep "com.sun.net.httpserver:http" jetty-http-spi %pom_change_dep -r org.mortbay.jasper:apache-jsp org.apache.tomcat:tomcat-jasper From 45642aeb41c2b5a4d729797e25f4d9c0ffc0dfb221f0cf84d3991084f6cf37d9 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Tue, 19 Oct 2021 07:14:32 +0000 Subject: [PATCH 2/2] OBS-URL: https://build.opensuse.org/package/show/Java:packages/jetty-minimal?expand=0&rev=42 --- jetty-minimal.changes | 6 ++++++ jetty-unixsocket.changes | 6 ++++++ jetty-websocket.changes | 6 ++++++ 3 files changed, 18 insertions(+) diff --git a/jetty-minimal.changes b/jetty-minimal.changes index f9ea027..37f5073 100644 --- a/jetty-minimal.changes +++ b/jetty-minimal.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Oct 19 07:13:12 UTC 2021 - Fridrich Strba + +- Make importing of package sun.misc optional since not all jdk + versions export it + ------------------------------------------------------------------- Mon Jul 19 10:13:02 UTC 2021 - Fridrich Strba diff --git a/jetty-unixsocket.changes b/jetty-unixsocket.changes index 452bafc..24962c6 100644 --- a/jetty-unixsocket.changes +++ b/jetty-unixsocket.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Oct 19 07:13:12 UTC 2021 - Fridrich Strba + +- Make importing of package sun.misc optional since not all jdk + versions export it + ------------------------------------------------------------------- Mon Jul 19 10:11:08 UTC 2021 - Fridrich Strba diff --git a/jetty-websocket.changes b/jetty-websocket.changes index a241179..2a0961c 100644 --- a/jetty-websocket.changes +++ b/jetty-websocket.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Oct 19 07:13:12 UTC 2021 - Fridrich Strba + +- Make importing of package sun.misc optional since not all jdk + versions export it + ------------------------------------------------------------------- Mon Jul 19 06:58:23 UTC 2021 - Fridrich Strba