diff --git a/ecj-rpmdebuginfo.patch b/ecj-rpmdebuginfo.patch index 931f884..c12e694 100644 --- a/ecj-rpmdebuginfo.patch +++ b/ecj-rpmdebuginfo.patch @@ -7,7 +7,7 @@ retrieving revision 1.327 diff -u -r1.327 Main.java --- batch/org/eclipse/jdt/internal/compiler/batch/Main.java 21 Apr 2008 15:00:59 -0000 1.327 +++ batch/org/eclipse/jdt/internal/compiler/batch/Main.java 20 Nov 2008 19:26:57 -0000 -@@ -2609,6 +2609,29 @@ +@@ -3097,6 +3097,29 @@ public void configure(String[] argv) { this.options.put(CompilerOptions.OPTION_Process_Annotations, CompilerOptions.ENABLED); } diff --git a/ecj.changes b/ecj.changes index 5b16387..55c5502 100644 --- a/ecj.changes +++ b/ecj.changes @@ -5,6 +5,8 @@ Sun Mar 20 13:35:05 UTC 2022 - Fridrich Strba * encoding.patch + the encoding needs to be set for all JDK versions - Modified patch: + * ecj-rpmdebuginfo.patch + + rediff * javaAPI.patch + extract the encoding part to a separate patch diff --git a/encoding.patch b/encoding.patch index cb16b42..7a90d0f 100644 --- a/encoding.patch +++ b/encoding.patch @@ -1,6 +1,6 @@ --- ecj-4.18.orig/build.xml 2022-03-20 14:23:39.947886348 +0100 +++ ecj-4.18/build.xml 2022-03-20 14:26:28.600913037 +0100 -@@ -27,6 +27,7 @@ +@@ -24,6 +24,7 @@ @@ -10,10 +10,7 @@ - - -