diff --git a/includeLambdas.patch b/includeLambdas.patch new file mode 100644 index 0000000..ca5c21c --- /dev/null +++ b/includeLambdas.patch @@ -0,0 +1,15 @@ +--- runtime-decompiler/src/main/java/org/jrd/backend/core/DecompilerRequestReceiver.java ++++ runtime-decompiler/src/main/java/org/jrd/backend/core/DecompilerRequestReceiver.java.nw +@@ -214,9 +214,9 @@ + list.removeAll(Arrays.asList("", null)); + List list1 = new ArrayList<>(); + for (String s : list) { +- if (!(s.contains("Lambda") | s.startsWith("["))){ ++// if (!(s.contains("Lambda") | s.startsWith("["))){ + list1.add(s); +- } ++// } + } + java.util.Collections.sort(list1); + return list1.toArray(new String[]{}); + diff --git a/java-runtime-decompiler.spec b/java-runtime-decompiler.spec index 68e4c6a..634d4ca 100644 --- a/java-runtime-decompiler.spec +++ b/java-runtime-decompiler.spec @@ -10,6 +10,7 @@ Source2: java-runtime-decompiler.1 Source3: jrd.desktop Patch1: systemFernflower.patch Patch2: systemProcyon.patch +Patch3: includeLambdas.patch BuildArch: noarch BuildRequires: maven-local BuildRequires: byteman @@ -36,6 +37,7 @@ This package contains the API documentation for %{name}. %setup -q -n %{name}-%{name}-%{version} %patch1 %patch2 +%patch3 %build pushd runtime-decompiler @@ -82,6 +84,7 @@ desktop-file-install --vendor="fedora" \ * Thu Jan 17 2019 Jiri Vanek - 2.0-4 - added depndence of procyon decompiler (currenlty under review - added and applied Patch2, systemProcyon.patch to enable system procyon out of thebox +- added and applied Patch3, includeLambdas.patch to at least list lamdas untill fixed in upstream * Thu Jan 10 2019 Jiri Vanek - 2.0-3 - added depndence of fernflower decompiler