- added and applied Patch3, includeLambdas.patch to at least list lamdas untill fixed in upstream

This commit is contained in:
Jiri 2019-01-16 12:33:40 +01:00
commit f36bb9c637
2 changed files with 18 additions and 0 deletions

15
includeLambdas.patch Normal file
View file

@ -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<String> 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[]{});

View file

@ -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 <jvanek@redhat.com> - 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 <jvanek@redhat.com> - 2.0-3
- added depndence of fernflower decompiler