summaryrefslogtreecommitdiffstats
path: root/patches/classpath-0.99/0002-Fix-unmappable-character-error.patch
blob: 1427ea3c1d929336c6adee29a7c743d147228b29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: =?UTF-8?q?Guillermo=20Rodr=C3=ADguez?= <guille.rodriguez@gmail.com>
Date: Thu, 22 Nov 2018 06:44:55 +0100
Subject: [PATCH] Fix unmappable character error

Fix unmappable character to make it possible to build when
default locale is not UTF-8.
---
 java/util/regex/Matcher.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/util/regex/Matcher.java b/java/util/regex/Matcher.java
index 8d033d5e3160..584d9a4f8c8e 100644
--- a/java/util/regex/Matcher.java
+++ b/java/util/regex/Matcher.java
@@ -620,7 +620,7 @@ public final class Matcher implements MatchResult
    *
    * @param s the string to literalize.
    * @return the literalized string.
-   * @since 1.5
+   * @since 1.5
    */
   public static String quoteReplacement(String s)
   {