File: 06_java8-compatibility.patch

package info (click to toggle)
libapache-poi-java 3.10.1-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 112,184 kB
  • ctags: 47,049
  • sloc: java: 305,148; xml: 43,554; makefile: 238; jsp: 85; ruby: 78; sh: 58; cpp: 17
file content (14 lines) | stat: -rw-r--r-- 516 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Description: Fixes a build failure with Java 8
Origin: upstream, https://svn.apache.org/r1575563
--- a/src/java/org/apache/poi/ss/util/DateFormatConverter.java
+++ b/src/java/org/apache/poi/ss/util/DateFormatConverter.java
@@ -322,6 +322,9 @@
 		result.put( "ga_ie", "[$-83C]" );
 		result.put( "in", "[$-0421]" );
 		result.put( "iw", "[$-40D]" );
+
+		// JDK 8 adds an empty locale-string, see also https://issues.apache.org/jira/browse/LANG-941
+		result.put( "", "[$-0409]" );
 		
 		return result;
 	}