Hello community,

here is the log from the commit of package junit for openSUSE:Factory checked 
in at 2018-07-24 17:32:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/junit (Old)
 and      /work/SRC/openSUSE:Factory/.junit.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "junit"

Tue Jul 24 17:32:46 2018 rev:22 rq:622094 version:4.11

Changes:
--------
--- /work/SRC/openSUSE:Factory/junit/junit.changes      2017-12-22 
12:17:03.247360784 +0100
+++ /work/SRC/openSUSE:Factory/.junit.new/junit.changes 2018-07-24 
17:32:49.668095353 +0200
@@ -1,0 +2,8 @@
+Wed Jul 11 14:52:48 UTC 2018 - [email protected]
+
+- Added patch:
+  * junit-jdk11.patch
+    + Fix build with jdk11
+    + Don't override removed SecurityManager methods
+
+-------------------------------------------------------------------

New:
----
  junit-jdk11.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ junit.spec ++++++
--- /var/tmp/diff_new_pack.mCjcbP/_old  2018-07-24 17:32:50.516096422 +0200
+++ /var/tmp/diff_new_pack.mCjcbP/_new  2018-07-24 17:32:50.520096426 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package junit
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -32,6 +32,7 @@
 Patch1:         junit-jdk8.patch
 Patch2:         junit-jdk9.patch
 Patch3:         junit-jdk10.patch
+Patch4:         junit-jdk11.patch
 BuildRequires:  ant
 BuildRequires:  fdupes
 BuildRequires:  hamcrest >= 1.3
@@ -87,6 +88,7 @@
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
 find . -type f -name "*.jar" -or -name "*.class" | xargs -t rm -rf
 

++++++ junit-jdk11.patch ++++++
--- junit-r4.11/src/test/java/org/junit/tests/running/core/MainRunner.java      
2012-11-13 21:10:09.000000000 +0100
+++ junit-r4.11/src/test/java/org/junit/tests/running/core/MainRunner.java      
2018-07-11 16:50:47.418496509 +0200
@@ -197,11 +197,6 @@
         }
 
         @Override
-        public boolean checkTopLevelWindow(Object window) {
-            return (originalSecurityManager == null) ? 
super.checkTopLevelWindow(window) : 
originalSecurityManager.checkTopLevelWindow(window);
-        }
-
-        @Override
         public void checkPrintJobAccess() {
             if (originalSecurityManager != null) {
                 originalSecurityManager.checkPrintJobAccess();
@@ -209,20 +204,6 @@
         }
 
         @Override
-        public void checkSystemClipboardAccess() {
-            if (originalSecurityManager != null) {
-                originalSecurityManager.checkSystemClipboardAccess();
-            }
-        }
-
-        @Override
-        public void checkAwtEventQueueAccess() {
-            if (originalSecurityManager != null) {
-                originalSecurityManager.checkAwtEventQueueAccess();
-            }
-        }
-
-        @Override
         public void checkPackageAccess(String pkg) {
             if (originalSecurityManager != null) {
                 originalSecurityManager.checkPackageAccess(pkg);
@@ -243,13 +224,6 @@
             }
         }
 
-        @Override
-        public void checkMemberAccess(Class<?> clazz, int which) {
-            if (originalSecurityManager != null) {
-                originalSecurityManager.checkMemberAccess(clazz, which);
-            }
-        }
-
         @Override
         public void checkSecurityAccess(String target) {
             if (originalSecurityManager != null) {

Reply via email to