Hello community, here is the log from the commit of package swingx for openSUSE:Factory checked in at 2018-10-04 19:01:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/swingx (Old) and /work/SRC/openSUSE:Factory/.swingx.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "swingx" Thu Oct 4 19:01:18 2018 rev:17 rq:639669 version:0.9.4 Changes: -------- --- /work/SRC/openSUSE:Factory/swingx/swingx.changes 2017-09-20 17:12:07.830288896 +0200 +++ /work/SRC/openSUSE:Factory/.swingx.new/swingx.changes 2018-10-04 19:01:20.215213278 +0200 @@ -1,0 +2,7 @@ +Wed Oct 3 05:31:25 UTC 2018 - Fridrich Strba <[email protected]> + +- Added patch: + * swingx-0.9.4-toArray.patch + + Resolve ambiguity with a new toArray function added in jdk11 + +------------------------------------------------------------------- New: ---- swingx-0.9.4-toArray.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ swingx.spec ++++++ --- /var/tmp/diff_new_pack.QD16bj/_old 2018-10-04 19:01:21.015212439 +0200 +++ /var/tmp/diff_new_pack.QD16bj/_new 2018-10-04 19:01:21.019212435 +0200 @@ -1,7 +1,7 @@ # # spec file for package swingx # -# 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 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -20,7 +20,7 @@ Version: 0.9.4 Release: 0 Summary: A collection of Swing components -License: LGPL-2.0 +License: LGPL-2.0-only Group: Development/Libraries/Java Url: https://swingx.dev.java.net/ Source0: https://swingx.dev.java.net/files/documents/2981/110622/%{name}-%{version}-src.tar.bz2 @@ -32,6 +32,8 @@ Patch1: swingx-0.9.4-project-properties.patch # Don't do the "demo taglet" stuff Patch2: swingx-0.9.4-swinglabs-build-impl.patch +# Resolve the ambiguity of toArray in jdk11 +Patch3: swingx-0.9.4-toArray.patch BuildRequires: ant BuildRequires: batik BuildRequires: fdupes @@ -59,6 +61,7 @@ %patch0 -p1 %patch1 -p1 %patch2 -p1 +%patch3 -p1 rm -rf lib/ %build ++++++ swingx-0.9.4-toArray.patch ++++++ --- swingx-0.9.4-src/src/java/org/jdesktop/swingx/error/ErrorSupport.java 2008-09-07 06:10:24.000000000 +0200 +++ swingx-0.9.4-src/src/java/org/jdesktop/swingx/error/ErrorSupport.java 2018-10-03 07:20:59.784392455 +0200 @@ -68,7 +68,7 @@ * added. */ public ErrorListener[] getErrorListeners() { - return listeners.toArray(null); + return listeners.toArray(new ErrorListener[0]); } /**
