Skip to content

Commit

Permalink
Merge pull request #1 from polyglot-compiler/master
Browse files Browse the repository at this point in the history
fixing makefile bug where patches were applied after class file compi…
  • Loading branch information
Daniel Weber authored Oct 11, 2018
2 parents 92a9e78 + 4bae550 commit 90abe19
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 4 deletions.
2 changes: 1 addition & 1 deletion jdk/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ $(SRC)/patchstamp: | $(SRC)
@rm -f tmp.txt;
@date > $@

$(CLASSES)/cstamp: | $(SRC)
$(CLASSES)/cstamp: $(SRC)/patchstamp $(SRC)
@echo "Creating JDK class files"
@mkdir -p $(CLASSES)
@find $(SRC) -name "*.java" > all.txt
Expand Down
31 changes: 28 additions & 3 deletions jdk/patches/java/nio/charset/StandardCharsets.patch
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
--- src.orig/java/nio/charset/StandardCharsets.java 2018-07-23 14:01:15.000000000 -0400
+++ src/java/nio/charset/StandardCharsets.java 2018-07-23 14:18:12.000000000 -0400
@@ -41,26 +41,30 @@
--- src.orig/java/nio/charset/StandardCharsets.java 2018-10-11 16:26:48.859620877 -0400
+++ src/java/nio/charset/StandardCharsets.java 2018-10-11 16:32:21.167615891 -0400
@@ -1,3 +1,5 @@
+// This file's original contents have been modified
+// by a JLang patch on 2018-10-11 (the date this source code was compiled)
/*
* Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
@@ -41,26 +43,49 @@
* Seven-bit ASCII, a.k.a. ISO646-US, a.k.a. the Basic Latin block of the
* Unicode character set
*/
Expand All @@ -20,6 +26,25 @@
+ "UTF8",
+ "unicode-1-1-utf-8",
+ };
+
+ static final String[] aliases_ISO_8859_1 = new String[] {
+ "iso-ir-100",
+ "ISO_8859-1",
+ "latin1",
+ "l1",
+ "IBM819",
+ "cp819",
+ "csISOLatin1",
+ "819",
+ "IBM-819",
+ "ISO8859_1",
+ "ISO_8859-1:1987",
+ "ISO_8859_1",
+ "8859_1",
+ "ISO8859-1",
+ };
+
+
/**
* Sixteen-bit UCS Transformation Format, big-endian byte order
*/
Expand Down

0 comments on commit 90abe19

Please sign in to comment.