changeset 1892:e944184d6eda

Add missing patch. 2009-07-09 Andrew John Hughes <ahughes@redhat.com> * patches/ecj/icedtea-pr40616.patch: Add missing patch.
author Andrew John Hughes <ahughes@redhat.com>
date Thu, 09 Jul 2009 19:52:10 +0100
parents 3340f0afa232
children e2ff1b52131d
files ChangeLog patches/ecj/icedtea-pr40616.patch
diffstat 2 files changed, 20 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu Jul 09 16:43:16 2009 +0100
+++ b/ChangeLog	Thu Jul 09 19:52:10 2009 +0100
@@ -1,3 +1,8 @@
+2009-07-09  Andrew John Hughes  <ahughes@redhat.com>
+
+	* patches/ecj/icedtea-pr40616.patch:
+	Add missing patch.
+
 2009-07-09  Andrew John Hughes  <ahughes@redhat.com>
 
 	* Makefile.am:
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/ecj/icedtea-pr40616.patch	Thu Jul 09 19:52:10 2009 +0100
@@ -0,0 +1,15 @@
+diff -Nru openjdk-ecj.orig/jdk/make/tools/src/build/tools/charsetmapping/GenerateEUC_TW.java openjdk-ecj/jdk/make/tools/src/build/tools/charsetmapping/GenerateEUC_TW.java
+--- openjdk-ecj.orig/jdk/make/tools/src/build/tools/charsetmapping/GenerateEUC_TW.java	2009-07-02 12:04:10.000000000 +0100
++++ openjdk-ecj/jdk/make/tools/src/build/tools/charsetmapping/GenerateEUC_TW.java	2009-07-02 12:13:09.000000000 +0100
+@@ -36,8 +36,10 @@
+ public class GenerateEUC_TW {
+ 
+     public static void genEUC_TW(String args[]) throws Exception {
++        FileOutputStream fos =
++            new FileOutputStream(new File(args[1], "EUC_TWMapping.java"));
+         genClass(new FileInputStream(new File(args[0], "euc_tw.map")),
+-                 new PrintStream(new File(args[1], "EUC_TWMapping.java"), "ISO-8859-1"),
++                 new PrintStream(fos, false, "ISO-8859-1"),
+                  getCopyright(new File(args[3])));
+     }
+